Draft
Conversation
added 6 commits
September 10, 2025 11:32
the new FIDO2 platform is not meant to be used standalone but only as an additional factor on top of existing platforms that support it.
platforms that implement the FIDO2ProviderInterface will need to implement the GetSymmetricKey function which will be used by the FIDO2 platform in order to retrieve a symmetric key. This symmetric key will then be used in conjuction with a FIDO2 authenticator to derive the final symmetric key which will be used for unlocking the disk unlocking key. Platform agnostic API's Keydata was extended with a new function RecoverFIDO2Salt() which will call the handler's GetSymmetricKey if the KeyData indicates that its handler is a platform which requires FIDO2.
the tpm2-fido2 platform extends the existing plain tpm2 platform to add support for FIDO2 authenticators. It is essentially implemented as a shim platform which first unseals the necessary key material from the TPM and then passes it on to the FIDO2 platform in order to get the final key material required for unlocking the disk unlocking key.
6af5ddd to
6bbec62
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Opening it as a draft to get comments on the overall architecture.
Things that are still being worked on:
Jira: https://warthogs.atlassian.net/browse/FR-11176