diff --git a/src/freedombone-pass b/src/freedombone-pass index a4310067..709a333c 100755 --- a/src/freedombone-pass +++ b/src/freedombone-pass @@ -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'