mirror of
https://github.com/romanz/amodem.git
synced 2026-04-01 17:26:49 +08:00
Support SSH signatures
https://www.agwa.name/blog/post/ssh_signatures
See here for more details:
https://github.com/openssh/openssh-portable/blob/master/PROTOCOL.sshsig
https://github.com/openssh/openssh-portable/blob/master/sshsig.c
2a9c9f7272
This commit is contained in:
@@ -144,6 +144,10 @@ class Handler:
|
||||
signature = self.conn.sign(blob=blob, identity=key['identity'])
|
||||
except IOError:
|
||||
return failure()
|
||||
except Exception:
|
||||
log.exception('signature with "%s" key failed', label)
|
||||
raise
|
||||
|
||||
log.debug('signature: %r', signature)
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user