mirror of
https://github.com/romanz/amodem.git
synced 2026-03-21 09:59:33 +08:00
gpg: better __repr__ and logging for public keys
This commit is contained in:
@@ -83,9 +83,8 @@ class Factory(object):
|
||||
curve_name=curve_name, created=created,
|
||||
verifying_key=self.conn.pubkey())
|
||||
|
||||
log.info('%s GPG public key %s created at %s for "%s"',
|
||||
curve_name, self.pubkey,
|
||||
_time_format(self.pubkey.created), user_id)
|
||||
log.info('%s created at %s for "%s"',
|
||||
self.pubkey, _time_format(self.pubkey.created), user_id)
|
||||
|
||||
@classmethod
|
||||
def from_public_key(cls, pubkey, user_id):
|
||||
|
||||
Reference in New Issue
Block a user