Skip to content

Add OTP support (two factor authentication) to KeePass

License

Notifications You must be signed in to change notification settings

TomW80/KeePassOTP

 
 

Repository files navigation

KeePassOTP

Version Release date Downloads License

KeePassOTP allows you to generate one time passwords (OTP). It supports both standard TOTP and standard HOTP as well as Steam OTP and Yandex (Yandex.Key).

Once set up, you can copy or auto-type the OTP. You may also create a QR code and scan it with an OTP app of your liking, e.g. andOTP, Google Authenticator etc.

Functionality provided

  • Drag&Drop QR codes to add OTP
  • Auto-Type placeholder
  • Configurable hotkey to invoke Auto-Type OTP
  • Column to display OTP or to indicate possible 2FA usage
  • Compatibility with Google Authenticator, andOTP etc.
  • Support TOTP and HOTP as well as Steam OTP and Yandex (Yandex.Key)
  • Secure storage of OTP secrets
  • Auto-Type or Copy OTP using the KeePass tray icon
  • Indicate possible usage of OTP / two factor authentication (requires internet access)

Table of Contents

Configuration

KeePassOTP integrates into KeePass' options form.

Options

In the database-specific area you can choose the working mode of KeePassOTP.

Options 2

The general area lets you define settings that are valid for all databases.

Usage

OTP settings are entry-specific. To setup, change, copy or auto-type the OTP, you may use the context menu of the respective entry.

If you're interested in migration instructions to move from (or to) other OTP plugins or if you want to know more about some of the technical details, please have a look at the Wiki.

Setup OTP data / Change OTP data

Use the entry's context menu to setup/change OTP data.

In the setup form, you can drag&drop the QR code image onto the QR picture in the setup form and have KeePassOTP parse it or you can enter the OTP secret manually (sometimes referred to as a seed) and you're ready to go.

In addition, you can click the screen capture button and KeePassOTP will search for an OTP QR code anywhere on the screen.

Got a string like this one?

otpauth://totp/Example:[email protected]?secret=JBSWY3DPEHPK3PXP&issuer=Example

Paste the entire string, KeePassOTP can process this otpauth-format as well.

As almost all sites require you to enter an OTP as part of the activation process, both current and next OTP are displayed here as well.

Setup

Use OTP data

There are multiple convenient ways to use the one time passwords.

  • Copy OTP
    • Using the context menu of the entry
    • Doubleclicking the OTP displayed in the optional KPOTP column
    • Using KeePass' tray icon
  • Auto-Type
    • Using the context menu of the entry - Show additional auto-type menu commands needs to be active
    • Using a configurable placeholder - default placeholder: {KPOTP}
    • Using a configurable hotkey working inside and outside KeePass
    • Using KeePass' tray icon

Two factor authentication / Internet access

KeePassOTP can use the OTP column to highlight entries where you can set up two-factor authentication. If you doubleclick this hint, KeePassOTP will open the corresponding website to setup two-factor authentication.

For that purpose, KeePassOTP will download a list of sites supporting two factor authentication during KeePass start from https://2fa.directory/api/v2/tfa.json.
This list is then compared it with all URLs defined in the database.
Neither your URLs nor any other information from your database will be sent.

You can toggle this feature in KeePassOTP's options.

Translations

KeePassOTP is provided with English language built-in and allows usage of translation files. These translation files need to be placed in a folder called Translations inside your plugin folder. If a text is missing in the translation file, it is backfilled with English text. You're welcome to add additional translation files by creating a pull request as described in the wiki.

Naming convention for translation files: <plugin name>.<language identifier>.language.xml

Example: KeePassOTP.de.language.xml

The language identifier in the filename must match the language identifier inside the KeePass language that you can select using View -> Change language... This identifier is shown there as well, if you have EarlyUpdateCheck installed.

Download & updates

Please follow these links to download the plugin file itself.

If you're interested in any of the available translations in addition, please download them from the Translations folder.

In addition to the manual way of downloading the plugin, you can use EarlyUpdateCheck to update both the plugin and its translations automatically.
See the one click plugin update wiki for more details.

Requirements

  • KeePass version 2.42
  • .NET framework version 4.0

About

Add OTP support (two factor authentication) to KeePass

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.8%
  • Batchfile 0.2%