-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Cannot decrypt bytes and giving vague error message #77
Comments
Hi, thanks for report this issue, which version are you using, we added a toString method a few months ago https://github.com/jerson/flutter-openpgp/blob/master/lib/openpgp.dart#L15 |
I am using version 3.6.0, also here is the decryption code which works for a single packet but not multiple
|
I updated the code to version 3.8.3 and am now getting this error : OpenPGPException: openpgp: invalid signature: MDC hash mismatch , how do I fix this? |
Hi, I am using your library to encrypt and decrypt bytes within packets, it works successfully when Im working with a single packet, however when I fragment and split up the encrypted packet, then reassemble it to decrypt it on another device,
I get this error:
Instance of 'OpenPGPException'
. I also get this error when i split the packet into fragments first, and then encrypt the individual fragments, i get this error when decrypting the individual fragments aswell so I dont believe it is a fragmentation issue. Could you please help explain what this error means, as it works correctly with single packets but not with any once there is fragmentation. This is my section of code where I am decrypting it :
And this is where I am encrypting it
Thank you for the help :)
The text was updated successfully, but these errors were encountered: