Skip to content

Commit

Permalink
hotp boards: enable autoboot after 5 seconds if reverse HOTP against …
Browse files Browse the repository at this point in the history
…USB Security Dongle is successful by default

Signed-off-by: Thierry Laurion <[email protected]>
  • Loading branch information
tlaurion authored and JonathonHall-Purism committed Jan 9, 2024
1 parent 25b977d commit a2ebf25
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
include $(pwd)/boards/UNTESTED_p8z77-m_pro-tpm1-maximized/UNTESTED_p8z77-m_pro-tpm1-maximized.config

CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

export CONFIG_BOARD_NAME="P8Z77-M PRO-HOTP"
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ CONFIG_TPMTOTP=y
#HOTP based remote attestation for supported USB Security dongle
#With/Without TPM support
CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

#Nitrokey Storage admin tool
CONFIG_NKSTORECLI=n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ CONFIG_TPMTOTP=y
#HOTP based remote attestation for supported USB Security dongle
#With/Without TPM support
CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

#Nitrokey Storage admin tool
CONFIG_NKSTORECLI=n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ CONFIG_TPMTOTP=y
#HOTP based remote attestation for supported USB Security dongle
#With/Without TPM support
CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

#Nitrokey Storage admin tool
CONFIG_NKSTORECLI=n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ CONFIG_TPMTOTP=y
#HOTP based remote attestation for supported USB Security dongle
#With/Without TPM support
CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

#Nitrokey Storage admin tool
CONFIG_NKSTORECLI=n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ CONFIG_TPMTOTP=y
#HOTP based remote attestation for supported USB Security dongle
#With/Without TPM support
CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

#Nitrokey Storage admin tool
CONFIG_NKSTORECLI=n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ CONFIG_TPMTOTP=y
#HOTP based remote attestation for supported USB Security dongle
#With/Without TPM support
CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

#Nitrokey Storage admin tool
CONFIG_NKSTORECLI=n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ CONFIG_MBEDTLS=y
CONFIG_DROPBEAR=y
CONFIG_MSRTOOLS=y
CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

#Uncomment only one of the following block
#Required for graphical gui-init (FBWhiptail)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ CONFIG_MBEDTLS=y
CONFIG_DROPBEAR=y
CONFIG_MSRTOOLS=y
CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

#Uncomment only one of the following block
#Required for graphical gui-init (FBWhiptail)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ CONFIG_MBEDTLS=y
CONFIG_DROPBEAR=y
CONFIG_MSRTOOLS=y
CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

#Uncomment only one of the following block
#Required for graphical gui-init (FBWhiptail)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ CONFIG_MBEDTLS=y
CONFIG_DROPBEAR=y
CONFIG_MSRTOOLS=y
CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

#Uncomment only one of the following block
#Required for graphical gui-init (FBWhiptail)
Expand Down
1 change: 1 addition & 0 deletions boards/t420-hotp-maximized/t420-hotp-maximized.config
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ CONFIG_TPMTOTP=y
#HOTP based remote attestation for supported USB Security dongle
#With/Without TPM support
CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

#Nitrokey Storage admin tool
CONFIG_NKSTORECLI=n
Expand Down
1 change: 1 addition & 0 deletions boards/t430-hotp-maximized/t430-hotp-maximized.config
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ CONFIG_TPMTOTP=y
#HOTP based remote attestation for supported USB Security dongle
#With/Without TPM support
CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

#Nitrokey Storage admin tool
CONFIG_NKSTORECLI=n
Expand Down
1 change: 1 addition & 0 deletions boards/t440p-hotp-maximized/t440p-hotp-maximized.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
include $(pwd)/boards/t440p-maximized/t440p-maximized.config

CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

export CONFIG_BOARD_NAME="ThinkPad T440p-hotp-maximized"
1 change: 1 addition & 0 deletions boards/w530-hotp-maximized/w530-hotp-maximized.config
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ CONFIG_TPMTOTP=y
#HOTP based remote attestation for supported USB Security dongle
#With/Without TPM support
CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

#Nitrokey Storage admin tool
CONFIG_NKSTORECLI=n
Expand Down
1 change: 1 addition & 0 deletions boards/w541-hotp-maximized/w541-hotp-maximized.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
include $(pwd)/boards/w541-maximized/w541-maximized.config

CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

export CONFIG_BOARD_NAME="ThinkPad W541-hotp-maximized"
1 change: 1 addition & 0 deletions boards/x220-hotp-maximized/x220-hotp-maximized.config
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ CONFIG_TPMTOTP=y
#HOTP based remote attestation for supported USB Security dongle
#With/Without TPM support
CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

#Nitrokey Storage admin tool
CONFIG_NKSTORECLI=n
Expand Down
1 change: 1 addition & 0 deletions boards/x230-hotp-legacy/x230-hotp-legacy.config
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ CONFIG_TPMTOTP=y
#HOTP based remote attestation for supported USB Security dongle
#With/Without TPM support
CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

#Nitrokey Storage admin tool
CONFIG_NKSTORECLI=n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ CONFIG_TPMTOTP=y
#HOTP based remote attestation for supported USB Security dongle
#With/Without TPM support
CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

#Nitrokey Storage admin tool
CONFIG_NKSTORECLI=n
Expand Down
1 change: 1 addition & 0 deletions boards/x230-hotp-maximized/x230-hotp-maximized.config
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ CONFIG_TPMTOTP=y
#HOTP based remote attestation for supported USB Security dongle
#With/Without TPM support
CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

#Nitrokey Storage admin tool
CONFIG_NKSTORECLI=n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ CONFIG_TPMTOTP=y
#HOTP based remote attestation for supported USB Security dongle
#With/Without TPM support
CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

#Nitrokey Storage admin tool
CONFIG_NKSTORECLI=n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
include $(pwd)/boards/z220-cmt-maximized/z220-cmt-maximized.config

CONFIG_HOTPKEY=y
export CONFIG_AUTO_BOOT_TIMEOUT=5

export CONFIG_BOARD_NAME="Hewlett-Packard Z220 Convertible Minitower (HOTP)"

0 comments on commit a2ebf25

Please sign in to comment.