heads/patches
Kyle Rankin 31cf85b707
Add Librem Key support to Heads
The Librem Key is a custom device USB-based security token Nitrokey is
producing for Purism and among other things it has custom firmware
created for use with Heads. In particular, when a board is configured
with CONFIG_LIBREMKEY, this custom firmware allows Heads to use the
sealed TOTP secret to also send an HOTP authentication to the Librem
Key. If the HOTP code is successful, the Librem Key will blink a green
LED, if unsuccessful it will blink red, thereby informing the user that
Heads has been tampered with without requiring them to use a phone to
validate the TOTP secret.

Heads will still use and show the TOTP secret, in case the user wants to
validate both codes (in case the Librem Key was lost or is no longer
trusted). It will also show the result of the HOTP verification (but not
the code itself), even though the user should trust only what the Librem
Key displays, so the user can confirm that both the device and Heads are
in sync. If HOTP is enabled, Heads will maintain a new TPM counter
separate from the Heads TPM counter that will increment each time HOTP
codes are checked.

This change also modifies the routines that update TOTP so that if
the Librem Key executables are present it will also update HOTP codes
and synchronize them with a Librem Key.
2018-06-19 12:27:27 -07:00
..
coreboot-4.7 Librem13v2: Update to 4.7-Purism-4 2018-04-03 19:04:59 -04:00
flashrom-1.0 Add back flashrom support for KGPE-D16 2018-05-05 18:59:43 -07:00
linux-4.9.80 split Linux patches into separate files (issue #348) 2018-03-15 17:44:42 -04:00
busybox-1.28.0.patch busybox 1.28.0 (#310) 2018-02-09 12:15:35 -05:00
cryptsetup-1.7.3.patch include uuid and devmapper since musl cross compiler is not linking them in 2017-01-27 18:00:56 -05:00
dropbear-2016.74.patch fix patches to have the correct -p level 2017-09-20 14:26:07 -04:00
gpg-1.4.21.patch force cross_compile=yes for gnupg (issue #299) 2018-01-20 16:56:53 -05:00
kexec-2.0.16.patch Generate a fake EBDA with kexec, removing the need for a custom xen (#227) 2018-02-28 10:48:35 -05:00
libremkey-hotp-verification.patch Add Librem Key support to Heads 2018-06-19 12:27:27 -07:00
lvm2-2.02.168.patch fix patch for -p1 2017-04-12 09:30:08 -04:00
musl-cross.patch musl-cross has the correct URLs now (#324) 2018-02-26 11:39:27 -05:00
pciutils-3.5.4.patch build the superiotool, which requires a hack on the pciutils lib/types.h file 2018-03-02 09:37:31 -05:00