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
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 then hashed in your own unique way (bad idea)
Use a mixture of the above, aka give users the options of one, or two (remember my password checkbox)