ejabberd - Comments for "No DIGEST-MD5 mechanism" https://www.ejabberd.im/node/24952 en Scram is not activated NOW, https://www.ejabberd.im/node/24952#comment-65766 <p>Scram is not activated NOW, but maybe it was activated sometime in the past? If the first password stored in the internal table is scrammed, then DIGEST-MD5 is disabled, regardless of what option you set.</p> <p>I tried this in my test server, where I have only one account:</p> <pre> &gt; mnesia:dirty_read(passwd, mnesia:dirty_first(passwd)). [{passwd,{&lt;&lt;"user1"&gt;&gt;,&lt;&lt;"localhost"&gt;&gt;},&lt;&lt;"mypass11"&gt;&gt;}] 1&gt; ejabberd_auth:store_type(&lt;&lt;"localhost"&gt;&gt;). plain &gt; cyrsasl:listmech(&lt;&lt;"localhost"&gt;&gt;). [&lt;&lt;"PLAIN"&gt;&gt;,&lt;&lt;"DIGEST-MD5"&gt;&gt;,&lt;&lt;"SCRAM-SHA-1"&gt;&gt;] </pre><p> Then I set this and start ejabberd</p> <pre> auth_password_format: scram </pre><p> Later I stop ejabberd, set this and start ejabberd again:</p> <pre> auth_password_format: plain </pre><p> As there is some scrammed password, then ejabberd doesn't show DIGEST-MD5:</p> <pre> &gt; mnesia:dirty_read(passwd, mnesia:dirty_first(passwd)). [{passwd,{&lt;&lt;"user1"&gt;&gt;,&lt;&lt;"localhost"&gt;&gt;}, {scram,&lt;&lt;"G2jTZua9GufUpwViWR9H8MnKDaU="&gt;&gt;, &lt;&lt;"PP1AODhPY5SEPZ8FOzgnqYtsDYA="&gt;&gt;, &lt;&lt;"jsQdxV3ygB7xMH+DpkNjgw=="&gt;&gt;,4096}}] &gt; ejabberd_auth:store_type(&lt;&lt;"localhost"&gt;&gt;). scram &gt; cyrsasl:listmech(&lt;&lt;"localhost"&gt;&gt;). [&lt;&lt;"PLAIN"&gt;&gt;,&lt;&lt;"SCRAM-SHA-1"&gt;&gt;] </pre> Wed, 17 Jun 2015 13:55:46 +0000 badlop comment 65766 at https://www.ejabberd.im Hi, passwords are stored in https://www.ejabberd.im/node/24952#comment-65765 <p>Hi,</p> <p>passwords are stored in plain. scram is not activated. </p> <p>Best regards<br /> Daniel</p> Wed, 17 Jun 2015 05:31:52 +0000 DannyP comment 65765 at https://www.ejabberd.im And do you have the passwords https://www.ejabberd.im/node/24952#comment-65764 <p>And do you have the passwords stored in plain or in scram?</p> <p>With scram, digest auth isn't available:</p> <pre> auth_password_format: scram </pre> Tue, 16 Jun 2015 23:01:40 +0000 badlop comment 65764 at https://www.ejabberd.im