From 1d682e2c25d9e9b965fd653a94e9c291eb74506e Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 25 Nov 2023 19:54:30 -0300 Subject: Change "src/infrastructure/ => src/" everywhere --- src/keys/gpg-import.sh | 8 ++++---- src/keys/gpg-recipients.sh | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/keys') 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 }' -- cgit v1.2.3