Comments - Was: Fingerprints and Key-IDs

ilf ilf at zeromail.org
Sun Aug 7 13:16:18 CEST 2016


Werner Koch:
> Right, that is a langugae with an explicit grammer and not a simple 
> conf file. 
> Ditto.

1. These examples counter your argument, that "That is not a common 
comment pattern." It's POSIX, and a bunch of GNU software.

2. You're using it yourself:

> scriptversion=2011-11-20.07; # UTC

http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob;f=build-aux/install-sh;hb=refs/heads/master#l4

3. It works in GnuPG 1.4, just not in 2.1:

> % grep ^default-key .gnupg/gpg.conf 
> default-key 0xCBB15A68EF3AC804875D5C4E153FE398821C8394 # ilf
> % gpg --version | head -1 
> gpg (GnuPG) 1.4.20 
> % gpg --sign 
> You need a passphrase to unlock the secret key for 
> user: "ilf <ilf at zeromail.org>"

> % gpg2 --version | head -1 
> gpg (GnuPG) 2.1.11 
> % gpg2 --sign 
> gpg: secret key "0xCBB15A68EF3AC804875D5C4E153FE398821C8394 # ilf" not found: Invalid user ID 
> gpg: (check argument of option '--default-key') 
> gpg: all values passed to '--default-key' ignored

Would it really be so complicated to also implement this comment format?

-- 
ilf

Über 80 Millionen Deutsche benutzen keine Konsole. Klick dich nicht weg!
		-- Eine Initiative des Bundesamtes für Tastaturbenutzung
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: </pipermail/attachments/20160807/2036c028/attachment.sig>


More information about the Gnupg-devel mailing list