diff options
author | aszlig <aszlig@nix.build> | 2018-05-08 02:09:46 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-05-08 02:09:46 +0200 |
commit | 78b4b90d6c9a3310b8a8ba3ac450240d03199bf0 (patch) | |
tree | 8483a3ca0be5a7616e90ccde499429d9d7ae1fe0 /nixos/release.nix | |
parent | ec198337c4d50e4bd94e84db6bc886d375761564 (diff) | |
parent | a8b7372380725af56c213cdb01893640d5097c16 (diff) |
Merge pull request #39526 (improve dhparams)
This introduces an option that allows us to turn off stateful generation of Diffie-Hellman parameters, which in some way is still "stateful" as the generated DH params file is non-deterministic. However what we can avoid with this is to have an increased surface for failures during system startup, because generation of the parameters is done during build-time. Aside from adding a NixOS VM test it also restructures the type of the security.dhparams.params option, so that it's a submodule. A new defaultBitSize option is also there to allow users to set a system-wide default. I added a release notes entry that described what has changed and also included a few notes for module developers using this module, as the first usage already popped up in NixOS/nixpkgs#39507. Thanks to @Ekleog and @abbradar for reviewing.
Diffstat (limited to 'nixos/release.nix')
-rw-r--r-- | nixos/release.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/release.nix b/nixos/release.nix index 55b4f19b86886..ae70b535a5e2f 100644 --- a/nixos/release.nix +++ b/nixos/release.nix @@ -269,6 +269,7 @@ in rec { tests.containers-macvlans = callTest tests/containers-macvlans.nix {}; tests.couchdb = callTest tests/couchdb.nix {}; tests.deluge = callTest tests/deluge.nix {}; + tests.dhparams = callTest tests/dhparams.nix {}; tests.docker = callTestOnMatchingSystems ["x86_64-linux"] tests/docker.nix {}; tests.docker-tools = callTestOnMatchingSystems ["x86_64-linux"] tests/docker-tools.nix {}; tests.docker-tools-overlay = callTestOnMatchingSystems ["x86_64-linux"] tests/docker-tools-overlay.nix {}; |