Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

supplementalPubKeys attestation incompatible with most verification procedures #2075

Open
emlun opened this issue May 20, 2024 · 0 comments
Open
Assignees
Labels

Comments

@emlun
Copy link
Member

emlun commented May 20, 2024

The supplementalPubKeys extension states for its attestation signing procedure:

Therefore when calculating an attestation for a supplemental public key, the inputs are:

  • For authData, substitute the concatenation of the byte string h’737570706c656d656e74616c5075624b657973206174746573746174696f6e2e00ffffffff' and the value of aaguid from the extension output.
  • For hash, substitute the concatenation of the spk and nonce fields from the extension output. (The nonce MAY be empty.)

However, this is incompatible with most of the attestation verification procedures since most of them extract one or more fields from the authData argument:

So existing implementations of these verification procedures may fail to verify a supplementalPubKeys attestation. The extension may need to specify modifications to the verification procedures, or adjust the extension's signing procedure to take arguments with the same structure as the original signing procedures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants