How to not hardcode passwords?
问题 In my last question "Portable database for storing secrets" the best answer until now tell to use sqlite-crypt. Reading sqlite-crypt docs, the new param for open the database is the pass-phrase. Of course, I don't want hardcode the password, so I was thinking what the best, simple and fast method to store that password? 回答1: Some options. Ask the user for a passkey (aka they memorize one password to get to all their password) (good idea) Create a key on the first startup of the app, which is