You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encrypting content with flutter-openpgp and trying to decrypt it in a java application using bouncycastle openpgp.
Bouncycastle openpgp throws this error:
java.lang.ClassCastException: org.bouncycastle.openpgp.PGPLiteralData cannot be cast to org.bouncycastle.openpgp.PGPCompressedData
java.lang.ClassCastException: org.bouncycastle.openpgp.PGPLiteralData cannot be cast to org.bouncycastle.openpgp.PGPCompressedData
I can decrypt the content using linux cli tools, so the content should be fine. Is there a way to encrypt content with flutter-openpgp so that it becomes PGPCompressedData instead of PGPLiteralData?
Thank you!
The text was updated successfully, but these errors were encountered:
Hi @volmus thanks for report the issue, I have not tried in java with that library, but I think I can help to make it work, would be great if you could share a small java project with a single call to decrypt, so if you have something like that should be great, from my side im gonna be testing with more options for encrypt method
Hi!
I'm encrypting content with flutter-openpgp and trying to decrypt it in a java application using bouncycastle openpgp.
Bouncycastle openpgp throws this error:
I can decrypt the content using linux cli tools, so the content should be fine. Is there a way to encrypt content with flutter-openpgp so that it becomes
PGPCompressedData
instead ofPGPLiteralData
?Thank you!
The text was updated successfully, but these errors were encountered: