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 > used? > > Thanks in advance, > > Remco > > _______________________________________________ > Gnupg-users mailing list > [email protected] > http://lists.gnupg.org/mailman/listinfo/gnupg-users
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.
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Gnupg-users mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnupg-users
