From f60de0c66e3a9a847d5643f45607e032fa7f9ecc Mon Sep 17 00:00:00 2001 From: youtous Date: Wed, 22 Apr 2020 00:28:57 +0200 Subject: [PATCH] init tests cases ffdhe4096 --- target/shared/ffdhe4096.pem | 13 +++++++++++++ target/shared/ffdhe4096.pem.sha512sum | 1 + test/tests.bats | 10 ++++++++++ 3 files changed, 24 insertions(+) create mode 100644 target/shared/ffdhe4096.pem create mode 100644 target/shared/ffdhe4096.pem.sha512sum diff --git a/target/shared/ffdhe4096.pem b/target/shared/ffdhe4096.pem new file mode 100644 index 00000000..3cf0fcbc --- /dev/null +++ b/target/shared/ffdhe4096.pem @@ -0,0 +1,13 @@ +-----BEGIN DH PARAMETERS----- +MIICCAKCAgEA//////////+t+FRYortKmq/cViAnPTzx2LnFg84tNpWp4TZBFGQz ++8yTnc4kmz75fS/jY2MMddj2gbICrsRhetPfHtXV/WVhJDP1H18GbtCFY2VVPe0a +87VXE15/V8k1mE8McODmi3fipona8+/och3xWKE2rec1MKzKT0g6eXq8CrGCsyT7 +YdEIqUuyyOP7uWrat2DX9GgdT0Kj3jlN9K5W7edjcrsZCwenyO4KbXCeAvzhzffi +7MA0BM0oNC9hkXL+nOmFg/+OTxIy7vKBg8P+OxtMb61zO7X8vC7CIAXFjvGDfRaD +ssbzSibBsu/6iGtCOGEfz9zeNVs7ZRkDW7w09N75nAI4YbRvydbmyQd62R0mkff3 +7lmMsPrBhtkcrv4TCYUTknC0EwyTvEN5RPT9RFLi103TZPLiHnH1S/9croKrnJ32 +nuhtK8UiNjoNq8Uhl5sN6todv5pC1cRITgq80Gv6U93vPBsg7j/VnXwl5B0rZp4e +8W5vUsMWTfT7eTDp5OWIV7asfV9C1p9tGHdjzx1VA0AEh/VbpX4xzHpxNciG77Qx +iu1qHgEtnmgyqQdgCpGBMMRtx3j5ca0AOAkpmaMzy4t6Gh25PXFAADwqTs6p+Y0K +zAqCkc3OyX3Pjsm1Wn+IpGtNtahR9EGC4caKAH5eZV9q//////////8CAQI= +-----END DH PARAMETERS----- diff --git a/target/shared/ffdhe4096.pem.sha512sum b/target/shared/ffdhe4096.pem.sha512sum new file mode 100644 index 00000000..0b9412b7 --- /dev/null +++ b/target/shared/ffdhe4096.pem.sha512sum @@ -0,0 +1 @@ +716a462baecb43520fb1ba6f15d288ba8df4d612bf9d450474b4a1c745b64be01806e5ca4fb2151395fd4412a98831b77ea8dfd389fe54a9c768d170b9565a25 ffdhe4096.pem diff --git a/test/tests.bats b/test/tests.bats index 986a2271..d48fb168 100644 --- a/test/tests.bats +++ b/test/tests.bats @@ -667,6 +667,16 @@ EOF assert_success } +@test "checking ssl: checking dhe params are sufficient" { + # reference used: (22/04/2020) https://english.ncsc.nl/publications/publications/2019/juni/01/it-security-guidelines-for-transport-layer-security-tls + skip 'todo : check checksum same as mozilla' + # todo : + # - test case mail uses ffdhe by default + # - test case mail uses custom dhe ==> SET WARNING IN LOGS + + # todo : remove dhe generation +} + # # postsrsd #