Two-factor authentication (2FA) with KeePass
Two-factor authentication (2FA) adds an extra layer of security to your accounts by requiring not only a password but also a second form of verification. Since the version 2.51 of KeePass, a popular password manager, it is now possible to integrate 2FA for enhanced protection. Here's a step-by-step guide on how to create a new entry with 2FA in KeePass:
Adding a New Entry
- Open KeePass and click on the icon to add a new entry or use the shortcut
- In the new window, fill in your login information.
Configuring Two-Factor Authentication
- Navigate to the
Advancedtab and in the
String Fieldssection, click on
Moreand then select
OTP Generator Settings.
- In the
Shared Secretfield, enter the secret key provided by the application that offers 2FA. For example, let's use the secret
SuperSecretTokenin this guide.
- Keep the other settings at their default values and click
- You should see a preview of the two-factor authentication code .
- The code displayed in KeePass should match the one generated by the 2FA application.
Using Two-Factor Authentication
After confirming the creation of the new entry, you can copy the two-factor authentication code using the shortcut
By following these steps, you've successfully set up two-factor authentication for your KeePass entry, providing an additional layer of security for your accounts. Ensure that the code generated in KeePass matches the one displayed in your 2FA application for a seamless and secure login experience.
Cover by Muaz AJ