[Pkg-gnupg-commit] [gnupg2] 106/118: g10: Change the default TOFU policy for UTKs to good.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Sep 15 18:25:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch encoding-and-speling
in repository gnupg2.

commit ca91caabb5798f67c69ee96657c7cb402e7db0df
Author: Neal H. Walfield <neal at g10code.com>
Date:   Wed Sep 14 15:19:18 2016 +0200

    g10: Change the default TOFU policy for UTKs to good.
    
    * g10/tofu.c (get_trust): Change the default TOFU policy for UTKs to
    good.
    
    --
    Signed-off-by: Neal H. Walfield <neal at g10code.com>
---
 g10/tofu.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/g10/tofu.c b/g10/tofu.c
index 5c99b73..ed0d92c 100644
--- a/g10/tofu.c
+++ b/g10/tofu.c
@@ -2085,10 +2085,10 @@ get_trust (ctrl_t ctrl, PKT_public_key *pk,
         if (policy == TOFU_POLICY_NONE)
           {
             if (record_binding (dbs, fingerprint, email, user_id,
-                                TOFU_POLICY_AUTO, 0, now) != 0)
+                                TOFU_POLICY_GOOD, 0, now) != 0)
               {
                 log_error (_("error setting TOFU binding's trust level"
-                             " to %s\n"), "auto");
+                             " to %s\n"), "good");
                 trust_level = _tofu_GET_TRUST_ERROR;
                 goto out;
               }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list