Skip to content

native_python: Use a password hash instead of a clear text password #255

Description

@fusion44

Right now the api reads the clear text password from the environment. Change thid to use a precomputed hashed password instead.

matches = secrets.compare_digest(i.password, config("login_password", cast=str))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions