Skip to content

Improve TPM pubArea parsing - #822

Merged
MasterKale merged 3 commits into
masterfrom
fix/818-improve-tpm-pubarea-parsing
Oct 28, 2026
Merged

MasterKale merged 3 commits into
masterfrom
fix/818-improve-tpm-pubarea-parsing

Conversation

@MasterKale

Copy link
Copy Markdown
Owner

This PR makes TPM pubArea parsing smarter about parsing the details that may be specified for a non-TPM_ALG_NULL scheme.

#818 specifically called out the following test in FIDO Conformance v1.9.1 as one that can be confirm the fix:

P-4 Send a valid ServerAuthenticatorAttestationResponse with "tpm" attestation for "ALG_SIGN_SECP256R1_ECDSA_SHA256_RAW" aka "ES256" algorithm, and check that server succeeds

I've confirmed that this fix now passes this test in Conformance v1.9.3:

Screenshot 2026-10-28 at 3 47 39 PM

Fixes #818.

@MasterKale MasterKale added the package:server @simplewebauthn/server label Oct 28, 2026
@MasterKale
MasterKale merged commit 8f41b23 into master Oct 28, 2026
15 checks passed
@MasterKale
MasterKale deleted the fix/818-improve-tpm-pubarea-parsing branch October 28, 2026 22:52
@Bccorb

Bccorb commented Nov 1, 2026

Copy link
Copy Markdown

Excellent!

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

Labels

package:server @simplewebauthn/server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TPM attestation: parsePubArea misreads an ECC pubArea whose scheme is not TPM_ALG_NULL

2 participants