Skip to content
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
47 changes: 47 additions & 0 deletions deps/rabbit/test/config_schema_SUITE_data/rabbit.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,37 @@ default_permissions.write = .*",
{default_user_tags,[administrator]},
{default_permissions,[<<".*">>,<<".*">>,<<".*">>]}]}],
[]},

{default_user_generated_password_case1,
"default_user = guest
# contains a generated value with a colon, which Cuttlefish versions before 3.5.0
# were parsed as tagged values even though the user intent was different
default_pass = 'a%%b12:12323'",
[{rabbit, [
{default_user, <<"guest">>},
{default_pass, <<"a%%b12:12323">>}
]}],
[]},

{default_user_generated_password_case2,
"default_user = guest
default_pass = 'K9#mL2vX@8nQ4wR7$pE6'",
[{rabbit, [
{default_user, <<"guest">>},
{default_pass, <<"K9#mL2vX@8nQ4wR7$pE6">>}
]}],
[]},

{default_user_encrypted_password,
"default_user = guest
# contains a tagged value
default_pass = encrypted:GhC4J5lh2DUkbdyKO0aMI8aYJ54mwe4eEWzou4yRFAHMF82IbD6cRiYAiBa8UIzR",
[{rabbit, [
{default_user, <<"guest">>},
{default_pass, {encrypted, <<"GhC4J5lh2DUkbdyKO0aMI8aYJ54mwe4eEWzou4yRFAHMF82IbD6cRiYAiBa8UIzR">>}}
]}],
[]},

{anonymous_login_user,
"anonymous_login_user = none",
[{rabbit,
Expand Down Expand Up @@ -572,6 +603,22 @@ tcp_listen_options.exit_on_close = false",
{keyfile,"test/config_schema_SUITE_data/certs/key.pem"},
{password,<<"t0p$3kRe7">>}]}]}],
[]},

{ssl_options_encrypted_password,
"listeners.ssl.1 = 5671
ssl_options.cacertfile = test/config_schema_SUITE_data/certs/cacert.pem
ssl_options.certfile = test/config_schema_SUITE_data/certs/cert.pem
ssl_options.keyfile = test/config_schema_SUITE_data/certs/key.pem
ssl_options.password = encrypted:GhC4J5lh2DUkbdyKO0aMI8aYJ54mwe4eEWzou4yRFAHMF82IbD6cRiYAiBa8UIzR",
[{rabbit,
[{ssl_listeners,[5671]},
{ssl_options,
[{cacertfile,"test/config_schema_SUITE_data/certs/cacert.pem"},
{certfile,"test/config_schema_SUITE_data/certs/cert.pem"},
{keyfile,"test/config_schema_SUITE_data/certs/key.pem"},
{password, {encrypted, <<"GhC4J5lh2DUkbdyKO0aMI8aYJ54mwe4eEWzou4yRFAHMF82IbD6cRiYAiBa8UIzR">>}}]}]}],
[]},

{ssl_options_tls_ver_old,
"listeners.ssl.1 = 5671
ssl_options.cacertfile = test/config_schema_SUITE_data/certs/cacert.pem
Expand Down
2 changes: 1 addition & 1 deletion rabbitmq-components.mk
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ dep_accept = hex 0.3.5
dep_cowboy = hex 2.13.0
dep_cowlib = hex 2.14.0
dep_credentials_obfuscation = hex 3.5.0
dep_cuttlefish = hex 3.4.0
dep_cuttlefish = hex 3.5.0
dep_gen_batch_server = hex 0.8.8
dep_jose = hex 1.11.10
dep_khepri = hex 0.16.0
Expand Down
Loading