Decrypting file encrypted for multiple recipients using a given ID?

Remco Rijnders remco at webconquest.com
Mon Jul 12 08:30:25 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear all,

I have a file encrypted to two different User ID's, both for which I
have the public keys as well as the secret key. When I try to decrypt
the file, it always prompts me for the passphrase of user A, while I'd
like to decrypt it using the passphraseless key of user B.

I've tried various combinations of -u with and without exclamation mark,
but without success. How can I specify that the key of user B should be
used?

Thanks in advance,

Remco
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkw6toEACgkQP0wYCuTizascOACg1BOJw9gYi2Zy+CljpWMxBQL+
A6oAoMiQMSY9QiDbIurJlWzRSIZUeeG+
=+SkD
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list