Dear Niphlod,
Thanks for the reply.
appadmin.py ships with the application, so if you really copied the
> "controllers" folder you'd have the same file.
Of course you are right. I only copied the files i [thought i] had changed.
That's why i was surprised to find that
appadmin.py.windows != appadmin.py.linux
BTW, pbkdf2 was introduced ~2 months ago
>
I created myapp on the Linux [webfaction] machine yesterday. I tried to
copy it to my Windows [home] machine today.
BTW2: if you copied an app that used the sha512 algo an tried to load it
> into a *newer* web2py release...
I am trying to copy myapp FROM the Linux [webfaction] machine TO my Windows
[home] machine. When I created myapp on the Linux machine, I created a
myapp using the "New simple application create" function. I never [to my
knowledge] altered anything related to CRYPT. So i believe the pbkdf2 algo
was generated at app creation time on the Linux [webfaction] machine.
BTW3: to pass around an app just ...
Thanks BIG TIME for this. I will try these suggestions.
BTW4: I seem to recall that very old python calculated hashes differently.
I am using python 2.7 on BOTH the Windows and Linux machines.
Thanks for the responses, Niphlod. I'll report back after trying BTW3.
Thanks again, Niphlod.
Love and peace,
Joe
On Thursday, December 6, 2012 12:19:40 PM UTC-8, Niphlod wrote:
>
> appadmin.py ships with the application, so if you really copied the
> "controllers" folder you'd have the same file.
> BTW, pbkdf2 was introduced ~2 months ago.
> BTW2: if you copied an app that used the sha512 algo an tried to load it
> into a *newer* web2py release, as soon as the user entered the password
> would be updated to the pbkdf2 algo (unless you were using some explicit
> IS_CRYPT() validator or the auth_key param on auth, I think).
> BTW3: to pass around an app just log into admin and hit "create package"
> (or tar.gz the entire applications/myapp folder and load it locally with
> "upload package")
> BTW4: I seem to recall that very old python calculated hashes differently.
> However, it would not be the case unless BTW2 (some fixed auth_key in auth
> instantiation or explicit IS_CRYPT() validator)
>
>
--