Use dovecot hash method in an external script ?

  • Anonymous - 2013-09-15


    I have an external script use php function for hash password.

    I want use dovecot sha512 + salt hash method.

    How can I use your function in my script ?


  • Christian Boltz

    Christian Boltz - 2013-09-15

    include('common.php') and then call the pacrypt() function.

    But: salted dovecot:* password encryption is a one-way road. You can use it to create password hashes, but you won't be able to login to PostfixAdmin with it because "doveadm pw" doesn't allow to specify the hash, so PostfixAdmin can't use it to verify the password.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks