Open markchalloner opened 5 years ago
https://github.com/keepassxreboot/keepassxc/issues/1734 shows how to open a Yubikey protected KeepassXC KDBX 4 file with a pre-computed key file:
CHALLENGE_RESPONSE_KEY= DATABASE_FILE=/tmp/passwords.kdbx KEY_FILE=/tmp/passwords.key xxd -p -c 33 -s 0xc5 -l 32 "$DATABASE_FILE" | xxd -r -p | openssl dgst -sha1 -hmac "$(echo -n "$CHALLENGE_RESPONSE_KEY" | xxd -r -p)" | cut -c 10- | xxd -r -p > "$KEY_FILE"
Currently the master key type Password + Challenge-Response secret (recovery mode) does not work (Invalid composite key), most likely due to the different methods that KeeChallenge and KeepassXC use to generate the composite key.
Password + Challenge-Response secret (recovery mode)
@PhilippC bumping this in case it has been forgotten
https://github.com/keepassxreboot/keepassxc/issues/1734 shows how to open a Yubikey protected KeepassXC KDBX 4 file with a pre-computed key file:
Currently the master key type
Password + Challenge-Response secret (recovery mode)
does not work (Invalid composite key), most likely due to the different methods that KeeChallenge and KeepassXC use to generate the composite key.