Backup key check
This commit is contained in:
parent
b17813f7e5
commit
3b0ee1245b
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue