Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I encrypt a message with GnuPG so that PGP is able to decrypt it?

0
10 Posted

How can I encrypt a message with GnuPG so that PGP is able to decrypt it?

0

It depends on the PGP version. • PGP 2.x You can’t do that because PGP 2.x normally uses IDEA which is not supported by GnuPG as it is patented (see 3.3), but if you have a modified version of PGP you can try this: $ gpg –rfc1991 –cipher-algo 3des … Please don’t pipe the data to encrypt to gpg but provide it using a filename; otherwise, PGP 2 will not be able to handle it. As for conventional encryption, you can’t do this for PGP 2. • PGP 5.x and higher You need to provide two additional options: –compress-algo 1 –cipher-algo cast5 You may also use “3des” instead of “cast5”, and “blowfish” does not work with all versions of PGP 5. You may also want to put: compress-algo 1 into your ~/.gnupg/options file – this does not affect normal GnuPG operation. This applies to conventional encryption as well.

0
10

It depends on the PGP version. • PGP 2.x You can’t do that because PGP 2.x normally uses IDEA which is not supported by GnuPG as it is patented (see 3.3), but if you have a modified version of PGP you can try this: gpg –rfc1991 –cipher-algo 3des … Please don’t pipe the data to encrypt to gpg but provide it using a filename; otherwise, PGP 2 will not be able to handle it. As for conventional encryption, you can’t do this for PGP 2. • PGP 5.x and higher You need to provide two additional options: –compress-algo 1 –cipher-algo cast5 You may also use “3des” instead of “cast5”, “blowfish” does not work with all versions of pgp5. You may also want to put compress-algo 1 into your ~/.gnupg/options file – this does not affect normal gnupg operation. This applies to conventional encryption as well.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.