Fix bug in handling GnuPG's TRUST_MARGINAL status

* lisp/epg.el (epg--status-TRUST_MARGINAL): Change symbol `marginal'
to `good'.
This commit is contained in:
Teemu Likonen 2017-06-25 20:50:54 +03:00
parent 53777093c1
commit 1771d9b808
No known key found for this signature in database
GPG key ID: 933A35041E7EAD51

View file

@ -1047,7 +1047,7 @@ callback data (if any)."
(defun epg--status-TRUST_MARGINAL (context _string)
(let ((signature (car (epg-context-result-for context 'verify))))
(if (and signature
(eq (epg-signature-status signature) 'marginal))
(eq (epg-signature-status signature) 'good))
(setf (epg-signature-validity signature) 'marginal))))
(defun epg--status-TRUST_FULLY (context _string)