mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-30 16:17:02 +01:00
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:
parent
9d62b79e62
commit
ca91caabb5
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user