Re: [exim] Supported password hash schemes

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Evgeniy Berdnikov
Date:  
À: exim-users
Sujet: Re: [exim] Supported password hash schemes
On Sat, Dec 20, 2014 at 05:10:34PM +0100, Yves Goergen wrote:
> What password hash schemes does Exim 4.82 on Ubuntu 14.04 support? I found
> the crypteq string expansion [1] that only mentions md5 and sha1 schemes and
> an unspecified platform-handoff (crypt). crypt16 is probably irrelevant.
> Also, it mentions optional {...} prefixes but not the common $1$, $6$ etc.
> prefixes. Are they alone also recognised?


Yes, $1$ and $6$ are recognised, as crypt(3) does.
Just make a simple test:

% exim4 -be '${if crypteq {test}{\$6\$mMJzRX7T\$B3gm2YwdFA6SktENTseorInMysEXyv4EYz08qa6RLCjQz8O4w.ALhNmfeukmUXeifkn2jmiMl43nTDBnllH900}{yes}{no}}'
yes
%

--
Eugene Berdnikov