It should be the same as auth.settings.hmac_key, probably set in db.py auth.settings.hmac_key = ( "sha512:whatever-your-has-string-is" # before define_tables() )
On Thu, Aug 18, 2022 at 7:44 AM lucas <sjluk...@gmail.com> wrote: > but how do you generate the hash string from the regular text string? > > On Thursday, August 18, 2022 at 8:40:35 AM UTC-4 Jim S wrote: > >> Here is what I'm using: >> >> password = str(CRYPT(key= >> "pbkdf2(1000,20,sha512):whatever-your-hash-string-is")(unhashed)[0]) >> >> On Wednesday, August 17, 2022 at 9:01:32 PM UTC-5 lucas wrote: >> >>> hello one and all, >>> in linux/bash script code, not web2py interface, how do i take a regular >>> string and convert it into the password that is stored in the password in >>> the auth_user table under web2py version 2.22.5? >>> thank you in advance, lucas >>> >> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/801jh-wneL0/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > web2py+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/2b0bd3f4-5dbc-49b5-b40e-e50e616b9d1dn%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/2b0bd3f4-5dbc-49b5-b40e-e50e616b9d1dn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CAERBpoBW0xJ7e%2BVbNeOpar_K3jG%2Btq03Vkxa21n95rZ0WUpyyA%40mail.gmail.com.