diff options
author | EuAndreh <eu@euandre.org> | 2023-11-25 19:54:30 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-11-25 19:54:30 -0300 |
commit | 1d682e2c25d9e9b965fd653a94e9c291eb74506e (patch) | |
tree | 77a994287e279c56703e06b9ac8fc332a39528d3 /src/keys | |
parent | description: Add simple description text file (diff) | |
download | asami-1d682e2c25d9e9b965fd653a94e9c291eb74506e.tar.gz asami-1d682e2c25d9e9b965fd653a94e9c291eb74506e.tar.xz |
Change "src/infrastructure/ => src/" everywhere
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 }' |