key/key-misc.c (key_bytag): Accept `tag:', `id:' and `type:' prefixes.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 26 Oct 2019 14:40:19 +0000 (15:40 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 9 May 2020 19:57:33 +0000 (20:57 +0100)
commitf1b73d2ff308f27a35948360885aa8e227427460
tree60493722e7e5ea53d3388a8f39552b1d852bdfed
parent141c12847a1c2f8cc8db03d420551584e689fb87
key/key-misc.c (key_bytag): Accept `tag:', `id:' and `type:' prefixes.

Further to the fix 079836cc4d21b355c8b58a4624ef85df0ac6c21a, allow the
user to attach a disambiguating prefix to the label.  Using the colon is
safe here, since it's obviously not acceptable in a hex id, and
`key_chkident' rejects colons in tag and type strings.
key/key-misc.c