mirage / awa-ssh

Purely functional SSH library in ocaml.
ISC License
104 stars 12 forks source link

Ext info implementation #56

Closed reynir closed 1 year ago

reynir commented 1 year ago

SSH2_MSG_EXT_INFO is a message type for communicating extensions. This PR implements parsing and serializing extension information messages. The server is as well extended to send the server-sig-algs extension with available signature algorithms. This is necessary for newer openssh clients that want to use RSA keys.

I am very open to changing the code as it was written somewhat in a hurry to get it working before a demo.

hannesm commented 1 year ago

looks fine, requires ocaml 4.10 though (please add a lower bound)

dinosaure commented 1 year ago

Thanks!