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 support for NIST P-256 curve #185

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

AlfioEmanueleFresta
Copy link

@AlfioEmanueleFresta AlfioEmanueleFresta commented Sep 28, 2024

Changes

Motivation

This curve is used for the Noise handshake in CTAP2 Hybrid Transport. This is the protocol used for browsers to access FIDO2 credentials (aka Passkeys) on roaming authenticators connected over the internet, such as phones running Android and iOS.

I'm using snow in my implementation of CTAP2, aimed at bringing Passkeys to the Linux desktop, see xdg-credentials-portal.

Tests

All commands below succeed:

$ cargo build --all-targets
$ cargo build --all-targets --features p256
$ cargo test --all-targets
$ cargo test --all-targets --features p256

@AlfioEmanueleFresta AlfioEmanueleFresta changed the title Add support for p256 Add support for NIST P-256 curve Sep 28, 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