blackbox: Update README, add --homedir to encryption step in _blackbox_common

This commit is contained in:
Tom Mast
2014-09-25 15:19:49 -05:00
parent f521f4c2d4
commit 0a954752d9
2 changed files with 2 additions and 2 deletions

View File

@@ -475,7 +475,7 @@ Back on SECUREHOST, add the new email address to keyrings/live/blackbox-admins.t
``` ```
cd /path/to/the/repo cd /path/to/the/repo
blackbox_addadmin $KEYNAME blackbox_addadmin $KEYNAME /tmp/NEWMASTER
``` ```
Verify that secring.gpg is a zero-length file. If it isn't, you have Verify that secring.gpg is a zero-length file. If it isn't, you have

View File

@@ -144,7 +144,7 @@ function encrypt_file() {
encrypted="$2" encrypted="$2"
echo "========== Encrypting: $unencrypted" echo "========== Encrypting: $unencrypted"
gpg --yes --trust-model=always --encrypt -o "$encrypted" $(awk '{ print "-r" $1 }' < "$BB_ADMINS") "$unencrypted" gpg --yes --trust-model=always --homedir keyrings/live/ --encrypt -o "$encrypted" $(awk '{ print "-r" $1 }' < "$BB_ADMINS") "$unencrypted"
echo '========== Encrypting: DONE' echo '========== Encrypting: DONE'
} }