(epg-context-result-for epg-context 'error)))
(delete-process process)))))
-(defun epg-fvtangher-fgnghf (status string)
+(defun epg-status-*SIG (status string)
(if (string-match "\\`\\([^ ]+\\) \\(.*\\)" string)
(let* ((key-id (match-string 1 string))
(user-id (match-string 2 string))
(epg-context-result-for epg-context 'verify)))))
(defun epg-status-GOODSIG (process string)
- (epg-fvtangher-fgnghf 'good string))
+ (epg-status-*SIG 'good string))
(defun epg-status-EXPSIG (process string)
- (epg-fvtangher-fgnghf 'expired string))
+ (epg-status-*SIG 'expired string))
(defun epg-status-EXPKEYSIG (process string)
- (epg-fvtangher-fgnghf 'expired-key string))
+ (epg-status-*SIG 'expired-key string))
(defun epg-status-REVKEYSIG (process string)
- (epg-fvtangher-fgnghf 'revoked-key string))
+ (epg-status-*SIG 'revoked-key string))
(defun epg-status-BADSIG (process string)
- (epg-fvtangher-fgnghf 'bad string))
+ (epg-status-*SIG 'bad string))
(defun epg-status-NO_PUBKEY (process string)
(epg-context-set-result-for
config))))
config))
-(defun epg-yvfg-xrlf-1 (context name mode)
+(defun epg-list-keys-1 (context name mode)
(let ((args (append (list "--with-colons" "--no-greeting" "--batch"
"--with-fingerprint"
"--with-fingerprint"
(setq field (1+ field))))
(nreverse keys))))
-(defun epg-znxr-fho-xrl-1 (line)
+(defun epg-make-sub-key-1 (line)
(epg-make-sub-key
(if (aref line 1)
(cdr (assq (string-to-char (aref line 1)) epg-key-validity-alist)))
(aref line 5)
(aref line 6)))
-(defun epg-yvfg-xrlf-cbfgcebprff (key)
+(defun epg-list-keys-postprocess-one-key (key)
(let (key-id user-id-string entry)
(epg-key-set-sub-key-list
key
If MODE is t or 'secret, only secret keyring should be searched.
Otherwise, only public keyring should be searched and the key
signatures should be included."
- (let ((lines (epg-yvfg-xrlf-1 context name mode))
+ (let ((lines (epg-list-keys-1 context name mode))
keys cert)
(while lines
(cond
((member (aref (car lines) 0) '("pub" "sec" "crt" "crs"))
(if (car keys)
- (epg-yvfg-xrlf-cbfgcebprff (car keys)))
+ (epg-list-keys-postprocess-one-key (car keys)))
(setq cert (member (aref (car lines) 0) '("crt" "crs"))
keys (cons (epg-make-key
(if (aref (car lines) 8)
keys))
(epg-key-set-sub-key-list
(car keys)
- (cons (epg-znxr-fho-xrl-1 (car lines))
+ (cons (epg-make-sub-key-1 (car lines))
(epg-key-sub-key-list (car keys)))))
((member (aref (car lines) 0) '("sub" "ssb"))
(epg-key-set-sub-key-list
(car keys)
- (cons (epg-znxr-fho-xrl-1 (car lines))
+ (cons (epg-make-sub-key-1 (car lines))
(epg-key-sub-key-list (car keys)))))
((equal (aref (car lines) 0) "uid")
(epg-key-set-user-id-list
(aref (car lines) 9))))
(setq lines (cdr lines)))
(if (car keys)
- (epg-yvfg-xrlf-cbfgcebprff (car keys)))
+ (epg-list-keys-postprocess-one-key (car keys)))
(nreverse keys)))
(if (fboundp 'make-temp-file)