francoismichel / ssh3

SSH3: faster and rich secure shell using HTTP/3, checkout our article here: https://arxiv.org/abs/2312.08396 and our Internet-Draft: https://datatracker.ietf.org/doc/draft-michel-ssh3/
https://arxiv.org/abs/2312.08396
Apache License 2.0
3.27k stars 82 forks source link

SSH3 known hosts #10

Closed francoismichel closed 10 months ago

francoismichel commented 10 months ago

Add SSH3 known hosts, based on x509 self-signed certificates.

While we strongly prefer classical certificates, it is sometimes a burden to generate certificates for a host, so we provide support for a mechanism comparable to OpenSSH's host keys.

A self-signed certificate can be generated using the generate_openssl_selfsigned_certificate.sh script. When an SSH3 client connects to a new host, if the certificate is invalid, the client proposes to the user to store the provided certificate to trust it for the next connections. If the user accepts, the certificate will be installed in the ~/.ssh3/known_host file.