Re: [exim] MD5 and Exim

Página Inicial
Delete this message
Reply to this message
Autor: Phil Jordan
Data:  
Para: exim-users
Assunto: Re: [exim] MD5 and Exim
<Blush>

I didn't spot that. Thank you very much for the prompt and helpful reply
Philip.

Phil

On Mon, 18 Oct 2004 11:14:43 +0100 (BST), Philip Hazel wrote
> On Mon, 18 Oct 2004, Phil Jordan wrote:
>
> > I am no expert in this area. Can someone (Philip?) enlighten me on what's
> > actually required by Exim (for MD5 passwords) please? 32 characters

straight
> > hex? 24 characters (64-bit encoded)? Can it in fact cope with either?
>
> It's all documented. A quick grep of spec.txt for "md5" found this
> extract from section 11.6 in about 10 seconds:
>
>     .   "{md5}" computes the MD5 digest of the first string, and expresses
>         this as printable characters to compare with the remainder 
> of the            second string. If the length of the comparison 
> string is 24, Exim            assumes that it is base64 encoded (as 
> in the above example). If the        length is 32, Exim assumes that 
> it is a hexadecimal encoding of the        MD5 digest. If the length 
> not 24 or 32, the comparison fails.

>
> So the answer to your final question is "yes".
>
> -- 
> Philip Hazel            University of Cambridge Computing Service,
> ph10@???      Cambridge, England. Phone: +44 1223 334714.
> Get the Exim 4 book:    http://www.uit.co.uk/exim-book