gpg: allow more verbose output during GnuPG pubkey import

master
Roman Zeyde 6 years ago
parent afa3fdb89c
commit ccc2174775
No known key found for this signature in database
GPG Key ID: 87CAE5FA46917CBB

@ -180,7 +180,8 @@ fi
pubkey = write_file(os.path.join(homedir, 'pubkey.asc'),
export_public_key(device_type, args))
gpg_binary = keyring.get_gnupg_binary()
check_call([gpg_binary, '--homedir', homedir, '--quiet',
verbosity = ('-' + ('v' * args.verbose)) if args.verbose else '--quiet'
check_call([gpg_binary, '--homedir', homedir, verbosity,
'--import', pubkey.name])
# Make new GPG identity with "ultimate" trust (via its fingerprint)

Loading…
Cancel
Save