mirror of
https://github.com/romanz/amodem.git
synced 2026-04-21 05:36:42 +08:00
gpg: beter logging while search for GPG key
This commit is contained in:
@@ -343,6 +343,8 @@ def load_public_key(pubkey_bytes, use_custom=False, ecdh=False):
|
|||||||
|
|
||||||
packet = pubkey
|
packet = pubkey
|
||||||
while use_custom:
|
while use_custom:
|
||||||
|
log.debug('GPG packet type: %s (algo = %s, custom = %s)',
|
||||||
|
packet['type'], packet['algo'], signature['_is_custom'])
|
||||||
if packet['type'] in ('pubkey', 'subkey') and signature['_is_custom']:
|
if packet['type'] in ('pubkey', 'subkey') and signature['_is_custom']:
|
||||||
if ecdh == (packet['algo'] == protocol.ECDH_ALGO_ID):
|
if ecdh == (packet['algo'] == protocol.ECDH_ALGO_ID):
|
||||||
log.debug('found custom %s', packet['type'])
|
log.debug('found custom %s', packet['type'])
|
||||||
|
|||||||
Reference in New Issue
Block a user