Fingerprints and Key-IDs - Was: [PATCH] avoid publishing the GnuPG version by default
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Fri Aug 5 21:48:15 CEST 2016
On Fri 2016-08-05 15:39:47 -0400, ilf wrote:
> Werner Koch:
>>> How about removing the "keyid-format" option alltogether?
>> Nope. Breaks too many scripts.
>
> Well, the man-page sais about --list-public-keys:
>
> | Avoid using the output of this command in scripts or other programs as
> | it is likely to change as GnuPG changes. See --with-colons for a
> | machine-parseable key listing command that is appropriate for use in
> | scripts and other programs.
ilf, what are you asking for when you ask for removing the
"keyid-format" option altogether?
If we remove the parameter entirely, then everyone who has set it in
their config files will end up with an error:
gpg: invalid option "--keyid-format"
Surely that's not desirable.
So we could leave it in, have it consume its argument, but make it a
no-op, thereby explicitly not doing what the user has asked us to do.
That also doesn't seem desirable.
If you're talking about deprecating the option, that's another choice
entirely, but i don't think you've proposed a deprecation mechanism
yet. Maybe a warning to stderr if keyid-format is explicitly set to
anything but "none" ?
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 948 bytes
Desc: not available
URL: </pipermail/attachments/20160805/1c155cbf/attachment.sig>
More information about the Gnupg-devel
mailing list