net: use a secure cipher list by default
Previously, the `net` module use the blanket "ALL" as the default cipher list. This list may contain security ciphers that are weak and/or outdated according to the current standard. This commit introduces a new module `ssl_config` that contains the latest OpenSSL configurations as recommended by Mozilla OpSec, and make the `net` module use the cipher list targeting `intermediate` compatibility level as the default.
This commit is contained in:
parent
6cb94b5da6
commit
1fb2a58674
5 changed files with 125 additions and 1 deletions
1
tools/ssl_config_parser.nims
Normal file
1
tools/ssl_config_parser.nims
Normal file
|
|
@ -0,0 +1 @@
|
|||
--d:ssl
|
||||
Loading…
Add table
Add a link
Reference in a new issue