Sujet : Re: signcontrol.py bug in GnuPG options?
De : iulius (at) *nospam* nom-de-mon-site.com.invalid (Julien ÉLIE)
Groupes : news.admin.hierarchiesDate : 16. Jul 2025, 20:51:27
Autres entêtes
Organisation : Groupes francophones par TrigoFACILE
Message-ID : <1058vrv$2drti$2@news.trigofacile.com>
References : 1 2
User-Agent : Mozilla Thunderbird
Hi Richard,
The problem is the combination of ‘=’ and ‘ ‘. Either will work, but not
both.
The bug was introduced in commit d59c843f3259. The change was from
‘-u ID’ to ‘--local-user =ID’, when it should be either
‘--local=user=ID’ or ‘--local-user ID’.
"--local-user =ID" and "--local-user=ID" do not have the same meaning.
The leading equal sign means that GnuPG does an exact match on the user ID. Without the leading equal sign in "=ID", it searches a subpart, and then we may have several matching keys.
This commit fixed that, and made it coherent with a previous commit (0875c70) which added the leading equal sign in --export, --export-secret-keys, --delete-secret-and-public-key and --gen-revoke calls in the key management feature of signcontrol. We do not want to delete the wrong key!
-- Julien ÉLIE« First Guy (proudly): "My wife's an angel!" Second Guy: "You're lucky, mine's still alive." »
Haut de la page
Les messages affichés proviennent d'usenet.
NewsPortal