Re: [Twisted-Python] conch.ssh.SSHFactory publicKeys and getPublicKeys

2017-02-14 Thread Glyph Lefkowitz
> On Feb 2, 2017, at 2:00 AM, Adi Roiban wrote: > > Hi, > > I am writing to ask about the reason why t.conch.ssh.Factory has both > the getPublicKeys and getPrivateKeys methods ? As with most things in Conch, the structure of these APIs was probably developed many years ago without any specif

[Twisted-Python] conch.ssh.SSHFactory publicKeys and getPublicKeys

2017-02-02 Thread Adi Roiban
Hi, I am writing to ask about the reason why t.conch.ssh.Factory has both the getPublicKeys and getPrivateKeys methods ? The public keys should be string while private keys should be twisted.conch.ssh.keys.Key Based on my understanding if you have a private key object you can extract the public