isolating the signature from encrypted data (was: sign encrypted emails)

Hauke Laging mailinglisten at
Mon Jan 6 03:24:10 CET 2014

Am Mo 06.01.2014, 01:47:39 schrieb MFPA:

> Most "signed and encrypted" messages created with PGP or GnuPG have
> the two processes applied together - you do not normally decrypt a
> message and then see a signed message as the output.

That is correct. I am not aware of a possibility to get the data and the 
signature from GnuPG. But that doesn't mean it's not possible. AFAIK 
there is no difference in the signature in both cases. So it should be 
easy to patch GnuPG in order to get this data (if there isn't another 
OpenPGP implementation which offers this action).

Use both ways (one step, two steps) to sign and encrypt a file and have 
a look at the result with gpg --list-packets.

Crypto für alle:
OpenPGP: 7D82 FB9F D25A 2CE4 5241 6C37 BF4B 8EEF 1A57 1DF5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 572 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20140106/d5d4993e/attachment.sig>

More information about the Gnupg-users mailing list