Function: pgg-read-passphrase

pgg-read-passphrase is a byte-compiled function defined in pgg.el.gz.

Signature

(pgg-read-passphrase PROMPT &optional KEY NOTRUNCATE)

Documentation

Using PROMPT, obtain passphrase for KEY from cache or user.

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 (prompt &optional key notruncate)
  "Using PROMPT, obtain passphrase for KEY from cache or user.

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."
  (or (pgg-read-passphrase-from-cache key notruncate)
      (read-passwd prompt)))