mirror of
https://github.com/trailofbits/algo
synced 2024-11-16 12:12:55 +00:00
Only enable ChaCha cipher (#412)
* Only enable ChaCha cipher * Add back a few ciphers for compatability
This commit is contained in:
parent
fa5a956193
commit
5b2e13d18f
@ -45,10 +45,8 @@ HostKey /etc/ssh/ssh_host_ecdsa_key
|
|||||||
HostKey /etc/ssh/ssh_host_ed25519_key
|
HostKey /etc/ssh/ssh_host_ed25519_key
|
||||||
|
|
||||||
# Use only modern ciphers
|
# Use only modern ciphers
|
||||||
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256
|
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256
|
||||||
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com
|
Ciphers chacha20-poly1305@openssh.com,aes128-gcm@openssh.com
|
||||||
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com
|
MACs hmac-sha2-256-etm@openssh.com
|
||||||
# TODO: I haven't seen anyone review these yet
|
HostKeyAlgorithms ssh-ed25519,ecdsa-sha2-nistp256
|
||||||
# HostKeyAlgorithms ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519
|
# PubkeyAcceptedKeyTypes accept anything
|
||||||
# TODO: I haven't seen anyone review these yet
|
|
||||||
# PubkeyAcceptedKeyTypes ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519
|
|
||||||
|
Loading…
Reference in New Issue
Block a user