KeePass with ProtonMail

KeePass 2 is an open source password manager for Windows. KeePass password containers (.kbdx files) can be stored locally or synced across devices by storing the .kbdx file on a cloud storage server or service (for example, Proton Drive, Dropbox, or Google Drive). 

Even if the cloud server is unsafe, the file is end-to-end encrypted using a password and optional key file that only you possess, so your passwords are secure (do not store the Key File in the cloud with the .kbdx file). 

Although KeePass 2 itself is a Windows app, its .kbdx files are interoperable with most password manager apps built on KeePass’s open source code. These include KeePass XC (Windows, macOS, Linux), KeePass for Android, and KeePassium (iOS). 

Note that the instructions below detail KeePass’s built-in Perform Auto-Type feature, but browser plugins such KeePassHttp provide a more seamless user experience.

How to setup KeePass

1. Download, install, and open KeePass 2.x. Then go to File New. Click OK to create a new database. You will be asked where you want to save it.

Screenshot of KeePass

2. Create a Master password and click OK. For additional options, such as creating a Key File that must be present to open the password database (providing 2FA), select the Show expert options checkbox.

Screenshot of KeePass master password

3. Select a name for your new database. Additional options, including changing the encryption cipher used to protect your passwords, are available by clicking on different tab buttons.

Screenshot of KeePass database settings

4. To create a new entry for ProtonMail, go to EntryAdd Entry… or just click the key icon in the taskbar.  
Give the entry a name (such as ProtonMail) and fill in your ProtonMail Username and Password. For the URL, use https://account.protonmail.com. Click OK when you are ready.

Screenshot of adding ProtonMail to KeePass

How to autofill your password using KeePass

As already noted, a number of plugins and browser add-ons exist that make it easier to autofill your password in your browser. In this guide, we’ll look at KeePass’s built-in autofill feature.

1. Select the ProtonMail entry you have just created and click the Open URL icon in the taskbar. This will open our login page at https://account.protonmail.com in your default browser.

Screenshot of setting up autofill for KeePass

2. Position your mouse cursor in the Email or username field and return to KeePass. Click the Perform Auto-Type icon and KeePass with autofill the username and password fields in your browser.

Rate This Article

(17 out of 36 people found this article helpful)
Post Comment

9 comments

  1. Anonymous

    Actually you can use the Auto-Type Feature to put in username, password and mailbox password with a single stroke. An instruction can be found here: https://www.reddit.com/r/ProtonMail/comments/3gysjf/configure_keepass_autotype_feature_for_easy_login/

  2. sam

    Hi KeePass User,

    This is more convenient: Define Field name “DECRYPT” with value “pwdMailDecryption” under Tab Advanced.
    Use this field under Tab Auto-Type as follow: {USERNAME}{TAB}{PASSWORD}{ENTER}{Delay 1500}{S:DECRYPT}{ENTER}

    B.R.
    sam

  3. Anonymous

    Thanks. After may different attempts with various tricks, this finally worked. I used a longer delay though (3500).

  4. somany0ne

    Hi guys,

    Sorry but I don’t really understand… I check for auto-type on both forms (login+mailbox) too.
    Please someone can explain step by step?

    Thanks for your help.

  5. ProtonMail Support

    Can you please contact us at contact@protonmail.com?

  6. RuRu

    It would be helpful for additional security to mention that copy-pasting is less secure than enabling the 2-channel obfuscation option in KeePass. This can be found for each Entry in the KeePass database under the ‘Advanced’ tab.

    It helps greatly in defeating keyloggers as it does not store the whole password in the clipboard, unlike the suggestion made in the guide above.

  7. IanH

    I highly recommend KeePass and use it for Protonmail. I’m not an IT geek and have found it really easy. No connection with either company, just a fan of Privacy!

  8. Khimaira

    Will be nice if you guys offer a password manager solution, like lastpassword

  9. Mick MacDonald

    The lastpassword idea is brilliant. Quite important for those of us who can’t seem to remember a thing. Hell, I’ve been online here for less than 30 min and I’ve forgotten my password already! I do hope you’ll consider this in earnest. Cheers,

Leave a Reply to sam Click here to cancel reply.