BodnarSoft / KeePass-Smart-Certificate-Key-Provider

KeePass plugin that allows to use Smart Card certificates to encrypt database more securely.
MIT License
32 stars 9 forks source link

Multi-User setup #2

Closed maufl closed 5 years ago

maufl commented 5 years ago

Hey, I'm currently using this plugin for myself and it works well, thanks! I was wondering whether I could encrypt a KeePass database for multiple keys? So that I could share a database with colleagues and they could all encrypt/decrypt it with their own smart card?

FrantisekBodnar commented 5 years ago

Hi Felix, I'm glad that you are using my plugin :)

Unfortunately, what do you want is not possible. It is like that you would use several different passwords on one KeePass DB.

The password and the information from Smart Card is used to encrypt the DB (like two passwords, one that you type in Master Password field and second one is generated from SmartCard).

Only way is to use shared RSA certificate and Master Password to access the KeePass DB.

Look on this article General Information about Shared Databases.

If you want to use Shared records from a database, you have to use another software like LastPass, that allows to share secured records.

Best Franky

maufl commented 5 years ago

Oh OK. I expected the public/private key pair on the smart card to be used to encrypt the master password. Then it should be possible to encrypt the master password for multiple public keys, kind of like encrypting a file with GPG for multiple recipients. I'm not sure I understand why this is not possible with KeePass but I guess it's due to the way it uses encryption.