使用 Keepass XC 抱怨我的 kee 文件格式:
You are using a legacy key file format which may become
unsupported in the future.
Please consider generating a new key file.
如何更新密钥文件格式?
最好只更改格式而不更改密钥本身。(否则我必须再次将密钥传输到所有设备。
答案1
文档字符串中简要说明了哪些密钥文件受支持在 Keepass XC 源中:
* Read key file from device while trying to detect its file format.
*
* If no legacy key file format was detected, the SHA-256 hash of the
* key file will be used, allowing usage of arbitrary files as key files.
* In case of a detected legacy key file format, the raw byte contents
* will be extracted from the file.
*
* Supported legacy formats are:
* - KeePass 2 XML key file
* - Fixed 32 byte binary
* - Fixed 32 byte ASCII hex-encoded binary
*
* Usage of legacy formats is discouraged and support for them may be
* removed in a future version.
这匹配Keepass 文档,指出密钥可以是任意文件:
File Type and Existing Files. KeePass can generate key files for you, however you can also use any other, already existing file (like JPG image, DOC document, etc.).
不幸的是,Keepass XC 没有明确说明支持哪些密钥格式(至少我能找到的),但代码似乎暗示受支持的密钥文件是任何非传统格式的任意文件。