Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent loss of key ID when exporting in formats other than KDBX v4 #1

Open
vnau opened this issue Feb 11, 2022 · 0 comments
Open

Prevent loss of key ID when exporting in formats other than KDBX v4 #1

vnau opened this issue Feb 11, 2022 · 0 comments
Assignees

Comments

@vnau
Copy link
Owner

vnau commented Feb 11, 2022

When using KeePass2Trezor key provider plugin, each KeePass database is encrypted with its own key generated by Trezor. If the database is in KDBX v4 format, the key ID is stored in the file's public user data header. However, other database formats do not have such public, unencrypted data available until the database is decrypted. Thus, saving the database in other formats may result in the loss of the key ID and make it impossible to decrypt the database.

To avoid losing the key ID, it should also be stored in an auxiliary file, at least for all formats except KDBX v4.

@vnau vnau self-assigned this Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant