An undo is possible for keys we don't own, and therefore have not revoked.

doc_update_sequoia
Volker Birk 7 years ago
parent afe4a07cd7
commit 1c9399e8d1

@ -357,9 +357,16 @@ DYNAMIC_API PEP_STATUS key_reset_trust(
if (status != PEP_STATUS_OK)
return status;
ident->comm_type = PEP_ct_unknown;
if (ident->comm_type == PEP_ct_compromized)
ident->comm_type = PEP_ct_unknown;
else
ident->comm_type &= ~PEP_ct_confirmed;
status = set_identity(session, ident);
if (status != PEP_STATUS_OK)
return status;
status = update_identity(session, ident);
return status;
}

@ -140,7 +140,8 @@ DYNAMIC_API PEP_STATUS trust_personal_key(
);
// key_reset_trust() - undo trust_personal_key
// key_reset_trust() - undo trust_personal_key and key_compromized() for keys
// we don't own
//
// parameters:
// session (in) session to use

Loading…
Cancel
Save