Skip to content

Append all supported COSE algorithms in CoseKey.supported_algorithms() - #297

Open
emlun wants to merge 4 commits into
mainfrom
missing-supported-algorithms
Open

emlun wants to merge 4 commits into
mainfrom
missing-supported-algorithms

Conversation

@emlun

@emlun emlun commented Oct 20, 2026

Copy link
Copy Markdown
Member

Some algorithms were missing from CoseKey.supported_algorithms(): ESP256-512, Ed25519/448 and RS1 (also ARKG-P256, but it is not suitable as a FIDO2 credential algorithm). This change ensures that all CoseKey classes are listed as supported (unless tagged with _UNSUITABLE_AS_FIDO2_CREDENTIAL_ALGORITHM), while maintaining the current explicit list of algorithms as the preference order.

Since Fido2Server.allowed_algorithms is set from CoseKey.supported_algorithms() by default, and the class provides no explicit option to configure it, this is needed in order for those missing algorithms to be available when using Fido2Server.register_begin to generate request parameters.

@emlun
emlun requested a review from dainnilsson October 20, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant