Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-02-25 11:42:27 +0100
committerErich Eckner <git@eckner.net>2020-02-25 11:42:27 +0100
commit21648f8ebaf5071c61bfce5a42838841ca5f653b (patch)
treea532905314a83cf78dd25621e1ff153d588ec38d
parentba0a8e203ac3a90f0660e71034e55809943a6319 (diff)
bin/generate-key-graph: take last 8 characters - this is, what gpg does, too
-rwxr-xr-xbin/generate-key-graph4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/generate-key-graph b/bin/generate-key-graph
index 6dae873..3c5063f 100755
--- a/bin/generate-key-graph
+++ b/bin/generate-key-graph
@@ -77,7 +77,7 @@ expiration_color() {
while read -r _ fp; do
printf '"%s"[label="packager key %s\\n%s",color="#0000ff",fontcolor="%s"];\n' \
"${fp}" \
- "${fp:0:8}" \
+ "${fp: -8}" \
"$(get_user_info "${fp}")" \
"$(expiration_color "${fp}")"
done \
@@ -119,7 +119,7 @@ expiration_color() {
printf '"%s-%s"[label="master key %s\\n%s",color="#00ff00",fontcolor="%s"];\n' \
"${kpf}" \
"${fp}" \
- "${fp:0:8}" \
+ "${fp: -8}" \
"$(get_user_info "${fp}")" \
"$(expiration_color "${fp}")"
done