1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-09 12:54:23 +01:00
David Shaw dbe415ea61 * keydb.h, passphrase.c (next_to_last_passphrase): New. "Touch" a
passphrase as if it was used (move from next_pw to last_pw).

* pubkey-enc.c (get_session_key): Use it here to handle the case where a
passphrase happens to be correct for a secret key, but yet that key isn't
the anonymous recipient (i.e. the secret key could be decrypted, but not
the session key).  This also handles the case where a secret key is
located on a card and a secret key with no passphrase.  Note this does not
fix bug 594 (anonymous recipients on smartcard do not work) - it just
prevents the anonymous search from stopping when the card is encountered.
2006-01-17 20:55:53 +00:00
..
2005-10-27 09:14:27 +00:00
2005-07-27 18:10:56 +00:00
2005-07-27 18:10:56 +00:00
2005-10-05 16:58:50 +00:00
2005-12-20 20:19:16 +00:00
2005-07-27 18:10:56 +00:00
2005-07-27 18:10:56 +00:00
2005-07-27 18:10:56 +00:00
2005-07-27 18:10:56 +00:00
2005-10-05 16:58:50 +00:00
2005-12-20 20:19:16 +00:00
2005-10-05 16:58:50 +00:00
2005-07-27 18:10:56 +00:00
2005-07-27 18:10:56 +00:00
2005-12-20 20:19:16 +00:00
2005-12-20 20:19:16 +00:00
2005-07-27 18:10:56 +00:00
2005-12-20 20:19:16 +00:00
2005-07-27 18:10:56 +00:00