[arch-projects] [archweb] Use full gpg fingerprint for TU profile list
NicoHood
archlinux at nicohood.de
Sat Jan 28 10:38:04 UTC 2017
On 01/06/2017 02:46 PM, Allan McRae wrote:
> On 06/01/17 23:36, NicoHood wrote:
>> ---
>> main/templatetags/pgp.py | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/main/templatetags/pgp.py b/main/templatetags/pgp.py
>> index 16b6323..95a9ec1 100644
>> --- a/main/templatetags/pgp.py
>> +++ b/main/templatetags/pgp.py
>> @@ -41,7 +41,7 @@ def pgp_key_link(key_id, link_text=None):
>> url =
>> '%s://%s/pks/lookup?op=vindex&fingerprint=on&exact=on&search=0x%s'
>> % \
>> (scheme, pgp_server, key_id)
>> if link_text is None:
>> - link_text = '0x%s' % key_id[-8:]
>> + link_text = key_id
>> values = (url, format_key(key_id), link_text)
>> return '<a href="%s" title="PGP key search for %s">%s</a>' % values
>>
>
>
> Why? The link takes you to the key with the full fingerprint, so this
> is purely aesthetic.
>
It would help to verify the key. And for nothing else the fingerprint is
listed on this site. Otherwise you could just set the link on "PGP key"
instead of adding the very short 32bit fingerprint.
https://evil32.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-projects/attachments/20170128/e4d15aef/attachment.asc>
More information about the arch-projects
mailing list