Function: pgg-read-passphrase-from-cache
pgg-read-passphrase-from-cache is a byte-compiled function defined in
pgg.el.gz.
Signature
(pgg-read-passphrase-from-cache KEY &optional NOTRUNCATE)
Documentation
Obtain passphrase for KEY from time-limited passphrase cache.
Truncate the key to 8 trailing characters unless NOTRUNCATE is true
(default false).
Custom variables pgg-cache-passphrase and pgg-passphrase-cache-expiry
regulate cache behavior.
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/pgg.el.gz
(defun pgg-read-passphrase-from-cache (key &optional notruncate)
"Obtain passphrase for KEY from time-limited passphrase cache.
Truncate the key to 8 trailing characters unless NOTRUNCATE is true
\(default false).
Custom variables `pgg-cache-passphrase' and `pgg-passphrase-cache-expiry'
regulate cache behavior."
(and pgg-cache-passphrase
key (or notruncate
(setq key (pgg-truncate-key-identifier key)))
(symbol-value (intern-soft key pgg-passphrase-cache))))