Discussion:
[Twisted-Python] Specification / RFC of the twisted.conch.ssh.keys.Key.privateBlob implementation
Adi Roiban
2015-11-04 22:05:21 UTC
Permalink
Hi,

Does anyone know what specifications / RFC is used for implementing
twisted.conch.ssh.keys.Key.privateBlob ?

https://github.com/twisted/twisted/blob/trunk/twisted/conch/ssh/keys.py#L577

I could not find the over-the-wire format for private keys... as I
supposed that private keys should not be put on the wire, in the first
place.

I did find a SSH agent draft
https://tools.ietf.org/html/draft-ietf-secsh-agent-02#section-1.4.1
but the format is different than the one from the docstring.

In twisted privateBlob is only used to support twisted.conch.ssh.agent

Is anyone using this method ?

Thanks!
--
Adi Roiban
Adi Roiban
2015-11-04 22:11:50 UTC
Permalink
Post by Adi Roiban
Hi,
Does anyone know what specifications / RFC is used for implementing
twisted.conch.ssh.keys.Key.privateBlob ?
https://github.com/twisted/twisted/blob/trunk/twisted/conch/ssh/keys.py#L577
I could not find the over-the-wire format for private keys... as I
supposed that private keys should not be put on the wire, in the first
place.
I did find a SSH agent draft
https://tools.ietf.org/html/draft-ietf-secsh-agent-02#section-1.4.1
but the format is different than the one from the docstring.
I guess that this is OpenSSH format as it matches the implementation

https://github.com/openssh/openssh-portable/blob/master/PROTOCOL.agent
--
Adi Roiban
Loading...