[jdev] Mysql authreg why not encrypted?

Tomasz Sterna tomek at xiaoka.com
Fri Apr 11 03:32:59 CDT 2008


Dnia 2008-04-10, czw o godzinie 23:55 -0400, rek2 pisze:
> Hi I am writing a front end for jabberd2 and I wonder why jabberd2
> does not has the option to encrypt the password in the db?

Well... Are you sure it does not have the option? ;-)

smoku at wing:~/devel/jabberd2$ less etc/c2s.xml.dist.in
[...]
      <!-- Passwords in DB may be stored in plain or hashed format -->
      <!-- NOTE: If you are using hashed passwords, the only auth
                 method that will work is PLAIN.
                 Make sure that you disabled others in 'mechanisms'
                 sections of the config file. -->
      <password_type>
        <!-- only one may be enabled here -->
        <plaintext/>
        <!-- use crypt(3)ed passwords
        <crypt/>
        -->
      </password_type>
    </mysql>
[...]

-- 
  /\_./o__ Tomasz Sterna
 (/^/(_^^' http://www.xiaoka.com/
._.(_.)_   im:smoku at xiaoka.com




More information about the JDev mailing list