[ejabberd] ejabberd mysql and password

Badlop badlop at gmail.com
Fri Aug 10 12:51:25 MSK 2018


Hi

By default passwords are stored plaintext. You can configure ejabberd
with this option, and then it will store the passwords of new accounts
in SCRAM format:
auth_password_format: scram

See https://docs.ejabberd.im/admin/configuration/#internal

Also, you probably want the passwords of the existing accounts to be
converted from plaintext to SCRAM.
For that, run this command:
ejabberdctl convert_to_scram example.org

See https://docs.ejabberd.im/admin/configuration/#sql-authentication

PD: All this works when using mysql backend, like you do, even if the
documentation is not clear about this.

--
Badlop
ProcessOne

On Thu, 9 Aug 2018 at 16:12, Thomas Camaran <camaran at gmail.com> wrote:
>
> Hi,
>
> i have ejabberd running with mysql database, how i can encrypt all password in db?
>
> --
> ________________________________
> Thomas Camaran
> ________________________________
> Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return email and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone.
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd


More information about the ejabberd mailing list