Subject: Re: bug#20030: plstore caches invalid passphrases
From: Daiki Ueno <[email-masked]>
To: Jonas Bernoulli <[email-masked]>
Cc: [email-masked]
Date: Tue, 31 Mar 2015 10:17:49 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

Jonas Bernoulli <[email-masked]> writes:

> When using symmetric encryption and
> `plstore-cache-passphrase-for-symmetric-encryption' is non-nil,
> `plstore-passphrase-callback-function' stores the passphrase entered
> by the user in `plstore-passphrase-alist'.  This happens *before* the
> passphrase is used to decrypt, and if it turns out that it was wrong,
> then it is *not* removed from the cache.

Thanks, good catch.  I've installed a fix:
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=2e4b0c98