Skip to content

feat(tls1.3): new opt for Key exchange alg: -keyex-algs #284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# emqtt-bench changelog

## 0.4.34

* new tls1.3 opt for Key exchange alg: `-keyex-algs`

## 0.4.33

* fix: prometheus metrics observation with qoe enabled
* Add more histogram buckets

## 0.4.32

* QoE: Fix csv dump, represent `invalid_elapsed` as `""` instead of `-1`
Expand Down
5 changes: 5 additions & 0 deletions src/emqtt_bench.erl
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@
"Cipher suite for ssl/tls connection, comma separated list. e.g. TLS_AES_256_GCM_SHA384,TLS_CHACHA20_POLY1305_SHA256"},
{signature_algs, undefined, "signature-algs", string,
"Signature algorithm for tlsv1.3 connection only, comma separated list. e.g. ecdsa_secp384r1_sha384,ecdsa_secp256r1_sha256"},
{keyex_algs, undefined, "keyex-algs", string,
"Key exchange algorithm for tlsv1.3 connection only, comma separated list. e.g. secp384r1,secp256r1"},
{quic, undefined, "quic", {string, "false"},
"QUIC transport"},
{ws, undefined, "ws", {boolean, false},
Expand Down Expand Up @@ -1004,6 +1006,9 @@ ssl_opts([{ciphers, Ciphers}| Opts], Acc) ->
ssl_opts([{signature_algs, Algs}| Opts], Acc) ->
AlgList = [list_to_existing_atom(X) || X <- string:tokens(Algs, ",")],
ssl_opts(Opts, [{signature_algs, AlgList} | Acc]);
ssl_opts([{keyex_algs, Algs}| Opts], Acc) ->
AlgList = [list_to_existing_atom(X) || X <- string:tokens(Algs, ",")],
ssl_opts(Opts, [{supported_groups, AlgList} | Acc]);
ssl_opts([_|Opts], Acc) ->
ssl_opts(Opts, Acc).

Expand Down
Loading