Skip to content

Commit 5ed8ac5

Browse files
Merge pull request #14365 from rabbitmq/mergify/bp/v4.1.x/pr-14364
Cuttlefish 3.5.0 (backport #14364)
2 parents 7ada4d3 + 6b47552 commit 5ed8ac5

File tree

2 files changed

+48
-1
lines changed

2 files changed

+48
-1
lines changed

deps/rabbit/test/config_schema_SUITE_data/rabbit.snippets

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,37 @@ default_permissions.write = .*",
234234
{default_user_tags,[administrator]},
235235
{default_permissions,[<<".*">>,<<".*">>,<<".*">>]}]}],
236236
[]},
237+
238+
{default_user_generated_password_case1,
239+
"default_user = guest
240+
# contains a generated value with a colon, which Cuttlefish versions before 3.5.0
241+
# were parsed as tagged values even though the user intent was different
242+
default_pass = 'a%%b12:12323'",
243+
[{rabbit, [
244+
{default_user, <<"guest">>},
245+
{default_pass, <<"a%%b12:12323">>}
246+
]}],
247+
[]},
248+
249+
{default_user_generated_password_case2,
250+
"default_user = guest
251+
default_pass = 'K9#mL2vX@8nQ4wR7$pE6'",
252+
[{rabbit, [
253+
{default_user, <<"guest">>},
254+
{default_pass, <<"K9#mL2vX@8nQ4wR7$pE6">>}
255+
]}],
256+
[]},
257+
258+
{default_user_encrypted_password,
259+
"default_user = guest
260+
# contains a tagged value
261+
default_pass = encrypted:GhC4J5lh2DUkbdyKO0aMI8aYJ54mwe4eEWzou4yRFAHMF82IbD6cRiYAiBa8UIzR",
262+
[{rabbit, [
263+
{default_user, <<"guest">>},
264+
{default_pass, {encrypted, <<"GhC4J5lh2DUkbdyKO0aMI8aYJ54mwe4eEWzou4yRFAHMF82IbD6cRiYAiBa8UIzR">>}}
265+
]}],
266+
[]},
267+
237268
{anonymous_login_user,
238269
"anonymous_login_user = none",
239270
[{rabbit,
@@ -572,6 +603,22 @@ tcp_listen_options.exit_on_close = false",
572603
{keyfile,"test/config_schema_SUITE_data/certs/key.pem"},
573604
{password,<<"t0p$3kRe7">>}]}]}],
574605
[]},
606+
607+
{ssl_options_encrypted_password,
608+
"listeners.ssl.1 = 5671
609+
ssl_options.cacertfile = test/config_schema_SUITE_data/certs/cacert.pem
610+
ssl_options.certfile = test/config_schema_SUITE_data/certs/cert.pem
611+
ssl_options.keyfile = test/config_schema_SUITE_data/certs/key.pem
612+
ssl_options.password = encrypted:GhC4J5lh2DUkbdyKO0aMI8aYJ54mwe4eEWzou4yRFAHMF82IbD6cRiYAiBa8UIzR",
613+
[{rabbit,
614+
[{ssl_listeners,[5671]},
615+
{ssl_options,
616+
[{cacertfile,"test/config_schema_SUITE_data/certs/cacert.pem"},
617+
{certfile,"test/config_schema_SUITE_data/certs/cert.pem"},
618+
{keyfile,"test/config_schema_SUITE_data/certs/key.pem"},
619+
{password, {encrypted, <<"GhC4J5lh2DUkbdyKO0aMI8aYJ54mwe4eEWzou4yRFAHMF82IbD6cRiYAiBa8UIzR">>}}]}]}],
620+
[]},
621+
575622
{ssl_options_tls_ver_old,
576623
"listeners.ssl.1 = 5671
577624
ssl_options.cacertfile = test/config_schema_SUITE_data/certs/cacert.pem

rabbitmq-components.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ dep_accept = hex 0.3.5
4343
dep_cowboy = hex 2.13.0
4444
dep_cowlib = hex 2.14.0
4545
dep_credentials_obfuscation = hex 3.5.0
46-
dep_cuttlefish = hex 3.4.0
46+
dep_cuttlefish = hex 3.5.0
4747
dep_gen_batch_server = hex 0.8.8
4848
dep_jose = hex 1.11.10
4949
dep_khepri = hex 0.16.0

0 commit comments

Comments
 (0)