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 key from it.

Are there any SSH key formats which will store a private key without
the public components ?

Or this is just a legacy code from the time when
twisted.conch.ssh.keys.Key was not there... and getPublicKeys should
be deprecated?

Thanks!

-- 
Adi Roiban

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to