summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorYarny0 <41838844+Yarny0@users.noreply.github.com>2025-06-09 20:34:15 +0200
committerYarny0 <41838844+Yarny0@users.noreply.github.com>2025-06-09 21:06:20 +0200
commit6acf53f6547337106235a0d892e6341e01a5c5cd (patch)
treed00cc5a41111b6a2730405e6ba6499aafd9427aa /pkgs/development/python-modules/rangehttpserver
parent3e3afe5174c561dee0df6f2c2b2236990146329f (diff)
nixos/sshd: don't use `-a` (KDF rounds) on host keys
The nixos `sshd.nix` module contains a mechanism to generate ssh host keys prior to starting sshd if those host keys are missing. The option `services.openssh.hostKeys` is used to configure which host keys should exist or be created. It also declares the key type and other key-related options. One of those options is `rounds`. That one is then forwarded to the `ssh-keygen` program with the `-a` option. It defines how many rounds of a key derivation function are to be used on the key's passphrase before the result is used to en-/decrypt the private key; cf. ssh-keygen(1). ssh host keys are passwordless; they are solely protected by filesystem access modes. Hence, the `-a` option is irrelevant and silently ignored by `ssh-keygen`. The commit at hand therefore removes this option from the host key generation script and the option examples.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions