Same patch for 3.0.2.
Tested on CentOS 7.
- [functions.inc.php.patch](https://sourceforge.net/p/postfixadmin/patches/_discuss/thread/cab097a0/33e3/attachment/functions.inc.php.patch) (3.5 kB; application/octet-stream)
** [patches:#121] multiple hash algorithms using system's crypt in pacrypt**
**Group:** SVN (please specify revision!)
**Created:** Fri Aug 30, 2013 11:34 AM UTC by Magnus Stenman
**Last Updated:** Sun Jul 12, 2015 12:45 PM UTC
- [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 postfixadmin-tracker@... 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.
Get latest updates about Open Source Projects, Conferences and News.