summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorLucas Savva <lucas@m1cr0man.com>2020-09-03 15:31:06 +0100
committerLucas Savva <lucas@m1cr0man.com>2020-09-04 01:09:43 +0100
commit1b6cfd9796788a3c5b8e8f27b49271f4a423c9a7 (patch)
treed39b105912b69fb2c6d53eb7465612c4c8e7ada3 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parent61dbf4bf8950c7e3cfeab07ad33cdb00d6a0525d (diff)
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
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions