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
Decrypting the file encrypted via this Java function seems to work, but I'm getting the following warning:
gpg: WARNING: cipher algorithm IDEA not found in recipient preferences
gpg: encrypted with 2048-bit RSA key, ID E34D465861FEBE98, created 2020-06-29
"Test User <[email protected]>"
This warning is not shown when the input file is encrypted via GNU gpg command line. Any idea why? What would be the equivalent of --recipient in Bouncy Castle? Couldn't find a way to specify this recipient in the encryption function. I wonder if that's the reason.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I wrote a PGP encryption Java function similar to the one provided in the example here:
bc-java/pg/src/main/java/org/bouncycastle/openpgp/examples/ByteArrayHandler.java
Line 119 in 92f2dd8
I want to use this function to mimic the current behaviour of encrypting via GNU gpg:
Decrypting the file encrypted via this Java function seems to work, but I'm getting the following warning:
This warning is not shown when the input file is encrypted via GNU gpg command line. Any idea why? What would be the equivalent of
--recipient
in Bouncy Castle? Couldn't find a way to specify this recipient in the encryption function. I wonder if that's the reason.Beta Was this translation helpful? Give feedback.
All reactions