Skip to content

Hardcoding Password in db_connect.py #5

@Fretless14

Description

@Fretless14

Hi Grant,

I'm a little confused why you have the password hardcoded in the db_connect file (the ******** in the input of the function). Doesn't this defeat the purpose of hashing the master password and verifying the password input if it's directly in the connection function? Just trying to learn how to build this password manager/how it works as I'm a beginner as well :) Currently building my own PW manager for a small app I'm making.

Just concerned if somehow someone could just directly use this 'connect' function? Should we save the password input in a variable and format the string with the password?

Appreciate it!
-Michael

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions