authmysqlrc using mysql SHA1 passwords

View: New views
2 Messages — Rating Filter:   Alert me  

authmysqlrc using mysql SHA1 passwords

by Aaron Johnson-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

All,

I am trying to use courier-authlib with mysql that currently has a password field encrypted using the mysql SHA1() function.

  1. Is this possible?
  2. Is there a better way to do this them with authmysqlrc config file?
  3. How is this best accomplished

Thanks,
AJ


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
courier-users mailing list
courier-users@...
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Re: authmysqlrc using mysql SHA1 passwords

by Sam Varshavchik :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Aaron Johnson writes:

> All,
>
> I am trying to use courier-authlib with mysql that currently has a
> password field encrypted using the mysql SHA1() function.
>
> • Is this possible?

Only if mysql's SHA1() function produces a base64-encoded sha1 hash,
with a {SHA} prefix.

> • Is there a better way to do this them with authmysqlrc config file?
>
> • How is this best accomplished

Run 'authpasswd sha1', and enter a sample password. The resulting output
should be saved in the database field, as the SHA1 password.




------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
courier-users mailing list
courier-users@...
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

attachment0 (204 bytes) Download Attachment