Skip to content

Fix certificate signature algorithm#165

Merged
JingMatrix merged 1 commit intomainfrom
merge
Mar 21, 2026
Merged

Fix certificate signature algorithm#165
JingMatrix merged 1 commit intomainfrom
merge

Conversation

@JingMatrix
Copy link
Copy Markdown
Owner

The signing algorithm for the leaf certificate must match the signing key's type (from keybox or attestation key), not the subject key's algorithm.

An EC attestation key signing an RSA subject key's certificate would previously select SHA256withRSA (wrong) instead of SHA256withECDSA, producing an invalid or failing certificate.

The signing algorithm for the leaf certificate must match the signing key's type (from keybox or attestation key), not the subject key's algorithm.

An EC attestation key signing an RSA subject key's certificate would previously select SHA256withRSA (wrong) instead of SHA256withECDSA, producing an invalid or failing certificate.
@JingMatrix JingMatrix merged commit 8c74958 into main Mar 21, 2026
1 check passed
@JingMatrix
Copy link
Copy Markdown
Owner Author

Also fixed independently in fork: Enginex0@b23faed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants