Skip to content

Commit c3666ca

Browse files
fixup! Add comprehensive cipher suite combination testing script and GitHub Actions workflow
1 parent 093276a commit c3666ca

File tree

1 file changed

+9
-19
lines changed

1 file changed

+9
-19
lines changed

.github/workflows/cipher-suite-test.yml

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,23 @@ on:
1111
workflow_dispatch:
1212
inputs:
1313
aead:
14-
description: 'AEAD algorithm to test (optional)'
14+
description: "AEAD algorithm to test (optional)"
1515
required: false
1616
type: string
1717
hash:
18-
description: 'Hash algorithm to test (optional)'
18+
description: "Hash algorithm to test (optional)"
1919
required: false
2020
type: string
2121
verify:
22-
description: 'Verify algorithm to test (optional)'
22+
description: "Verify algorithm to test (optional)"
2323
required: false
2424
type: string
2525
sign:
26-
description: 'Sign algorithm to test (optional)'
26+
description: "Sign algorithm to test (optional)"
2727
required: false
2828
type: string
2929
kx:
30-
description: 'Key exchange algorithm to test (optional)'
30+
description: "Key exchange algorithm to test (optional)"
3131
required: false
3232
type: string
3333

@@ -40,24 +40,14 @@ env:
4040
jobs:
4141
test-cipher-suite-matrix:
4242
runs-on: ubuntu-latest
43+
name: Test ${{ matrix.aead }}-${{ matrix.hash }}-${{ matrix.kx }}
4344
strategy:
4445
matrix:
4546
# Complete Cartesian product of all cipher suite components
4647
aead: ["aead-aes-gcm", "aead-aes-ccm", "aead-chacha20poly1305"]
4748
hash: ["hash-sha224", "hash-sha256", "hash-sha384", "hash-sha512"]
48-
verify: [
49-
"verify-ecdsa-p256-sha256", "verify-ecdsa-p256-sha384", "verify-ecdsa-p256-sha512",
50-
"verify-ecdsa-p384-sha256", "verify-ecdsa-p384-sha384", "verify-ecdsa-p384-sha512",
51-
"verify-ecdsa-p521-sha256", "verify-ecdsa-p521-sha384", "verify-ecdsa-p521-sha512",
52-
"verify-eddsa-ed25519",
53-
"verify-rsa-pkcs1-sha256", "verify-rsa-pkcs1-sha384", "verify-rsa-pkcs1-sha512",
54-
"verify-rsa-pss-sha256", "verify-rsa-pss-sha384", "verify-rsa-pss-sha512"
55-
]
56-
sign: [
57-
"sign-ecdsa-p256", "sign-ecdsa-p384", "sign-ecdsa-p521",
58-
"sign-eddsa-ed25519",
59-
"sign-rsa-pkcs1", "sign-rsa-pss"
60-
]
49+
verify: ["verify-ecdsa-p256-sha256"]
50+
sign: ["sign-ecdsa-p256"]
6151
kx: ["kx-p256", "kx-p384", "kx-p521", "kx-x25519", "kx-x448"]
6252
# Allow failures for incompatible combinations
6353
fail-fast: false
@@ -151,4 +141,4 @@ jobs:
151141
cargo test --features "$FEATURES"
152142
env:
153143
SCCACHE_GHA_ENABLED: "true"
154-
RUSTC_WRAPPER: "sccache"
144+
RUSTC_WRAPPER: "sccache"

0 commit comments

Comments
 (0)