Less clicks, more security.
The KeePass2Trezor plugin for KeePass 2.x leverages Trezor's security design to encrypt your password database. The decryption key can only be accessed by physically pressing the confirmation button on the Trezor device.
It supports Trezor One, Model T and Safe 3 on Windows and Linux.
- Secure Encryption: Your KeePass database is securely encrypted using your personal Trezor device.
- Simple Unlock: Unlock your password manager with a single click on your Trezor button.
- Recovery Seed: Use a recovery seed to regain access to your passwords.
- Optional Master Password: Can be used with or without a master password.
- Download KeePass2Trezor.dll from the latest release.
- Copy the DLL to the Plugins folder of your KeePass 2.x installation.
- Create a new database, selecting Trezor Key Provider in the Key file/provider field.
- Follow the instructions, unlock your Trezor if necessary, and confirm decryption of the key by pressing the button on the device.
While the plugin works on Linux, additional steps are required:
-
Configure udev rules:
- Follow the udev rules configuration guide to establish communication with Trezor devices.
-
Install
mono-develop
package:- Ensure that the
mono-develop
package is installed, as the plugin relies on netstandard2.0, which is included with it.
- Ensure that the
-
Check
libusb-1.0
installation:- Verify the installation of
libusb-1.0-0
. If KeePass2Trezor still hangs with the message "Connect your Trezor device" even with libusb installed, consider either creating a symlink according to this instruction or installlibusb-1.0-dev
package to address the issue.
- Verify the installation of
-
Reconnect the device:
- After completing the configuration steps, disconnect and then reconnect your Trezor device to ensure the changes take effect.
- KeePass 2.35 or newer
- .NET Framework 4.6.2 or higher
- libusb-1.0 for Linux
โ If your device is lost or broken, you will need to purchase a new Trezor or build a PiTrezor and initialize it using the saved seed phrase to regain access to the KeePass database.
โ Exporting the database in any format except kdbx will cause loss of the Key ID and make decryption impossible. This is because other formats do not support public custom data (unencrypted) where the Key ID is stored.
KeePass2Trezor is a key provider plugin for the KeePass 2.x password manager. It uses a similar approach to derive the master key as the Trezor Password Manager described in the SLIP-0016 document.
๐ฑ Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.