Re: Data corruption after upgrade.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Theunis De Klerk wrote:
Were these applications that pre-hashed the SSHA passwords, then sent
the pre-hashed SSHA password to the server, when adding a user or
modifying the password?  If so, then it could be that the legacy SSHA
handling was broken.

Here is an example of the perl code I used to create the password.

<snip>
my $password = 'thepassword';
use Digest::SHA1;
use MIME::Base64;
my $ctx = Digest::SHA1->new;
$ctx->add($password);
$ctx->add('salt');
my $hashedPasswd = '{SSHA}' . encode_base64($ctx->digest . 'salt' ,'');
</snip>

i.e: the way not to do it.
thanks - https://bugzilla.redhat.com/show_bug.cgi?id=518520
--
389 users mailing list
389-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

<<attachment: smime.p7s>>

--
389 users mailing list
389-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux