gpg: fail if new identity is missing

master
Roman Zeyde 6 years ago
parent 18f33f8a08
commit 2e0cfc8088
No known key found for this signature in database
GPG Key ID: 87CAE5FA46917CBB

@ -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…
Cancel
Save