projects
/
elisp
/
semi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4aabb15
)
(pgg-add-passphrase-cache): Use only four octets of the key.
author
ueno
<ueno>
Tue, 2 Nov 1999 21:04:23 +0000
(21:04 +0000)
committer
ueno
<ueno>
Tue, 2 Nov 1999 21:04:23 +0000
(21:04 +0000)
pgg.el
patch
|
blob
|
history
diff --git
a/pgg.el
b/pgg.el
index
1cc96c6
..
148806f
100644
(file)
--- a/
pgg.el
+++ b/
pgg.el
@@
-231,6
+231,7
@@
and END to the keyring.")
(funcall pgg-read-passphrase prompt)))
(defun pgg-add-passphrase-cache (key passphrase)
+ (setq key (if (> (length key) 8) (substring key 8) key))
(set (intern key pgg-passphrase-cache)
passphrase)
(run-at-time pgg-passphrase-cache-expiry nil