diff options
Diffstat (limited to 'src/keys')
-rwxr-xr-x | src/keys/gpg-import.sh | 8 | ||||
-rwxr-xr-x | src/keys/gpg-recipients.sh | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/keys/gpg-import.sh b/src/keys/gpg-import.sh index 63d2347..20317bf 100755 --- a/src/keys/gpg-import.sh +++ b/src/keys/gpg-import.sh @@ -17,8 +17,8 @@ help() { -h, --help show this message - Import GPG keys under src/infrastructure/keys/GPG/ and mark them as - trusted, so that they can be used as recipients for encryption. + Import GPG keys under src/keys/GPG/ and mark them as trusted, so + that they can be used as recipients for encryption. Examples: @@ -61,9 +61,9 @@ done shift $((OPTIND - 1)) -gpg --import src/infrastructure/keys/GPG/* +gpg --import src/keys/GPG/* -gpg --with-colons --show-key src/infrastructure/keys/GPG/* | +gpg --with-colons --show-key src/keys/GPG/* | awk -F: '$1 == "fpr" { print $10 }' | while read -r fpr; do printf '5\ny\n' | diff --git a/src/keys/gpg-recipients.sh b/src/keys/gpg-recipients.sh index ad6e522..b2951b7 100755 --- a/src/keys/gpg-recipients.sh +++ b/src/keys/gpg-recipients.sh @@ -17,8 +17,8 @@ help() { -h, --help show this message - Process GPG keys under src/infrastructure/keys/GPG/, and emit - the command-line flags to be given to the `gpg` command, as in: + Process GPG keys under src/keys/GPG/, and emit the command-line + flags to be given to the `gpg` command, as in: $ gpg -r KEY1 -r KEY2 ... @@ -67,5 +67,5 @@ done shift $((OPTIND - 1)) -gpg --with-colons --show-key src/infrastructure/keys/GPG/* | +gpg --with-colons --show-key src/keys/GPG/* | awk -F: '$1 == "fpr" { printf " -r %s", $10 }' |