How to decrypt a message while preserving the signature?
peter at digitalbrains.com
Sun Nov 3 10:15:49 CET 2019
Werner recently mentioned an undocumented command for this.
On 27/08/2019 11:30, Werner Koch via Gnupg-users wrote:
> You can extra the signature from the encrypted+signed data:
> gpg --unwrap -d -o SIG <ENC+SIG
> and then run
> gpgv -o SIGNEDFILE SIG && echo verified!
> --unwrap is not documented and has the minor problem that it also keeps the
> compression layer. However, gpgv groks that compression layer and works
> as with a standard signature. The signature is on SIGNEDFILE which gpgv
> outputs for you.
I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <http://digitalbrains.com/2012/openpgp-key-peter>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: OpenPGP digital signature
More information about the Gnupg-users