System update#

The NitroPad watches for changes to important system files to detect third-party tampering. This means that special steps are sometimes necessary when updating the system. This can often be recognized by the fact that the system prompts you to reboot.

Procedure After a System Update#

Boot Hash Mismatch#

  1. If you restart the NitroPad after an update, the startup screen should initially appear as usual without an error message.

img1
  1. If you press Enter afterwards, you will get an error message that looks like this or similar:

img2
  1. Confirm the message with Enter to have the files changed by the system update verified. Afterwards you will be asked again for a confirmation.

img3
  1. Now insert the Nitrokey if this is not already the case and confirm with Enter. Then you must enter the User PIN of the Nitrokey (default: 123456). You will not see the characters you typed in on the screen.

    Warning

    Heads expects an English keyboard layout, on which e.g. “y” and “z” are swapped in comparison to the German keyboard layout. If you agree with the default selection (which is written in capital letter) you can also simply confirm by pressing Enter.

Please confirm that your GPG card is inserted [Y/n]:

Verifying presence of GPG card...

XXXXXXX: XXXXXXXXXX
Please unlock the card

Number: XXXX XXXXXX
Holder:
Counter: X
PIN:

Now the NitroPad marks the files changed by the update as verified.

Boot Entry Has Changed#

  1. Next, either another error message appears or the operating system starts. This depends on the system update. If the following error message appears, proceeds as described below:

img4
  1. First confirm the error message shown above. Then we see a list of all possible boat entries - choose the first one by simply pressing Enter.

img5
  1. To save this value as default, select the option “Make Ubuntu the default” for Ubuntu or “Make Qubes the default” for Qubes OS in the next window.

img6
  1. Now the Nitrokey has to be plugged in, if this is not yet the case.

Confirm the question “Saving a default will modify the disk” with Y.
Confirm the question “Do you wish to add a disk encryption to the TPM” with N.
Confirm the question “Please confirm that your GPG card is inserted” with Y.
Enter the User PIN of the Nitrokey whenever prompted (default: 123456).

Warning

Heads expects an English keyboard layout, on which e.g. “y” and “z” are swapped in comparison to the German keyboard layout. If you agree with the default selection (which is written in capital letter) you can also simply confirm by pressing Enter.

Saving a default will modify the disk. Proceed? [Y/n]:

Do you wish to add a disk encryption to the TPM [y/N]:

Please confirm that your GPG card is inserted [Y/n]:

Verifying presence of GPG card...

XXXXXXX: XXXXXXXXXX
Please unlock the card

Number: XXXX XXXXXX
Holder:
Counter: X
PIN:

Your system will then boot.