mirror of
https://github.com/romanz/amodem.git
synced 2026-04-21 05:36:42 +08:00
gpg: show user ID on a single line
This commit is contained in:
@@ -15,8 +15,8 @@ class Client(object):
|
|||||||
self.device = device.detect()
|
self.device = device.detect()
|
||||||
self.user_id = user_id
|
self.user_id = user_id
|
||||||
self.identity = device.interface.Identity(
|
self.identity = device.interface.Identity(
|
||||||
identity_str='gpg://{}'.format(user_id),
|
identity_str='gpg://', curve_name=curve_name)
|
||||||
curve_name=curve_name)
|
self.identity.identity_dict['host'] = user_id
|
||||||
|
|
||||||
def pubkey(self, ecdh=False):
|
def pubkey(self, ecdh=False):
|
||||||
"""Return public key as VerifyingKey object."""
|
"""Return public key as VerifyingKey object."""
|
||||||
|
|||||||
Reference in New Issue
Block a user