-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hello 👋 ,
React Native doesn't support the crypto library, and currently, even the most complete polyfill importing and exporting ESDSA keys in spki format as seen here https://github.com/margelo/react-native-quick-crypto/blob/e782176c8fd6f2776990ebbea019d35c727a0eee/docs/implementation-coverage.md#subtleexportkey
What I did in my app was to fallback to parsing the public key from attestationObject as you've done for 1password, but I had to reimplement the entire createCredential method because to be able to do that.
I would suggest adding a check for those methods and falling back to parsing attestationObject. I can push a PR myself but I wanted to be sure I'm not missing something
hazelnutcloud and thomas779
Metadata
Metadata
Assignees
Labels
No labels