mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 21:43:11 +00:00
df02fd934a
Update nitrokey-hotp-verification to upstream master, which pulls in 2 changes: - update OTP secret length from 20 bytes to 40 bytes - fixes handling for branding strings containing spaces Test: build/boot Librem 13v4, verify LK verification working Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
38 lines
1.5 KiB
Plaintext
38 lines
1.5 KiB
Plaintext
modules-$(CONFIG_HOTPKEY) += hotp-verification
|
|
|
|
hotp-verification_depends := libusb $(musl_dep)
|
|
|
|
hotp-verification_version := b2b924eabd4d713f73bfaa298cc4c759421caf8f
|
|
hotp-verification_dir := hotp-verification-$(hotp-verification_version)
|
|
hotp-verification_tar := nitrokey-hotp-verification-$(hotp-verification_version).tar.gz
|
|
hotp-verification_url := https://github.com/Nitrokey/nitrokey-hotp-verification/archive/$(hotp-verification_version).tar.gz
|
|
hotp-verification_hash := 424d3e0b0d35d3d9ce16d68fae7d19f23bc0d4317f5ccc879c04e18c3f9bdfc1
|
|
|
|
hotp-verification_target := \
|
|
$(MAKE_JOBS) \
|
|
$(CROSS_TOOLS) \
|
|
|
|
hotp-verification_output := \
|
|
hotp_verification \
|
|
hotp_initialize
|
|
|
|
hotp-verification_configure := \
|
|
INSTALL="$(INSTALL)" \
|
|
CROSS="$(CROSS)" \
|
|
$(CROSS_TOOLS) $(MAKE) LDFLAGS="$(INSTALL)/lib/libusb-1.0.so" GITVERSION="" LIBUSB_FLAGS="-I/usr/include/libusb-1.0" PKGCONFIG="" && $(MAKE) install INSTALL="$(INSTALL)"
|
|
|
|
hotp-verification_depends += hidapi
|
|
modules-y += hidapi
|
|
|
|
hidapi_version := e5ae0d30a523c565595bdfba3d5f2e9e1faf0bd0
|
|
hidapi_dir := hotp-verification-$(hotp-verification_version)/hidapi
|
|
hidapi_tar := hidapi-$(hidapi_version).tar.xz
|
|
hidapi_url := https://github.com/Nitrokey/hidapi/archive/$(hidapi_version).tar.gz
|
|
hidapi_hash := acc2a5089a8917085c2b3ebe9446065a21c760ba7e13cb54917043c4122188e0
|
|
|
|
|
|
## hidapi will be built as part of hotp-verification
|
|
## so nothing to do here (but need make to be happy)
|
|
hidapi_output := .built
|
|
hidapi_configure := echo -e 'all:\n\ttouch .built' > Makefile
|