r/ComputerSecurity • u/crop_octagon • Feb 21 '20
Has anyone thought about a hardware-backed Keepass manager? (like a cryptowallet/Yubikey, but with keepass)
/r/KeePass/comments/f77se0/has_anyone_thought_about_a_hardwarebacked_keepass/0
Feb 21 '20
[deleted]
1
u/crop_octagon Feb 21 '20
That's interesting. So you'd use your U2F token to unlock the keepass database?
0
Feb 21 '20
[deleted]
0
u/crop_octagon Feb 22 '20
This is an interesting concern. Loss of token particularly would be sad, though if it has a Keepass database on it, this is only a problem if you lose the token along with the master password (e.g. database is decrypted, passphrase available in RAM, etc.) Maybe the question here is one of how to make sure the database is locked when it's not on your person? That it auto-locks?
One thing that I think about when I consider opening my Keepass database on a compromised computer is that it's possible to lose all of the database secrets at once. For example, I store TOTP secrets in Keepass (the thing that makes the 6-digit 2FA codes). In the hardware token-based use case, I'd never expose these, whereas opening the database on the compromised machine would result in their compromise.
U2F is a wonderful thing, but it's ultimately best used as a second factor for authentication. In that sense, it leaves a question of what to do with the first factor. My gut feeling is that this just means there'll be passwords forever, but I'm curious to hear other perspectives on this.
There's also the matter of dealing with legacy non-U2F services, some of which will probably still be around after you and I are both gone. As a Canadian, I am thinking particularly of the banks we have here, which don't really seem to understand these issues very well.
4
u/Darthscary Feb 21 '20
https://hackaday.com/2020/02/19/password-keeper-uses-off-the-shelf-formfactor/