13 Commits

Author SHA1 Message Date
Margo Crawford
b6591ca0ae
hard code list of ciphers
this makes testing easier because otherwise they're nil in too many places

Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-29 14:40:16 -04:00
Margo Crawford
565dd6f47f
extract some of the securetls stuff into a its own shared file
Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-29 14:40:16 -04:00
Margo Crawford
412e6c1441
Cleaned up some todos, added some comments
Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-29 14:40:16 -04:00
Margo Crawford
8fccce31a4
Fix testsecuretlssupervisor
Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-29 14:40:15 -04:00
Margo Crawford
6fa2c897e8
Sort ciphers in AssertTLS
Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-29 14:40:15 -04:00
Margo Crawford
6bf5489bbb
Fix output for rsa 2048 suites
Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-29 14:40:15 -04:00
Margo Crawford
c50c4ae85b
Change whitespace in nmap tests
The git commit hook seemed to have trimmed some whitespace
that was necessary for the formatting

Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-29 14:40:15 -04:00
Margo Crawford
0a0fb7ede5
Remove expectation for tls 1.3 nmap output
Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-29 14:40:15 -04:00
Margo Crawford
0de7bc03aa
Change order of hardcoded cipher list for fips
Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-29 14:40:14 -04:00
Margo Crawford
420f855287
override cipher suites with fips defaults in a few more places
Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-29 14:40:14 -04:00
Margo Crawford
22aecf9498
test against the default fips ciphers when cipherSuites is nil
Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-29 14:40:14 -04:00
Margo Crawford
a88abd7e8b
fix compile errors in new securetls_fips_test
goland wasn't showing me them properly because of the build tags :P

Signed-off-by: Monis Khan <mok@vmware.com>
2022-03-29 14:40:14 -04:00
Margo Crawford
215961b282
Fix some linter errors, separate securetls test for fips
Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-29 14:40:14 -04:00