将两个 Yubikey 添加到 KeepassXC

问题描述

我正在测试 Yubico Yubikeys 5 NFC,一般来说,我们使用 KeePassXC 来保存敏感信息。 KeePassXC 接受 yubikeys 但只有一个...有人知道是否可以在 kdbx 文件添加多个?

解决方法

与 KeePassXC 团队交谈后,他们通知我这是不可能的。只需将相同的种子添加到其他 Yubikey 即可保留第二个密钥。

In the Docs section,can we read this

What happens if I break my YubiKey? Can I create backup keys?
    You should always make a copy of the HMAC secret that is stored on the YubiKey and keep it in a secure location. This can be an analog paper copy,but since the YubiKey personalization tool allows you to program a custom secret into the key,you may as well program a second key with the same secret

 
Can I register multiple YubiKeys with my KeePassXC database?
    You can only use a single secret for encrypting the database. So you can use multiple YubiKeys,but they all have to be programmed with the same secret (see question above).

以及如何在两个 yubikeys 的 slot 2 中设置相同 id 的说明在这里: https://support.yubico.com/hc/en-us/articles/360013779759-Using-Your-YubiKey-with-KeePass

请记住在第二个键中您必须复制并粘贴相同的种子

完整的讨论在这里:https://github.com/keepassxreboot/keepassxc/discussions/6344