Skip to content
Snippets Groups Projects
Commit f9759acf authored by Bob Mottram's avatar Bob Mottram
Browse files

Remove non-random elements from key

parent c3630f49
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,7 @@ fi
get_backup_key_id
# 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
echo $'No username given'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment