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

Return public key in JWK format (x,y) #8

Open
GabrielePrestifilippo opened this issue Mar 11, 2020 · 0 comments
Open

Return public key in JWK format (x,y) #8

GabrielePrestifilippo opened this issue Mar 11, 2020 · 0 comments

Comments

@GabrielePrestifilippo
Copy link

As of now the generateECPair returns a base64 public key.
However, common FIDO UAF implementations usually expect a JWK format, so an x,y.

In the native code, we already have access to those. Would you (@mvayngrib) consider an MR to return that as well? If so, any preference on how to get them (separate method, as an optional argument, as an additional field in the return value)

P.S. may I ask why is there an RCT_EXPORT_METHOD(test) in the iOS code?

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

No branches or pull requests

1 participant