• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/lisp/

Lines Matching defs:passphrase

96 (defvar pgg-passphrase-cache (make-vector 7 0))
104 (defun pgg-read-passphrase (prompt &optional key notruncate)
105 "Using PROMPT, obtain passphrase for KEY from cache or user.
110 Custom variables `pgg-cache-passphrase' and `pgg-passphrase-cache-expiry'
112 (or (pgg-read-passphrase-from-cache key notruncate)
115 (defun pgg-read-passphrase-from-cache (key &optional notruncate)
116 "Obtain passphrase for KEY from time-limited passphrase cache.
121 Custom variables `pgg-cache-passphrase' and `pgg-passphrase-cache-expiry'
123 (and pgg-cache-passphrase
126 (symbol-value (intern-soft key pgg-passphrase-cache))))
128 (defun pgg-add-passphrase-to-cache (key passphrase &optional notruncate)
129 "Associate KEY with PASSPHRASE in time-limited passphrase cache.
134 Custom variables `pgg-cache-passphrase' and `pgg-passphrase-cache-expiry'
144 (set (intern key pgg-passphrase-cache)
145 passphrase)
147 (pgg-run-at-time pgg-passphrase-cache-expiry nil
148 #'pgg-remove-passphrase-from-cache
156 (defun pgg-remove-passphrase-from-cache (key &optional notruncate)
157 "Omit passphrase associated with KEY in time-limited passphrase cache.
164 The memory for the passphrase is filled with underscores to clear any
167 Custom variables `pgg-cache-passphrase' and `pgg-passphrase-cache-expiry'
169 (let* ((passphrase (pgg-read-passphrase-from-cache key notruncate))
173 (when passphrase
174 (pgg-clear-string passphrase)
175 (unintern key pgg-passphrase-cache))
308 (defun pgg-encrypt-region (start end rcpts &optional sign passphrase)
314 passphrase cache or user."
321 (point-min) (point-max) rcpts sign passphrase))))
327 (defun pgg-encrypt-symmetric-region (start end &optional passphrase)
328 "Encrypt the current region between START and END symmetric with passphrase.
337 (point-min) (point-max) passphrase))))
343 (defun pgg-encrypt-symmetric (&optional start end passphrase)
350 passphrase cache or user."
354 (status (pgg-encrypt-symmetric-region start end passphrase)))
360 (defun pgg-encrypt (rcpts &optional sign start end passphrase)
369 passphrase cache or user."
373 (status (pgg-encrypt-region start end rcpts sign passphrase)))
379 (defun pgg-decrypt-region (start end &optional passphrase)
383 passphrase cache or user."
389 (point-min) (point-max) passphrase))))
395 (defun pgg-decrypt (&optional start end passphrase)
402 passphrase cache or user."
406 (status (pgg-decrypt-region start end passphrase)))
412 (defun pgg-sign-region (start end &optional cleartext passphrase)
422 passphrase cache or user."
428 passphrase))))
434 (defun pgg-sign (&optional cleartext start end passphrase)
447 passphrase cache or user."
453 passphrase)))