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

Can I use RS256 to recover key pair? #167

Open
vikinatora opened this issue Mar 21, 2024 Discussed in #166 · 0 comments
Open

Can I use RS256 to recover key pair? #167

vikinatora opened this issue Mar 21, 2024 Discussed in #166 · 0 comments
Labels

Comments

@vikinatora
Copy link

Discussed in #166

Originally posted by vikinatora March 21, 2024
Hello, we're working on client facing JS library for interacting with NEAR blockchain. Currently, we have successfully implemented functionality that creates a key pair using fido2 and can recover the key pair using the ES256 signature from attestationResult. However, some Windows machines use RS256 algortihm for signing which breaks the logic.

This is the file with our main biometric logic: https://github.com/near/near-api-js/blob/master/packages/biometric-ed25519/src/index.ts.

My question whether our use case is possible to be fulfilled when the signature is made using RS256 algorihm? Please let me know if you need more info regarding anything.

Thanks in advance!🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants