Skip to content

Hash admin password — currently stored and compared as plaintext #19

@howwohmm

Description

@howwohmm

main.py:484 compares passwords as plaintext strings from env vars via hmac.compare_digest. The ingest-by-youtube-id endpoint (line 847) also takes admin password in the POST body. Solution: store bcrypt hash in env var, use bcrypt.checkpw for comparison. For the bookmarklet endpoint, switch to token-based auth.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions