summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2016-09-28 20:30:21 -0600
committerEduardo Chappa <chappa@washington.edu>2016-09-28 20:30:21 -0600
commit9675e266e051c74f479ecb9e1ee4246e98fd8dad (patch)
treea9cf3c9868a564d6b29980d38e0b93042a4caf4b
parent9ad9ae7ccf5862ae06ab65727d194d8ab7216f64 (diff)
downloadalpine-9675e266e051c74f479ecb9e1ee4246e98fd8dad.tar.xz
* S/MIME: If the option "Remember S/MIME Passphrase" is disabled, then
entering a password to read an encrypted message will make Alpine forget the key and not ask the password to unlock it again in case it is necessary to unlock it again. Reported by Ulf-Dietrich Braumann.
-rw-r--r--pith/pine.hlp8
-rw-r--r--pith/smime.c1
2 files changed, 8 insertions, 1 deletions
diff --git a/pith/pine.hlp b/pith/pine.hlp
index 94fee011..fca474c1 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any
reasonable place to be called from.
Dummy change to get revision in pine.hlp
============= h_revision =================
-Alpine Commit 170 2016-09-19 02:42:27
+Alpine Commit 171 2016-09-28 20:29:17
============= h_news =================
<HTML>
<HEAD>
@@ -400,6 +400,12 @@ Bugs that have been addressed include:
of the certificate to lowercase, which may make Alpine not be able
to read such certificate. Reported by Dennis Davis.
+ <LI> SMIME: If the option "Remember S/MIME Passphrase" is disabled, then
+ entering a password to read an encrypted message will make Alpine
+ forget the key and not ask the password to unlock it again in case
+ it is necessary to unlock it again. Reported by Ulf-Dietrich
+ Braumann.
+
<LI> Alpine would use freed memory while trying to compute the color
of the titlebar. This happened when trying to continue a postponed
message.
diff --git a/pith/smime.c b/pith/smime.c
index 389ce012..ba98506f 100644
--- a/pith/smime.c
+++ b/pith/smime.c
@@ -986,6 +986,7 @@ forget_private_keys(void)
dprint((9, "forget_private_keys()"));
if(ps_global->smime){
+ ps_global->smime->already_auto_asked = 0;
for(pcert=(PERSONAL_CERT *) ps_global->smime->personal_certs;
pcert;
pcert=pcert->next){