Decrypting file encrypted for multiple recipients using a given ID?
Joke de Buhr
joke at seiken.de
Mon Jul 12 10:37:56 CEST 2010
On Monday 12 July 2010 08:30:25 Remco Rijnders wrote:
> 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
> Thanks in advance,
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
Gnupg tries to decrypt with possible keys the order they appear in the
keyring. You could rebuild your keyring and reorder the keys.
But as an alternative just hit the ESC button or press cancel until the
password dialog shows the right key id. Enter that password.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 706 bytes
Desc: This is a digitally signed message part.
More information about the Gnupg-users