| 1 |
# keepassxc-cr-recovery |
| 2 |
|
| 3 |
A small tool that helps you regain access to your KeePassXC password database in case you have it protected with YubiKey challenge-response and lost your key. |
| 4 |
Currently supports KDBX4 databases with Argon2 hashing. |
| 5 |
|
| 6 |
## Building |
| 7 |
|
| 8 |
Tested with Go 1.13. Just run `go build`. |
| 9 |
|
| 10 |
## Usage |
| 11 |
|
| 12 |
What you need: |
| 13 |
* your KeePassXC database |
| 14 |
* your challenge-response secret. This cannot be retrieved from the YubiKey, it needs to be saved upon initial configuration of the key. |
| 15 |
|
| 16 |
Then just run |
| 17 |
```shell |
| 18 |
keepass-cr-recovery path-to-your-password-database path-of-the-new-keyfile |
| 19 |
``` |
| 20 |
It will prompt for the challenge-response secret. You will get a keyfile at the specified destination path. Then, to unlock your database in KeePassXC, you need to check "key file" instead of "challenge response" and load the file. |