GithubHelp home page GithubHelp logo

gugli / keelocker Goto Github PK

View Code? Open in Web Editor NEW
13.0 2.0 0.0 148 KB

KeePass2 plugin to open BitLocker volumes

License: Do What The F*ck You Want To Public License

C++ 11.84% C# 74.46% Python 13.70%

keelocker's Introduction

KeeLocker

KeePass2 plugin to open BitLocker volumes when you open your KeePass database.

Should also work for USB sticks or portable drives.

The feature

This plugin adds the following tab to entries :

Select Drive by MountPoint or GUID, and whether you want the drive to open automatically

How to use

If you have a static drive (let's say a HDD bound to "D:") encrypted with bitlocker, you should :

  • create a new entry, choose a title you want
  • put the password for the drive in the entry usual password field
  • Select "D:" as drive mountpoint in the KeeLocker tab

You can the either tick the checkbox "Unlock volume on opening" that will do so when the Database is opened (but that requires to close then open the DB). Or you can click "Unlock Volume Now" to test it right now.

When should I use Drive GUID ?

The Drive GUID feature is for more complex scenarios.

For example : if you use the same DB on multiple machines, along with a USB stick cyphered using BitLocker. The issue is that on the first machine, you USB stick mounts as "D:", but on another one, it mounts as "E:".

In such cases, the "Drive Mountpoint" is not super useful, so instead of using it, you can use the "GUID", that should work in such scenarios.

keelocker's People

Contributors

gugli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

keelocker's Issues

Unlock using recovery key instead of password

I have a few drives that don't have passwords, only identifiers and recovery keys, and the recovery key must be used to unlock them. I'm fairly certain this is due to the drive's being set up to unlock via TPM, and unfortunately passwords can't be added without disabling and reenabling BitLocker. KeeLocker doesn't work with recovery keys, only passwords, and it would be nice if it could either automatically tell if the "password" for a drive is a key and unlock it that way, or if there was a setting to tell it to use the password as a key.

Database opening very slow when unlocking volumes on open

When using KeeLocker to unlock drives upon opening the database, it slows the loading of the database as KeePass becomes unresponsive while the drives are being unlocked. Before using this option, the database would open within a couple seconds, whereas now it takes ~10+ seconds, with KeePass not being responsive and the database not loading until all the drives are unlocked. This feature has been tremendously useful, and I intend to keep using it even with this delay, but it would be nice if something could be done about it, whether optimizing it so it doesn't cause KeePass to essentially lock up or at least delaying the unlocking of the drives until the database is loaded.

it always unlocks automatically

I configured using the GUID and removed Unlock volume on opening but it continues to unlock automatically as soon as I enter DB.
This way it shouldn't unlock the drive without me running

unlock

Not working or not using correctly

I don't know how exactly this is supposed to work since there's no documentation, but when I click "Fill drive GUID" it says "Unable to get GUID." I've tried entering the drive letter first, I've tried finding the GUID manually and entering that in there, but nothing makes this plugin work.

This plugin badly misbehaves

When this plugin is used with KeePass, it automatically opens the configured Bitlocker volume when KeePass is opened, even when the "Unlock volume on opening" in its properties is unchecked. This behaviour does not change when not only KeePass but even the system is restarted. I regard this as a major and a very much unwelcome bug, because the Bitlocker-protected volume gets silently opened and stays open without direct knowledge of the user! This is very much bad and dangerous. I'm on Win 11 Ent, latest update, x64.

Alternate methods for unlocking drives

For easily unlocking drives manually, a couple additional methods could be used by KeeLocker. Currently, there are three methods:

  • Set it to unlock the drive when unlocking the DB
  • Find and open the entry, switch to the KeeLocker tab, and use the "Unlock Volume Now" button
  • Find the entry, copy the password, then open File Explorer and open the drive to bring up the BitLocker password box and paste the password into it

I propose the following:

  • If possible, have KeePass/KeeLocker auto-detect the BitLocker password boxes and auto-fill them with the appropriate entry's password, or at least enable auto-fill via hotkeys
  • Add menu entries to KeePass, one for individual entries to unlock specific drives (including if more than one entry is selected), and one in the (Tools?) menu to unlock all available drives. It might be preferable to open a dialog window to select the drives to unlock, starting with all locked drives checked so the user can uncheck any they don't want to unlock before continuing.
  • If the first isn't possible, add an entry to Explorer's context menu to unlock the drive

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.