- **status**: open --> closed-fixed
- **Comment**:
PostfixAdmin 3.2 (which we just released) supports $CONF['encrypt'] = 'php_crypt:$METHOD'
---
** [patches:#121] multiple hash algorithms using system's crypt in pacrypt**
**Status:** closed-fixed
**Group:** SVN (please specify revision!)
**Created:** Fri Aug 30, 2013 11:34 AM UTC by Magnus Stenman
**Last Updated:** Tue Mar 07, 2017 01:24 AM UTC
**Owner:** nobody
**Attachments:**
- [functions.inc.php.patch](https://sourceforge.net/p/postfixadmin/patches/121/attachment/functions.inc.php.patch) (2.8 kB; text/x-diff)
This patch adds another $CONF['encrypt'] type, 'php_crypt', which uses the PHP crypt() function, which in turn uses the system's crypt() (much like the current 'system' type in postfixadmin-2.3.6)
The difference to the current 'system' type is that you can choose which hash type you want to use for new passwords. (currently DES, MD5, Blowfish, SHA256, SHA512; defaults to )
The current 'system' type only generates MD5 hashes with 2-character salt.
I do not have 'dovecotpw' on my system so that was not an option.
It does not interfere with existing 'encrypt' types, but could be incorporated into the 'system' type.
Tested on CentOS 5 and 6, Dovecot 2 and Postfix.
---
Sent from sourceforge.net because pos...@li... is subscribed to https://sourceforge.net/p/postfixadmin/patches/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/postfixadmin/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |