Gugli / KeeLocker

KeePass2 plugin to open BitLocker volumes
Do What The F*ck You Want To Public License
13 stars 0 forks source link

Unlock drive when connected if KeePass database is open #6

Open vertigo220 opened 1 year ago

vertigo220 commented 1 year ago

If possible, it would be useful to have an option to unlock a drive automatically when it's connected, similar to how it unlocks drives automatically that are already connected when unlocking the database.

Gugli commented 1 year ago

This is probably out of scope for this plugin : it would need to have code running permanently in the background to check for new devices. And bitlocker is not reserved to Usb sticks, it can be network drives, etc... I wouldn't even know where to start.

Sorry, I don't plan to do that for now.

vertigo220 commented 1 year ago

Perfectly understandable. Assuming having it running in the background, which could be done with negligible resource usage, isn't a problem, perhaps a solution could be to simply poll for drives every x minutes and implement a shortcut or command so, when the shortcut keys are pressed or command is issued, it will do another poll to see what drive(s) is/are new since the last poll and unlock those drives.