emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 93e1f7c: Fix saving certificates in the NSM on high


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 93e1f7c: Fix saving certificates in the NSM on high security levels
Date: Mon, 15 Jul 2019 14:33:03 -0400 (EDT)

branch: master
commit 93e1f7c66f77827bcad7a5636c3edcff685ca19e
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Fix saving certificates in the NSM on high security levels
    
    * lisp/net/nsm.el (nsm-check-certificate): `nsm-fingerprint-ok-p'
    will save the fingerprint in the correct temporary/permanent
    storage, so saving it once more (in the permanent storage) if the
    security level is high or greater is a mistake (bug#27823).
---
 lisp/net/nsm.el | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/lisp/net/nsm.el b/lisp/net/nsm.el
index 6a312e2..dbfa210 100644
--- a/lisp/net/nsm.el
+++ b/lisp/net/nsm.el
@@ -149,11 +149,6 @@ unencrypted."
             (not (nsm-new-fingerprint-ok-p host port status)))
        (delete-process process)
        nil)
-       ((>= (nsm-level network-security-level) (nsm-level 'high))
-       ;; Save the host fingerprint so that we can check it the
-       ;; next time we connect.
-       (nsm-save-host host port status 'fingerprint 'always)
-       process)
        (t
        process)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]