固件更新#

(Nitrokey Start - Linux)

重要

更新可能导致数据丢失,所以要确保你启用了适当的备份登录方法,并/或确保Nitrokey Start不是你的应用程序/服务的唯一认证/2FA方式。

重要

在更新过程中,千万不要断开Nitrokey 3的连接或中止进程,这很可能会使你的设备失去作用。

更新Nitrokey Start固件的步骤如下。

  1. 安装pip3。

$ sudo apt install python3-pip
  1. 安装pynitrokey。为此,你需要一个互联网连接。

$ pip3 install --user pynitrokey
  1. 连接你的Nitrokey Start并验证其识别。

$ nitropy start list
      *** Nitrokey tool for Nitrokey FIDO2 & Nitrokey Start
      :: 'Nitrokey Start' keys:
      FSIJ-1.2.15-87042524: Nitrokey Nitrokey Start (RTM.8)
  1. 开始更新过程。为此,你需要一个互联网连接。

$ nitropy start update
  1. 然后你将被要求输入你的Nitrokey启动的管理密码。(默认密码:12345678)

*** Nitrokey tool for Nitrokey FIDO2 & Nitrokey Start
Nitrokey Start firmware update tool
Platform: Linux-5.3.0-59-generic-x86_64-with-Ubuntu-18 04-bionic
System: Linux, is_linux: True
Python: 3.6.9
Saving run log to: /tmp/nitropy.log.d4erqux4
Admin password: "your admin PIN"
  1. 在 “设备 “下,你可以找到关于你的Nitrokey Start当前版本的信息。在 “请注意 “下的第一项中,你可以看到现有的最新固件版本。现在你必须用 “是 “来确认更新。

Firmware data to be used:

- FirmwareType.REGNUAL: 4504, hash: ...b'65ac82a1' valid (from ...built/RTM.10/regnual.bin)

- FirmwareType.GNUK: 131072, hash: ...b'f85da8f7' valid (from ...prebuilt/RTM.10/gnuk.bin)
Currently connected device strings:
Device:
    Vendor: Nitrokey
  Product: Nitrokey Start
    Serial: FSIJ-1.2.15-43100927
 Revision: RTM.9
    Config: NITROKEY_START:dfu=no:debug=no:pinpad=no:certdo=yes:factory_reset=yes
      Sys: 3.0
Please note:

- Latest firmware available is: RTM.10 (published: 2020-06-04T12:34:14Z),
 provided firmware: None

- All data will be removed from the device

- Do not interrupt the update process, or the device will not run properly

- Whole process should not take more than 1 minute
Do you want to continue? [yes/no]: yes
  1. 你可以在升级过程完成后检查固件版本。

$ nitropy start list
  *** Nitrokey tool for Nitrokey FIDO2 & Nitrokey Start
  :: 'Nitrokey Start' keys:
  FSIJ-1.2.15-87042524: Nitrokey Nitrokey Start (RTM.10)