-
Notifications
You must be signed in to change notification settings - Fork 99
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
Error: Failed to read private key #118
Comments
Very confused by this. Inputs to the
Logging out
These inputs are identical regardless of whether it is successful or not. I can't work out why |
Managed to narrow down the trigger to calling Error is reproduced here: https://github.com/elliotsayes/RnqcRepro - see the Readme for more details I have no Idea how to approach fixing this, would appreciate any assistance @mrousavy |
hmm, wdyt @Szymon20000 ? |
I found the same issue, as long as I'm providing right passcode when using |
changing CIPHER_ALGORYTHM into RC4-HMAC-MD5 helps |
it seems like you found a solution, thank you for reporting this problem :) |
I’m sorry what is the solution? |
@Montchy it seems like the report is legit, and a reproduction was provided. We need to test if we can reproduce using the reproduction. I am going to reopen this ticket. |
Happens intermittently, even though I'm using the same key each time.
Seems to happen if I have already called some combination of
pbkdf2Sync
,createDecipheriv
... Will post steps to reproduce at some point.Exception happens at: https://github.com/margelo/react-native-quick-crypto/blob/main/src/sig.ts#L154
Full trace:
The text was updated successfully, but these errors were encountered: