Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 09 Feb 2012 03:15:46 +0100
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Drupal 7

On 01/16/2012 12:12 AM, Solar Designer wrote:
> Here's one more: Drupal 7 uses a revision of phpass with MD5 replaced
> with SHA-512 and hashes cut at 258 bits (yes, 258 - that's a multiple of 6).
> These hash encodings use the $S$ prefix.  Perhaps we should support them.

I just committed this format. Painfully slow but supports OMP.

I did not bother with verifying the last 2 bits. In fact I suspect the
current version of binary() does not put them right. But 256 bits ought
to be enough, yes? And cmp_all() just checks ARCH_SIZE of the binaries,
I believe that is reasonable.

I googled for test hashes and the few I found was used as self-tests.

magnum

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ