Compare commits
3 Commits
5c18873ddd
...
c3a05871bd
Author | SHA1 | Date | |
---|---|---|---|
c3a05871bd | |||
|
e5639658b0 | ||
|
7214a7658f |
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/sh
|
||||
# usage: $0
|
||||
set -eu
|
||||
WD=$(dirname "$(realpath "$0")")
|
||||
@ -8,6 +8,6 @@ for key in "$WD"/kmein/kmein.gpg "$WD"/lass/pgp/* "$WD"/makefu/pgp/* "$WD"/tv/pg
|
||||
keyid=$(gpg --with-colons --fingerprint --import-options show-only --import "$key" | grep fpr | cut -d : -f 10 | head -1)
|
||||
gpg --import "$key" >&2
|
||||
printf '5\ny\n' | gpg --command-fd 0 --expert --edit-key "$keyid" trust >&2
|
||||
PUBKEYS="${PUBKEYS}$keyid\n"
|
||||
PUBKEYS="${PUBKEYS}${keyid}\n"
|
||||
done
|
||||
echo -ne "$PUBKEYS"
|
||||
printf "$PUBKEYS"
|
||||
|
Loading…
Reference in New Issue
Block a user