Skip to content

Commit 0fab313

Browse files
ssh: enable curve25519-sah256 again... (#325)
1 parent fb6423f commit 0fab313

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

modules/ssh.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,15 @@ in
9090

9191
services.openssh = lib.mkIf cfgS.recommendedDefaults {
9292
settings = {
93-
# following ssh-audit: nixos default minus 2048 bit modules (diffie-hellman-group-exchange-sha256) and not post-quantum safe (curve25519-sha256)
93+
# following ssh-audit: nixos default minus 2048 bit modules (diffie-hellman-group-exchange-sha256)
94+
# and including not post-quantum safe (curve25519-sha256) because of legacy systems and slow moving libraries...
9495
KexAlgorithms = [
9596
"mlkem768x25519-sha256"
9697
"sntrup761x25519-sha512"
9798
99+
# not post-quantum safe but we cannot have nice things, yet...
100+
"curve25519-sha256"
101+
98102
];
99103
# following ssh-audit: nixos defaults
100104
Macs = [

0 commit comments

Comments
 (0)