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

Add attestation for sign public key #4

Closed
wants to merge 1 commit into from

Conversation

emlun
Copy link
Owner

@emlun emlun commented May 21, 2024

@ve7jtb Does this look like a sensible way to implement attestation for the signing keys?

I chose to reuse the existing attestation object structure rather than invent yet another attestation statement format to improve the chances for this to be compatible with existing TPM hardware and such. This also keeps the internal structure of the attestation signing procedure parameters since I noticed that not doing that leads to incompatibility issues (see w3c#2075). This way, RPs should be able to reuse existing implementations of the attestation verification procedures and only pass new arguments to them.

One major drawback of this design is that it duplicates a lot of data between the parent attestation and the signing key attestation, most notably the x5c field of most attestation statements. I checked and saw that my YubiKey 5 generates an attestation object of ~1080 bytes, so this could double that.

We probably could prune the embedded attestation object and have the client and/or RP re-assemble it from other copies of the constituent data, but I didn't want to get into quite that much complexity just yet.

@emlun
Copy link
Owner Author

emlun commented Oct 7, 2024

Superseded by w3c#2078.

@emlun emlun closed this Oct 7, 2024
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.

1 participant