Home GnuPG
Diffusion GPGME 6a6d2a276484

cpp: Make signatures belonging to the same user ID sortable

Description

cpp: Make signatures belonging to the same user ID sortable

lang/cpp/src/key.h, lang/cpp/src/key.cpp (UserID::Signature::operator<):
New.

lang/cpp/src/key.cpp (signature_index): New.

operator< defines a canonical sort order for signatures belonging to
the same user ID. It is based on the sort order defined by
cmp_signodes() in g10/keylist.c of gnupg. In particular, the ordering
of signatures made with the same key by creation time allows to see
easily whether the most recent signature is a certification or a
revocation.

recent

Details

Provenance
ikloeckerAuthored on Nov 3 2020, 8:59 AM
Parents
rMf042739d3a2e: qt: Add support for revoke signature quick command
Branches
Unknown
Tags
Unknown
Tasks
T5094: Kleopatra: Add "revsig" support