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@g10code.com>
This commit is contained in:
Neal H. Walfield 2016-09-14 15:19:18 +02:00
parent 9d62b79e62
commit ca91caabb5
1 changed files with 2 additions and 2 deletions

View 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;
}