You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add CTAP 2.2/2.3 info members to AuthenticatorInfo
This commit adds support for two new CTAP 2.2/2.3 members to the
AuthenticatorInfo class, matching the functionality added in the
Yubico Java SDK (yubikit-android PR #229):
- EncCredStoreState: Encrypted credential store state that platforms
can use to detect credential store changes across resets. This is
a 32-byte encrypted value (16-byte IV + 16-byte ciphertext).
- AuthenticatorConfigCommands: List of authenticator config commands
supported by the authenticator. Null indicates no support, while an
empty list means the command is supported but no specific commands
are available.
- GetCredStoreState(): New method to decrypt the credential store
state using a persistent PIN/UV authentication token. Uses HKDF-SHA-256
for key derivation and AES-128-CBC for decryption, following the same
pattern as the existing GetIdentifier() method.
The implementation uses CBOR map keys 0x1E and 0x1F for parsing these
fields from authenticatorGetInfo responses.
0 commit comments