gpg: --homedir should come before --list-secret-keys
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user