Remove non-random elements from key
This commit is contained in:
parent
c3630f4900
commit
f9759acf6e
|
@ -138,7 +138,7 @@ fi
|
||||||
get_backup_key_id
|
get_backup_key_id
|
||||||
|
|
||||||
# Use the backups private key as a symmetric passphrase
|
# Use the backups private key as a symmetric passphrase
|
||||||
MASTER_PASSWORD=$(gpg -q --armor --export-secret-key $MY_BACKUP_KEY_ID)
|
MASTER_PASSWORD=$(gpg -q --armor --export-secret-key $MY_BACKUP_KEY_ID | sed '/---/d' | sed '/Version/d' | sed '/^$/d')
|
||||||
|
|
||||||
if [ ! $CURR_USERNAME ]; then
|
if [ ! $CURR_USERNAME ]; then
|
||||||
echo $'No username given'
|
echo $'No username given'
|
||||||
|
|
Loading…
Reference in New Issue