=== Test case: login_SUITE:scram_failed_with_non_authorized/1 (click for source code)
=== Config value:
[{c2s_listener,#{access => c2s,backlog => 1024,
backwards_compatible_session => true,
c2s_state_timeout => 5000,connection_type => undefined,
hibernate_after => 0,ip_address => "0",
ip_tuple => {0,0,0,0},
ip_version => 4,max_connections => infinity,
max_stanza_size => 65536,module => mongoose_c2s_listener,
num_acceptors => 100,port => 5222,proto => tcp,
proxy_protocol => false,reuse_port => false,
shaper => c2s_shaper,
tls =>
#{certfile => "priv/ssl/fake_server.pem",
ciphers => "TLSv1.2:TLSv1.3",
dhfile => "priv/ssl/fake_dh_server.pem",
mode => starttls,module => fast_tls,
protocol_options =>
["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"],
verify_mode => none}}},
{watchdog,<0.7810.1>},
{preset,"pgsql_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/login_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@5577db44dfed.2024-04-22_14.40.15/big_tests.tests.login_SUITE.logs/run.2024-04-22_14.48.37/login_suite.scram_failed_with_non_authorized.97666.html"},
{tc_group_properties,[{name,login_scram_tls},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/login_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@5577db44dfed.2024-04-22_14.40.15/big_tests.tests.login_SUITE.logs/run.2024-04-22_14.48.37/log_private/"},
{config_backup,#{{auth,<<"test type">>} =>
{ok,#{max_users_per_domain => infinity,
methods => [rdbms],
password =>
#{format => scram,
hash => [sha256],
scram_iterations => 64},
rdbms => #{users_number_estimate => false},
sasl_external => [standard],
sasl_mechanisms =>
[cyrsasl_scram_sha512_plus,
cyrsasl_scram_sha512,
cyrsasl_scram_sha384_plus,
cyrsasl_scram_sha384,
cyrsasl_scram_sha256_plus,
cyrsasl_scram_sha256,
cyrsasl_scram_sha224_plus,
cyrsasl_scram_sha224,
cyrsasl_scram_sha1_plus,
cyrsasl_scram_sha1,cyrsasl_plain,
cyrsasl_anonymous,cyrsasl_oauth]}}}},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>},
{ssl,true},
{ssl_opts,[{verify,verify_none}]}]},
{neustradamus,[{username,<<"neustradamus">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"scramshaplus">>},
{tls_module,fast_tls},
{ssl,true},
{ssl_opts,[{verify,verify_none}]}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@5577db44dfed.2024-04-22_14.40.15"
=== Started at 2024-04-22 14:48:39
*** User 2024-04-22 14:48:39.937 ***🔗
alicE_scram_failed_with_non_authorized_1684@domain.example.com out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-22 14:48:39.937 ***🔗
alicE_scram_failed_with_non_authorized_1684@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='165d13d7d0489950' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-22 14:48:39.937 ***🔗
alicE_scram_failed_with_non_authorized_1684@domain.example.com in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-512-PLUS</mechanism>
<mechanism>SCRAM-SHA-512</mechanism>
<mechanism>SCRAM-SHA-384-PLUS</mechanism>
<mechanism>SCRAM-SHA-384</mechanism>
<mechanism>SCRAM-SHA-256-PLUS</mechanism>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>SCRAM-SHA-224-PLUS</mechanism>
<mechanism>SCRAM-SHA-224</mechanism>
<mechanism>SCRAM-SHA-1-PLUS</mechanism>
<mechanism>SCRAM-SHA-1</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-22 14:48:39.938 ***🔗
alicE_scram_failed_with_non_authorized_1684@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='SCRAM-SHA-1'>biwsbj1hbGljRV9zY3JhbV9mYWlsZWRfd2l0aF9ub25fYXV0aG9yaXplZF8xNjg0LHI9OVpkVytvNzFPd09yRFV4NEo1K00rQT09</auth>
*** User 2024-04-22 14:48:39.939 ***🔗
alicE_scram_failed_with_non_authorized_1684@domain.example.com in
<challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>cj05WmRXK283MU93T3JEVXg0SjUrTStBPT12QU8rWjlNZFFLaU9WN0V3M3llcmlBPT0scz15SnlJdXp1Q3Z0QXFOckxPRlVPSFNRPT0saT02NA==</challenge>
*** User 2024-04-22 14:48:39.939 ***🔗
alicE_scram_failed_with_non_authorized_1684@domain.example.com out
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Yz1iaXdzLHI9aW52YWxpZF9ub25jZSxwPXdyb25nX3Byb29m</response>
*** User 2024-04-22 14:48:39.941 ***🔗
alicE_scram_failed_with_non_authorized_1684@domain.example.com in
<failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<not-authorized/>
</failure>
=== Ended at 2024-04-22 14:48:39
=== successfully completed test case
=== === Returned value: ok