fwupd/plugins/nitrokey
Richard Hughes 5079f26f0e Never guess the version format from the version string
This leads to madness, as some formats are supersets of the detected types,
e.g. 'intel-me' is detected as 'quad' and 'bcd' is detected as 'pair'.

Where the version format is defined in a specification or hardcoded in the
source use a hardcoded enum value, otherwise use a quirk override.

Additionally, warn if the version does not match the defined version format
2019-04-30 09:25:41 +01:00
..
fu-nitrokey-common.c Remove the unused Emacs indenting headers from all source files 2018-08-09 12:48:04 +01:00
fu-nitrokey-common.h Use '#pragma once' to avoid a lot of boilerplate 2019-02-09 08:42:30 -06:00
fu-nitrokey-device.c Never guess the version format from the version string 2019-04-30 09:25:41 +01:00
fu-nitrokey-device.h Use '#pragma once' to avoid a lot of boilerplate 2019-02-09 08:42:30 -06:00
fu-plugin-nitrokey.c Show a console warning if loading an out-of-tree plugin 2019-01-19 07:26:20 +00:00
fu-self-test.c nitrokey: Correct Nitrokey Storage invalid firmware version read 2019-01-25 09:53:05 +00:00
lsusb.txt Add a nitrokey plugin 2017-11-13 16:25:46 +00:00
meson.build trivial: Fix potential compile failures for high -j values 2019-02-01 16:52:16 +00:00
nitrokey.quirk Add support for counterpart GUIDs 2018-08-30 16:55:41 +01:00
README.md trivial: Document the GUID generation scheme 2018-11-08 20:39:46 +00:00

Nitrokey Support

Introduction

This plugin is used to get the correct version number on Nitrokey storage devices. These devices have updatable firmware but so far no updates are available from the vendor.

The device is switched to a DFU bootloader only when the secret firmware pin is entered into the nitrokey-app tool. This cannot be automated.

GUID Generation

These devices use the standard USB DeviceInstanceId values, e.g.

  • USB\VID_20A0&PID_4109&REV_0001
  • USB\VID_20A0&PID_4109
  • USB\VID_20A0