gpg: --homedir should come before --list-secret-keys

This commit is contained in:
Roman Zeyde
2018-10-27 18:15:29 +03:00
parent 71f357c1bf
commit fec84288be

View File

@@ -195,8 +195,8 @@ fi
'--import-ownertrust', f.name])) '--import-ownertrust', f.name]))
# Load agent and make sure it responds with the new identity # Load agent and make sure it responds with the new identity
check_call(keyring.gpg_command(['--list-secret-keys', args.user_id, check_call(keyring.gpg_command(['--homedir', homedir,
'--homedir', homedir])) '--list-secret-keys', args.user_id]))
def run_unlock(device_type, args): def run_unlock(device_type, args):