8 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Re: MD5 passwords
FromSent OnAttachments
Mark BucciarelliJan 27, 2006 4:35 am 
Sergiy ZhukJan 27, 2006 9:43 am 
Mark BucciarelliJan 27, 2006 11:10 am 
Sam VarshavchikJan 27, 2006 3:19 pm 
Mark BucciarelliJan 29, 2006 9:24 am 
Jerry AmundsonJan 29, 2006 11:10 am 
Mark BucciarelliJan 30, 2006 2:21 pm 
Mark BucciarelliJan 30, 2006 6:34 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Re: MD5 passwordsActions...
From:Mark Bucciarelli (ma@gaiahost.coop)
Date:Jan 30, 2006 2:21:43 pm
List:net.sourceforge.lists.courier-users

On Sun, Jan 29, 2006 at 01:10:41PM -0600, Jerry Amundson wrote:

On Sun January 29 2006 11:24, Mark Bucciarelli wrote:

Bummer. PHP's md5() uses hex-encoding. I wanted to auth against a Drupal user db.

Like http://us2.php.net/manual/en/function.md5.php says?

<?php

function md5_base64 ( $data ) { return preg_replace('/=+$/','',base64_encode(pack('H*',md5($data)))); }

Do you have one I can use in a MySQL SQL statement? ;)

Given the relative rate of security bulletins for Drupal vs. Courier, I would rather not maintain a Drupal fork.

For now, the answer is separate MySql tables.

m