blackbox: Removed homedir and updated README to add step to import pubring

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

View File

@@ -496,6 +496,7 @@ git commit -m"Adding key for KEYNAME" pubring.gpg trustdb.gpg blackbox-admins.tx
Regenerate all encrypted files with the new key:
```
gpg --import keyrings/live/pubring.gpg
blackbox_update_all_files
git status
git commit -m"updated encryption" -a

View File

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