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

Backup key check

parent b17813f7
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ do
key="$1"
case $key in
--help)
-h|--help)
show_help
;;
-u|--user|--username)
......@@ -98,7 +98,8 @@ do
shift
done
MASTER_PASSWORD=$(gpg -q --armor --export-secret-key 'backup key')
get_backup_key_id
MASTER_PASSWORD=$(gpg -q --armor --export-secret-key $MY_BACKUP_KEY_ID)
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