RE: [courier-users] courier + mysql with md5-encrypted passwords

2003-03-18 Thread Bill
In <[EMAIL PROTECTED]>, on 03/18/03 at 12:40 PM, Bowie Bailey <[EMAIL PROTECTED]> said: >No, the quoted string is literal. I ran the exact same command on all >three boxes which should have given me a hashed version of the string 'my >pass'. >Bowie Which it did. But as the hash output is

RE: [courier-users] courier + mysql with md5-encrypted passwords

2003-03-18 Thread Mitch \(WebCob\)
EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bowie Bailey Sent: Tuesday, March 18, 2003 9:40 AM To: [EMAIL PROTECTED] Subject: RE: [courier-users] courier + mysql with md5-encrypted passwords No, the quoted string is literal. I ran the exact same command on all three boxes which should have gi

RE: [courier-users] courier + mysql with md5-encrypted passwords

2003-03-18 Thread Bowie Bailey
No, the quoted string is literal. I ran the exact same command on all three boxes which should have given me a hashed version of the string 'my pass'. Bowie From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Given that the output is different for each one, if 'my pass' > was the same on all

RE: [courier-users] courier + mysql with md5-encrypted passwords

2003-03-18 Thread Joe Laffey
On Wed, 19 Mar 2003 [EMAIL PROTECTED] wrote: > Given that the output is different for each one, if 'my pass' was the same > on all boxes, I would say, 'extremely portable NOT' > > If 'my pass' was not the same, what was the point? > > (or was the quoted string literal, not representational?) > >

RE: [courier-users] courier + mysql with md5-encrypted passwords

2003-03-18 Thread Bill
Given that the output is different for each one, if 'my pass' was the same on all boxes, I would say, 'extremely portable NOT' If 'my pass' was not the same, what was the point? (or was the quoted string literal, not representational?) Bill Hacker In <[EMAIL PROTECTED]>, on 03/18/03 at 09

RE: [courier-users] courier + mysql with md5-encrypted passwords

2003-03-18 Thread Bowie Bailey
From: Matt Hyclak [mailto:[EMAIL PROTECTED] > > [host]$ perl > print crypt('my pass','$1$') . "\n"; > $1$$ZgHOLxjS.UBCu4uVg70a91 > [host]$ > > Slightly more portable, as my linux crypt(3) doesn't support md5 :-) This is a bit off-topic, but... I ran this script on my Win2K box: C:\>perl print

Re: [courier-users] courier + mysql with md5-encrypted passwords

2003-03-18 Thread Mircea Damian
Starting from glibc-2.X crypt() support MD5 natively. On Mon, Mar 17, 2003 at 10:58:04PM +0100, Oliver Kuehne wrote: > Hi, > > I'm using debian + courier-imap + mysql > I want to save the passwords for authentification in the mysql-database with > md5. > I know that I have to use the md5 with ba

Re: [courier-users] courier + mysql with md5-encrypted passwords

2003-03-17 Thread Matt Hyclak
On Mon, Mar 17, 2003 at 09:55:15PM -0600, Joe Laffey enlightened us: > Perhaps there is some other solution, but I use a small C app I wrote. You > can get it at http://www.laffeycomputer.com/crypter.c Directions for > compiling it are in the comments. Note that your system's crypt(3) > function mu

Re: [courier-users] courier + mysql with md5-encrypted passwords

2003-03-17 Thread Joe Laffey
On Mon, 17 Mar 2003, Oliver Kuehne wrote: > Hi, > > I'm using debian + courier-imap + mysql > I want to save the passwords for authentification in the mysql-database with > md5. > I know that I have to use the md5 with base_64_encoding. > So, the word "secret" is c2VjcmV0 in mysql. > > In Courier'

[courier-users] courier + mysql with md5-encrypted passwords

2003-03-17 Thread Oliver Kuehne
Hi, I'm using debian + courier-imap + mysql I want to save the passwords for authentification in the mysql-database with md5. I know that I have to use the md5 with base_64_encoding. So, the word "secret" is c2VjcmV0 in mysql. In Courier's authmysqlrc is set: MYSQL_CRYPT_PWFIELD CONCAT('{MD5}

[courier-users] courier, mysql with md5 encrypted passwords

2003-03-17 Thread Oliver Kuehne
Hi, I'm using debian + courier-imap + mysql I want to save the passwords for authentification in the mysql-database with md5. I know that I have to use the md5 with base_64_encoding. So, the word "secret" is c2VjcmV0 in mysql. In Courier's authmysqlrc is set: MYSQL_CRYPT_PWFIELD CONCAT('{MD5}