Verify Nitrokey Authenticity¶
Compatible Nitrokeys |
|||||||
|---|---|---|---|---|---|---|---|
✓ active |
✓ active |
⨯ inactive |
⨯ inactive |
⨯ inactive |
⨯ inactive |
⨯ inactive |
⨯ inactive |
可以对 Nitrokey 3 和硝基 Passkey 密钥进行真伪验证,以确保其符合安全要求。
为硝基定义“真实性”¶
硝基设备预装了特定于该型号的认证密钥。这些认证密钥只能由硝基设备进行预装。 pynitrokey 和 Nitrokey App 2 等硝基用户应用程序提供了一种机制,可通过加密方式验证这些证书,以确保设备未被恶意替换为非硝基设备。
Verifying Authenticity¶
With nitropy¶
连接 Nitrokey,并运行``nitropy nk3 test`` 或``nitropy nkpk test``(分别适用于 Nitrokey 3 或硝基 Passkey 密钥)。FIDO2 测试包含验证测试。如果密钥通过测试,则表明该密钥是真实的。
[1/5] uuid UUID query SUCCESS A56F030D2A3F8E5EB6CCFC883FA17555
[2/5] version Firmware version query SUCCESS v1.9.1
[3/5] status Device status SUCCESS Status(init_status=<InitStatus: 0>, ifs_blocks=32, efs_blocks=459, variant=<Variant.LPC55: 1>, model=<Model.NK3: 'Nitrokey 3'>, revision=1)
Running SE050 test: |
[4/5] se050 SE050 SUCCESS SE050 firmware version: 3.1.1 - 1.11, (persistent: (27864,), transient_deselect: (607,), transient_reset: (592,))
Please press the touch button on the device ...
Please press the touch button on the device ...
[5/5] fido2 FIDO2 SUCCESS
5 tests, 5 successful, 0 skipped, 0 failed
Summary: 1 device(s) tested, 1 successful, 0 failed
此处的测试``FIDO2`` 成功,表明该设备是经过认证的。
With Nitrokey App 2¶
硝基 App 2 中的“` ”`Overview``选项卡可在设备连接时对其真伪进行验证。
点击``Check for Authenticity`` 可验证该认证证书并显示结果。
关于Hacker设备的说明¶
已配置黑客证书的 Nitrokey Hacker 设备将无法通过真实性验证。不过,失败原因(在 Nitrokey App 2 中以工具提示形式显示)会明确说明何时会出现这种情况。