mirror of
https://github.com/romanz/amodem.git
synced 2026-04-03 02:46:48 +08:00
Fix a few pycodestyle & pystyle issues
This commit is contained in:
@@ -164,7 +164,7 @@ class Handler:
|
||||
# We assume the first user ID is used to generate TREZOR-based GPG keys.
|
||||
user_id = user_ids[0]['value'].decode('utf-8')
|
||||
curve_name = protocol.get_curve_name_by_oid(pubkey_dict['curve_oid'])
|
||||
ecdh = (pubkey_dict['algo'] == protocol.ECDH_ALGO_ID)
|
||||
ecdh = pubkey_dict['algo'] == protocol.ECDH_ALGO_ID
|
||||
|
||||
identity = client.create_identity(user_id=user_id, curve_name=curve_name)
|
||||
verifying_key = self.client.pubkey(identity=identity, ecdh=ecdh)
|
||||
|
||||
Reference in New Issue
Block a user