Jonathan said: "Try this instead: change CRYPT() to CRYPT(salt=False)"
Thanks, Jonathan. I think this is what you mean. Here's what happened.
Windows Try
-----------
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\joe>cd C:\web2py
C:\web2py>python web2py.py -S myAppNotReally -M
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2012
Version 2.2.1 (2012-10-21 16:57:04) stable
Database drivers available: SQLite(sqlite3), MySQL(pymysql), PostgreSQL(
pg8000), IMAP(imaplib)
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]
Type "copyright", "credits" or "license" for more information.
IPython 0.13 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [2]: CRYPT(salt=False)('NewFish04pw')==
"pbkdf2(1000,20,sha512)$a94f2bd3a071cfa8$69e71be8683802edbb83dfc2cb97dfea97ab7
Out[2]: False
In [3]:Enter code here...
Thanks, Jonathan.
Love and peace,
Joe
On Wednesday, December 12, 2012 9:36:36 AM UTC-8, Jonathan Lundell wrote:
>
> On 12 Dec 2012, at 9:29 AM, JoeCodeswell <[email protected]<javascript:>>
> wrote:
>
> Dear Massimo,
>
> When i tried to
>
> db.auth_user.password.validators[0].salt = False
>
>
> Here's what happened.
>
>
> Try this instead: change CRYPT() to CRYPT(salt=False)
>
--