Bitcoin Forum
November 18, 2026, 01:50:29 AM *
News: Latest Bitcoin Core release: 32.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Fun fact: Did you know you can use your Trezor as 2FA, MFA for your Keepass 2?  (Read 186 times)
Forsyth Jones (OP)
Legendary
*
Offline

Activity: 2086
Merit: 2374


I love Bitcoin!


View Profile WWW
September 26, 2025, 12:24:50 AM
Merited by Welsh (5), Pmalek (3), Mia Chloe (2)
 #1

If you miss Trezor Password Manager (I used it a lot), you can still use your Trezor as a second authentication factor (with or without a master password) in KeePass through this plugin. In short, your Trezor will function as a key file.

When you set up a database to open with a Trezor, it becomes associated with the device's current recovery phrase at the time of encryption. This means if you have more than one Trezor device (T1, TT, TS3 and TS5), as long as you restore your second device with the same seed phrase as your primary device, you can also use it as a backup device to access the database configured with Trezor.

You can configure an existing or new database to open as a Trezor key file, as you prefer.

I tested this plugin last year without any issues. On the plugin's github, there's a GIF in the readme showing how it works: https://github.com/elebree/KeePass2Trezor



Your database will work the same way as a database using any key file. with the only difference being that you need a trezor device to access the database. As long as you have access to the seed phrase used on the Trezor device to encrypt the .kbdx database with the Trezor, you can restore access using any Trezor device.

The plugin appears to be open source, with some contributions and an organized structure (I'm not an expert at reviewing code, so feel free to share your opinion). It appears to have good long-term support, as soon as Trezor Safe 5 was released, it didn't take a few months for the plugin to add support for it as well.

To name the main disadvantages:

1. It's a third-party plugin, even though it's open source, the maintainer can drop support at any time, as it doesn't depend on KeePass (this can be good or bad, depending on your perspective). However, like any other plugin, you need to have a file placed in a specific folder dedicated to Keepass plugins for it to work, so you'll still have access.

2. You need to trust the plugin and rely on its developers. Third-party plugins put many people off because of the degree of trust required.

3. Unfortunately, it only works with KeePass 2 (the traditional version of Keepass), so your database will be tied to it. It can't be used with Keepass mobile versions like KeepassDX, Keepassium, Strongbox etc. or any other version of Keepass, only Keepass 2.

I currently don't use it because it can only be used with Keepass2, even though I also use Keepass on mobile. It would be great if KeepassXC and other Keepass implementations had similar support, and even better if it were compatible with existing Keepass implementations.

Forsyth Jones (OP)
Legendary
*
Offline

Activity: 2086
Merit: 2374


I love Bitcoin!


View Profile WWW
October 18, 2026, 07:21:19 PM
Last edit: October 19, 2026, 05:15:06 AM by Forsyth Jones
 #2

01 year later, I stop by here to remember this incredible security tool that is Keepass2 password manager and its derivative software (KeePassXC, KeePassDX, etc). I've already used it with the Trezor Key File plugin, but unfortunately it only exists as a plugin for the original Keepass2. I would love to see a similar movement in other software natively, like in KeepassXC.

For those who still don't know Keepass, it is open source software just like Bitcoin, where passwords and credentials are protected by a file (.kdbx vault) and the user must protect it with a master password. It is a local password manager, but it can also be used to sync with your devices (just upload the .kdbx vault file to the cloud) through your cloud accounts or self-host like Nextcloud.

The code for the Trezor Key File plugin still appears to be maintained on the github account, and although it's a 3rd-party feature through a plugin, it's a very exciting functionality for security and privacy enthusiasts.

Unfortunately, it seems there are no plans to add support for the Trezor Safe 7, since according to the dev himself, the Safe 7 uses a completely new THPv2 protocol and, from what I get it, he would have to rebuild the software from scratch and the dev doesn't own a Safe 7 device....

Trezor should look at these smaller projects, since they already had a web-based password manager, but abandoned it, and it worked in a way completely similar to this plugin.

Warning: I do not recommend using this plugin with Keepass 2, unless for experimental basis. Use it with caution and responsibility, if you still choose to use it with your main database, ensure you create backups of the original .kdbx database file before it is attached as a key file with the Trezor Key Provider.

dkbit98
Legendary
*
Offline

Activity: 3150
Merit: 8993


AntiSwap.io - NO AML/KYC EXCHANGER MONITORING


View Profile WWW
October 20, 2026, 08:38:18 PM
Merited by vapourminer (4), Pmalek (3)
 #3

Warning: I do not recommend using this plugin with Keepass 2, unless for experimental basis. Use it with caution and responsibility, if you still choose to use it with your main database, ensure you create backups of the original .kdbx database file before it is attached as a key file with the Trezor Key Provider.
Keepass is a great software, but I would not combine it with Trezor wallet in any way.
Last time I checked Trezor canceled all support for their password manager, and this was few years ago:
https://blog.trezor.io/ending-support-for-trezor-password-manager-23319d16b31c

I know that new Trezor devices can be used as Passkey, instead of using biometrics, so this can be useful as alternative for email address sign-in for some websites.


Forsyth Jones (OP)
Legendary
*
Offline

Activity: 2086
Merit: 2374


I love Bitcoin!


View Profile WWW
October 20, 2026, 11:09:07 PM
Merited by vapourminer (4), Pmalek (3)
 #4

Keepass is a great software, but I would not combine it with Trezor wallet in any way.
I also agree, which is why I said it's experimental, just for enthusiasts to get to know the technology.

Last time I checked Trezor canceled all support for their password manager, and this was few years ago:
https://blog.trezor.io/ending-support-for-trezor-password-manager-23319d16b31c

I know that new Trezor devices can be used as Passkey, instead of using biometrics, so this can be useful as alternative for email address sign-in for some websites.
Yeah, if I'm not mistaken, they deprecated Trezor Password manager at the beginning of 2023. My opinion on this is that they completely discarded this digital security sub-niche to focus exclusively on the hardware wallet market, which is their core business.

But I saw a lot of potential in their password manager software, they could compete directly with LastPass, Bitwarden, KeePass, Keeper, etc. But if you want to have the same experience as using your Trezor as a second authentication factor, you would just need to try this plugin.

Checking this topic on Reddit, the plugin registers your Trezor as a challenge/response device for opening and unlocking the .kdbx database that was associated through the plugin with your Trezor, going deeper, by making such an integration of the database with a Trezor, this means your Trezor will serve only as additional entropy to the master password used to access the database (source).

You don't need to change or remove your .kdbx master password to associate your .kdbx database with your Trezor (you can even use an empty password if you want and use only the Trezor to unlock the database).

Another very important detail: the challenge/response secret is derived directly from the seed phrase and passphrase (if enabled), exactly the same way the Trezor Password Manager (deprecated) used to work.  Smiley

joniboini
Legendary
*
Offline

Activity: 3108
Merit: 1946


NO KYC ❎


View Profile WWW
October 21, 2026, 09:39:33 AM
Merited by Forsyth Jones (1)
 #5

I don't have a Trezor but I'm using KeePass on my Mac as a password manager. I remember they support FIDO/Yubikey too right? I remember using my Nano S as a 2FA device a while back, not for KeePass but for something else. Some plugins on GitHub for doing the same thing with Ledger can be found too, although the ones that I've found are archived. Not sure if there's any alternative for that. I wonder if there's a progress for KeePass FIDO integration like this one[1]?

[1] https://github.com/MartinKolarik/KeePassFIDO2

Forsyth Jones (OP)
Legendary
*
Offline

Activity: 2086
Merit: 2374


I love Bitcoin!


View Profile WWW
October 22, 2026, 11:38:27 PM
Merited by vapourminer (4)
 #6

I don't have a Trezor but I'm using KeePass on my Mac as a password manager. I remember they support FIDO/Yubikey too right?
No, Keepass apps like original keepass2, keepassxc don't have native FIDO U2F or FIDO2 support yet, but they do support security keys like YubiKey (KeePassXC, StrongBox, etc), while in the original Keepass2, only via plugin (like the one you mentioned).

Not sure if there's any alternative for that. I wonder if there's a progress for KeePass FIDO integration like this one
On the keepass.info site, in the plugins section, I found this plugin (KeePassPasskeyKeyProvider). It's a plugin that allows associating the database with passkeys or FIDO2 security keys, I just tested it now and it worked with my Trezor model T. I also registered a passkey through my iPhone's camera, and unlocking worked for both: with the Trezor model T and with the passkey on the iPhone. This plugin is new, its first release was 03 weeks ago.

The plugin also supports a BIP39 seed phrase that can be used in the event of device loss and can be used with or without a master password, plus more than 1 registered security key or passkeys.
But it falls into the same problem as the Keepass plugin with Trezor: since it's an exclusive Keepass2 plugin (this KeePassPasskeyKeyProvider as well), you can only access your database with Keepass2 + one of these plugins, and no other Keepass app supports opening the database with FIDO2 or passkeys.

joniboini
Legendary
*
Offline

Activity: 3108
Merit: 1946


NO KYC ❎


View Profile WWW
October 24, 2026, 05:55:12 AM
 #7

That's a nice finding. Looks like it's exclusive to Windows, which is a bit of a shame since I deal with Mac most of the time. I guess I can move some apps to my Windows devices and use it for testing, but it doesn't sound like I can use it with KeePass for Mac, CMIIW. Would be nice if there's native support for FIDO or something similar so I can use my unused devices to encrypt my KeePass database right away without plugin.

Forsyth Jones (OP)
Legendary
*
Offline

Activity: 2086
Merit: 2374


I love Bitcoin!


View Profile WWW
October 24, 2026, 11:52:50 PM
Merited by vapourminer (4)
 #8

That's a nice finding. Looks like it's exclusive to Windows, which is a bit of a shame since I deal with Mac most of the time. I guess I can move some apps to my Windows devices and use it for testing, but it doesn't sound like I can use it with KeePass for Mac, CMIIW. Would be nice if there's native support for FIDO or something similar so I can use my unused devices to encrypt my KeePass database right away without plugin.
That's why I think it's very important that we users ask for such a feature in the repositories of the main keepass implementations like keepassxc, keepassium, KeepassDX, Strongbox, and quote this plugin as an example. The more implementations add support for the same protocol, the better!

There are already several discussions, including PRs about FIDO2 on Keepassxc's Github:

https://github.com/keepassxreboot/keepassxc/pull/10311
https://github.com/keepassxreboot/keepassxc/discussions/9506
https://github.com/keepassxreboot/keepassxc/discussions/12342
https://github.com/keepassxreboot/keepassxc/issues/9400

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!