Skip to content

Commit

Permalink
nixos/sshd: Remove algorithms that do MAC-then-encrypt
Browse files Browse the repository at this point in the history
Algorithms with the -etm suffix calculate the MAC after encryption,
which is generally considered safer.
  • Loading branch information
mweinelt authored and teto committed May 11, 2023
1 parent a9611f3 commit 537d611
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions nixos/modules/services/networking/ssh/sshd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,6 @@ in
"hmac-sha2-512-etm@openssh.com"
"hmac-sha2-256-etm@openssh.com"
"umac-128-etm@openssh.com"
"hmac-sha2-512"
"hmac-sha2-256"
"umac-128@openssh.com"
];
description = lib.mdDoc ''
Allowed MACs
Expand Down

0 comments on commit 537d611

Please sign in to comment.