Can I use RS256 to recover key pair? #166
Unanswered
vikinatora
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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!🙏
Beta Was this translation helpful? Give feedback.
All reactions