g10: Change the default TOFU policy for UTKs to good.
authorNeal H. Walfield <neal@g10code.com>
Wed, 14 Sep 2016 13:19:18 +0000 (15:19 +0200)
committerNeal H. Walfield <neal@g10code.com>
Wed, 14 Sep 2016 13:22:09 +0000 (15:22 +0200)
* g10/tofu.c (get_trust): Change the default TOFU policy for UTKs to
good.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>
g10/tofu.c

index 5c99b73..ed0d92c 100644 (file)
@@ -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;
               }