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 EdDSA support for WebAuthn signatures #66

Open
conr2d opened this issue Jun 18, 2024 · 1 comment
Open

Add EdDSA support for WebAuthn signatures #66

conr2d opened this issue Jun 18, 2024 · 1 comment
Labels
K:web Web standards compatibility P:low Priority: Low

Comments

@conr2d
Copy link
Contributor

conr2d commented Jun 18, 2024

Currently, Noir only supports ES256 for WebAuthn signatures, as it is one of the default algorithms (ES256, RS256) commonly supported by browsers. To utilize the secp256r1 curve, Noir has introduced a dependency on p256.

It has been confirmed that the Chrome browser supports EdDSA. If the ed25519 curve can be used for WebAuthn signatures, it could reduce additional dependencies and enhance compatibility with existing account IDs. It is necessary to verify if other browsers have also added support for EdDSA and whether the implementation is compatible with what Substrate supports.

@conr2d
Copy link
Contributor Author

conr2d commented Oct 26, 2024

We cannot add custom host functions to Polkadot parachains, so adapt webauthn module to support ed25519.

@conr2d conr2d added P:low Priority: Low K:web Web standards compatibility labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
K:web Web standards compatibility P:low Priority: Low
Projects
None yet
Development

No branches or pull requests

1 participant