[Rt-devel] Re: [rt-users] Password Fix

Winn Johnston winn_johnston at yahoo.com
Sat Apr 15 12:12:55 EDT 2006


I just wanted to share this perl code with everyone.
It seems the wiki is out of date. Please note Ruslan's
message.

--- Ruslan Zakirov <ruslan.zakirov at gmail.com> wrote:

> Sorry, new code really uses md5hex instead of
> md5base64, you can
> convert old values with next perl code:
> 
> use MIME::Base64 qw(); use bytes;
> my $md5 = MIME::Base64::decode($old_encoded_pwd);
> $md5 =~ s/(.)/sprintf "%02x",ord($1)/gmse;
> 
> This code converts from md5base64 to md5hex, but I
> don't know how to
> check if it's allready md5hex or old md5base64
> value.
> 
> 
> On 4/15/06, Winn Johnston <winn_johnston at yahoo.com>
> wrote:
> > Example
> >
> > old rt
> > QwqhL3Eta7K7mokTeDhv2w
> > new rt
> > 430aa12f712d03bb9a891378386fdb
> >
> > 
> >
> > the newrt works with mod_auth_mysql md5.
> >
> >
> > --- Ruslan Zakirov <ruslan.zakirov at gmail.com>
> wrote:
> >
> > > As I know there were no change since RT-3.0.0 at
> > > least, Password field
> > > is MD5 base64 encoded.
> > >
> > > On 4/15/06, Winn Johnston
> <winn_johnston at yahoo.com>
> > > wrote:
> > > > I am looking for a script that will parse the
> > > newly
> > > > upgraded (3.0.1 -> 3.4.5)Users Password
> fields.
> > > The
> > > > change takes place once a userlogs in for the
> > > first
> > > > time on the new system. However it would be
> nice
> > > if
> > > > there was a script that would commit the
> change
> > > for
> > > > me, becuase we auth against that user
> database,
> > > and i
> > > > need one standard encryption method to be
> ussed.
> > > >
> > > > Thanks in adavance
> > > > winn johnston
> > > >
> > > >


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Rt-devel mailing list