blackbox: Update README, add --homedir to encryption step in _blackbox_common
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user