R8 mod_auth re-organisation

Sean Hinde <>
Thu Jun 20 17:53:42 CEST 2002


There is always the erlang:md5/1 BIF - no need to use crypto at all to just
get md5

Sean

> -----Original Message-----
> From: Matthias Lang [mailto:]
> Sent: 20 June 2002 15:59
> To: 
> Subject: R8 mod_auth re-organisation
> 
> 
> Hi,
> 
> I just noticed that basic authentication in the INETs http server
> doesn't work if you compile erlang without openSSL. This worked in R7.
> 
> Looking at mod_auth.erl, it appears to have undergone a total
> rewrite. It now stores md5 hashes of passwords instead of the
> passwords themselves, even when using plain, cleartext password
> files. This is probably a feature.
> 
> I can only think of two ways to avoid this
> 
>   1. build erlang with openSSL
>   2. modify mod_auth
> 
> I did the latter. Is there a another way?
> 
> My hack is attached, in case it's of use to anyone else. 
> 
> Matthias
> 
> 



NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.



More information about the erlang-questions mailing list