-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Description
What's happening?
On https://github.com/margelo/react-native-quick-crypto/blob/main/packages/react-native-quick-crypto/src/ed.ts
Is return Promise missing on line 19?
Reproducible Code
var ed1 = new Ed('ed25519', {});
var p = await ed1.generateKeyPair();
const priv = ed1.getPrivateKey();
console.log(priv);Relevant log output
[Error: EdKeyPair.getPrivateKey(...): Keypair not initialized]Device
ios real device, latest ios, xcode and expo
QuickCrypto Version
- beta 9
Can you reproduce this issue in the QuickCrypto Example app?
Yes, I can reproduce the same issue in the Example app here
Additional information
- I am using Expo
- I have read the Troubleshooting Guide
- I agree to follow this project's Code of Conduct
- I searched for similar issues in this repository and found none.
Metadata
Metadata
Assignees
Labels
No labels