ok, i am trying to understand. i'm using web2py 2.22.5 under centos 8 in console only mode. i searched all of my application files and there is no hint of auth.settings.hmac_key = "such and such". when i access auth, session, request, etc., i can see an hmac_key key in auth.settings but it is None, AND i see a session changing value under session.auth with an equal value under response. but again, that changes with each login.
i grep'd "hmac_key" under gluon and found "pbkdf2_hex" and "simple_hash" under gluon/packages/dal/pydal/validators.py, and i suspect i would access and use these functions based on previous posts asking similar questions, but i have no idea how to import them and then use them in a bash/python script file to reproduce the hash in a password field under web2py.
so i ask again: "in linux/bash script code, not web2py interface [or application], 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?"