gpg: fail if new identity is missing
This commit is contained in:
parent
18f33f8a08
commit
2e0cfc8088
@ -191,7 +191,8 @@ fi
|
||||
'--import-ownertrust', f.name])
|
||||
|
||||
# Load agent and make sure it responds with the new identity
|
||||
check_call([gpg_binary, '--list-secret-keys'], env={'GNUPGHOME': homedir})
|
||||
check_call([gpg_binary, '--list-secret-keys', args.user_id],
|
||||
env={'GNUPGHOME': homedir})
|
||||
|
||||
|
||||
def run_unlock(device_type, args):
|
||||
|
Loading…
Reference in New Issue
Block a user