Skip to content

Commit 88adc3d

Browse files
committed
Key fingerprints: display in GPG style
1 parent 54f95ce commit 88adc3d

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

_includes/dev-keys.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
{% else %}{% comment %}fallback to English{% endcomment %}
99
{% assign _includes_dev_keys-name = "Name" %}
1010
{% assign _includes_dev_keys-fingerprint = "Fingerprint" %}
11-
{% assign _includes_dev_keys-import = "You can import a key by running the following command with that individual's fingerprint: `gpg --recv-keys <fingerprint>`" %}
11+
{% capture _includes_dev_keys-import %}You can import a key by running the following command with that individual's fingerprint: `gpg --recv-keys "<fingerprint>"` Ensure that you put quotes around fingerprints containing spaces.{% endcapture %}
1212
{% endcase %}
1313
{% endcapture %}
1414

1515
| {{_includes_dev_keys-name}} | {{_includes_dev_keys-fingerprint}} |
1616
|-----------------------------|--------------------------------------------|
17-
| Wladimir van der Laan | `71A3B16735405025D447E8F274810B012346C9A6` |
18-
| Jonas Schnelli | `32EE5C4C3FA15CCADB46ABE529D4BCB6416F53EC` |
19-
| Pieter Wuille | `133EAC179436F14A5CF1B794860FEB804E669320` |
17+
| Wladimir van der Laan | <code>{% include fingerprint-split.html hex="71A3B16735405025D447E8F274810B012346C9A6" %}</code> |
18+
| Jonas Schnelli | <code>{% include fingerprint-split.html hex="32EE5C4C3FA15CCADB46ABE529D4BCB6416F53EC" %}</code> |
19+
| Pieter Wuille | <code>{% include fingerprint-split.html hex="133EAC179436F14A5CF1B794860FEB804E669320" %}</code> |
2020

2121
{{_includes_dev_keys-import}}

_includes/fingerprint-split.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{include.hex | slice: 0, 4 }}&nbsp;{{include.hex | slice: 4, 4 }}&nbsp;{{include.hex | slice: 8, 4 }}&nbsp;{{include.hex | slice: 12, 4 }}&nbsp;{{include.hex | slice: 16, 4 }}&nbsp;&nbsp;{{include.hex | slice: 20, 4 }}&nbsp;{{include.hex | slice: 24, 4 }}&nbsp;{{include.hex | slice: 28, 4 }}&nbsp;{{include.hex | slice: 32, 4 }}&nbsp;{{include.hex | slice: 36, 4 }}

0 commit comments

Comments
 (0)