How to decrypt a message while preserving the signature?

Tony Lane codeguro at gmail.com
Sun Nov 3 05:46:51 CET 2019


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


> Does GnuPG provide a mechanism to decrypt an encrypted-and-signed
> message in such a way that preserves the original signature, such that
> the original signature can be independently verified by an arbitrary
> third-party?

The term you're looking for is a detached signature.
You can create a detached signature (or any signature, really) only if
you possess the private key.
-----BEGIN PGP SIGNATURE-----

iLgEARMKAB0WIQQWZv6JZKxO310TWtXo8fj9gx4T0wUCXb5buwAKCRDo8fj9gx4T
0wcxAgkBsJUtcuXCPr6k/ed0eb7K4ep8vhVQlhKn1p7ropq87baL3hN0+Fg62Kef
naqh7InflnAzBJh/wcpaPa9yhjfVro8CB0XiF/JQUTZqOwbM9vHkgVSrSvDdRiAo
Sfz2Qjro2pIGs5Brgi9lYx0FdoyG44IadJTgd7MJvBhDJJJ5l4nD+l4Y
=hETr
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list