So in order to move everything towards self-hosting, I recently migrated LastPass to KeePass. So far so good, just more of a hassle entering my password to unlock every so often.
Overall view: I went from a third party cloud based company that conveniently stored all my passwords to a self hosted password manager with a HTTP extension that allows filling sign in’s automatically. The main downside to my current setup is that KeePass has to be running in the system tray at all times so you have to make sure to auto-lock at certain time intervals. This of course makes it brutal as almost every time I need a password, I have to unlock my database first and that password is long! I guess, as with anything with security you are trying to balance convenience with security.
# Programs: Keepass itself, KeePass Helper (Google Extension), and KeePass Google Sync (KeePass Extension)
1a. Install KeePass with KeePass Helper (Google Extension)
1b. Download/Install KeePassHttp by dropping KeePassHttp.plgx into the KeePass Program Files directory
1c. Log into KeePass
1d. Verify KeePassHttp has been installed correctly by checking Tools > Plugins
1e. Navigate to any page containing a password
1f. Click the toolbar button
1g. Switch to the KeePass window and enter a descriptive name into the dialog that popped up and click save.
1h. Your passwords are now securely retrieved from KeePass and automatically entered into password forms and fields when needed.
- This worked great until I got home and started having renames on my Google Drive due to it being open in both places. So then I download/installed KeePass Google Drive Extension:
2b. Create a new project – call it Keepass Google Sync
2c. Enable Drive API on Library Screen
2d. Go to credentials – Oauth Consent Screen – fill in your email and ProductName = Keepass Google Sync – Save.
2e. Go to credentials – Create Credentials – Oauth 2.0 – Other – Copy client ID and password.
2f. Now copy the plug in to your plugins and open up Keepass.
2g. Make an entry with your Google credentials using https://accounts.google.com/ in the URL. On that entry, go to Properties tab and copy the UUID at the bottom of the box.
2h. Enter them in Tools – Google Sync – Configuration
2i. Sign in to Google – then do an initial sync.
2j. From now on, just sync with google!