Initial Commit
- initial default booting image
This commit is contained in:
21
package/tpm2-totp/Config.in
Normal file
21
package/tpm2-totp/Config.in
Normal file
@@ -0,0 +1,21 @@
|
||||
config BR2_PACKAGE_TPM2_TOTP
|
||||
bool "tpm2-totp"
|
||||
depends on !BR2_STATIC_LIBS # tpm2-tss
|
||||
select BR2_PACKAGE_LIBQRENCODE
|
||||
select BR2_PACKAGE_TPM2_TSS
|
||||
help
|
||||
This is a reimplementation of Matthew Garrett's tpmtotp
|
||||
software for TPM 2.0 using the tpm2-tss software stack. Its
|
||||
purpose is to attest the trustworthiness of a device against
|
||||
a human using time-based one-time passwords (TOTP),
|
||||
facilitating the Trusted Platform Module (TPM) to bind the
|
||||
TOTP secret to the known trustworthy system state. In
|
||||
addition to the original tpmtotp, given the new capabilities
|
||||
of in-TPM hmac calculation, the tpm2-totp's secret HMAC keys
|
||||
do not have to be exported from the TPM to the CPU's RAM on
|
||||
boot anymore.
|
||||
|
||||
https://github.com/tpm2-software/tpm2-totp
|
||||
|
||||
comment "tpm2-totp needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
3
package/tpm2-totp/tpm2-totp.hash
Normal file
3
package/tpm2-totp/tpm2-totp.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 1a8c83dc0d0dc58bd85a3fbfc9da6e39414c0d33f1a19886cde20f063f0c527b tpm2-totp-0.3.0.tar.gz
|
||||
sha256 67bc21a0bff2b0890307cfaa883bd3f5337f461eb6d8a612a015cea6d704e9ed LICENSE
|
||||
26
package/tpm2-totp/tpm2-totp.mk
Normal file
26
package/tpm2-totp/tpm2-totp.mk
Normal file
@@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# tpm2-totp
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TPM2_TOTP_VERSION = 0.3.0
|
||||
TPM2_TOTP_SITE = https://github.com/tpm2-software/tpm2-totp/releases/download/v$(TPM2_TOTP_VERSION)
|
||||
TPM2_TOTP_LICENSE = BSD-3-Clause
|
||||
TPM2_TOTP_LICENSE_FILES = LICENSE
|
||||
TPM2_TOTP_SELINUX_MODULES = tpm2
|
||||
TPM2_TOTP_DEPENDENCIES = libqrencode tpm2-tss host-pkgconf
|
||||
TPM2_TOTP_CONF_OPTS = \
|
||||
--disable-defaultflags \
|
||||
--disable-doxygen-doc \
|
||||
--disable-plymouth \
|
||||
--without-initramfstoolsdir \
|
||||
--without-mkinitcpiodir
|
||||
|
||||
# uses C99 code but forgets to pass -std=c99 when --disable-defaultflags is used
|
||||
TPM2_TOTP_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99"
|
||||
|
||||
# do not build man pages
|
||||
TPM2_TOTP_CONF_ENV += ac_cv_path_PANDOC=''
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user