nixpkgs/nixos/modules
Lucas Savva 1b6cfd9796
nixos/acme: Fix race condition, dont be smart with keys
Attempting to reuse keys on a basis different to the cert (AKA,
storing the key in a directory with a hashed name different to
the cert it is associated with) was ineffective since when
"lego run" is used it will ALWAYS generate a new key. This causes
issues when you revert changes since your "reused" key will not
be the one associated with the old cert. As such, I tore out the
whole keyDir implementation.

As for the race condition, checking the mtime of the cert file
was not sufficient to detect changes. In testing, selfsigned
and full certs could be generated/installed within 1 second of
each other. cmp is now used instead.

Also, I removed the nginx/httpd reload waiters in favour of
simple retry logic for the curl-based tests
2020-09-04 01:09:43 +01:00
..
config Merge pull request #95869 from jtojnar/fc-local-regression 2020-08-20 23:43:47 +02:00
hardware Merge pull request #91296 from cawilliamson/master 2020-08-21 18:27:46 +02:00
i18n/input-method nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
installer nixos-rebuild: don't quote $EDITOR 2020-08-29 09:54:14 +02:00
misc nixos/nixpkgs.nix: Correct crossSystem default literal 2020-08-26 13:35:35 +02:00
profiles nixos/security/misc: add option unprivilegedUsernsClone 2020-08-25 14:18:24 +03:00
programs nixos/*: editorconfig fixes 2020-08-08 10:54:16 +10:00
security nixos/acme: Fix race condition, dont be smart with keys 2020-09-04 01:09:43 +01:00
services nixos/acme: Add proper nginx/httpd config reload checks 2020-09-02 19:25:30 +01:00
system Merge pull request #96404 from matthewbauer/gcc-cross 2020-08-26 16:17:14 -05:00
tasks rfkill: remove 2020-08-24 02:49:27 +02:00
testing nixos/test-instrumentation: properly import options for qemu-check 2020-08-18 12:26:49 +02:00
virtualisation Merge pull request #86236 from ThibautMarty/fix-nullOr-types 2020-08-26 18:21:29 +02:00
module-list.nix Merge pull request #94804 from hercules-ci/init-nixos-hercules-ci-agent 2020-08-29 10:20:14 +02:00
rename.nix meguca: remove (#95920) 2020-08-21 13:00:40 -07:00