From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 14 Oct 2022 11:44:39 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ojHFA-008NmN-7V for lore@lore.pengutronix.de; Fri, 14 Oct 2022 11:44:39 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ojHF8-0001nk-GD; Fri, 14 Oct 2022 11:44:38 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ojHEk-0001nZ-CH; Fri, 14 Oct 2022 11:44:14 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1ojHEj-001SYb-EP; Fri, 14 Oct 2022 11:44:13 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1ojHEi-00BKHT-Mq; Fri, 14 Oct 2022 11:44:12 +0200 Date: Fri, 14 Oct 2022 11:44:12 +0200 From: Michael Olbrich To: Christian Melki Message-ID: Mail-Followup-To: Christian Melki , ptxdist@pengutronix.de References: <20221004073552.653037-1-christian.melki@t2data.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221004073552.653037-1-christian.melki@t2data.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [ptxdist] [PATCH] tpm2-tools: Version bump. 5.2 -> 5.3 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Tue, Oct 04, 2022 at 09:35:52AM +0200, Christian Melki wrote: > https://github.com/tpm2-software/tpm2-tools/releases/tag/5.3 > A lot of fixes and enhancements over the last year. > > * License file moved from doc to docs. Contents is identical. > * Add tpm2 tools and a section for tss2 tools. Was missing previously. > > Signed-off-by: Christian Melki > --- > rules/tpm2-tools.make | 50 ++++++++++++++++++++++++++++++++++++++++--- > 1 file changed, 47 insertions(+), 3 deletions(-) > > diff --git a/rules/tpm2-tools.make b/rules/tpm2-tools.make > index 357bb245e..efc748531 100644 > --- a/rules/tpm2-tools.make > +++ b/rules/tpm2-tools.make > @@ -14,15 +14,15 @@ PACKAGES-$(PTXCONF_TPM2_TOOLS) += tpm2-tools > # > # Paths and names > # > -TPM2_TOOLS_VERSION := 5.2 > -TPM2_TOOLS_MD5 := 0057615ef43b9322d4577fc3bde0e8d6 > +TPM2_TOOLS_VERSION := 5.3 > +TPM2_TOOLS_MD5 := a319d4623f184b80851780b4e425208f > TPM2_TOOLS := tpm2-tools-$(TPM2_TOOLS_VERSION) > TPM2_TOOLS_SUFFIX := tar.gz > TPM2_TOOLS_URL := https://github.com/tpm2-software/tpm2-tools/releases/download/$(TPM2_TOOLS_VERSION)/$(TPM2_TOOLS).$(TPM2_TOOLS_SUFFIX) > TPM2_TOOLS_SOURCE := $(SRCDIR)/$(TPM2_TOOLS).$(TPM2_TOOLS_SUFFIX) > TPM2_TOOLS_DIR := $(BUILDDIR)/$(TPM2_TOOLS) > TPM2_TOOLS_LICENSE := BSD-3-Clause > -TPM2_TOOLS_LICENSE_FILES := file://doc/LICENSE;md5=a846608d090aa64494c45fc147cc12e3 > +TPM2_TOOLS_LICENSE_FILES := file://docs/LICENSE;md5=a846608d090aa64494c45fc147cc12e3 > > # ---------------------------------------------------------------------------- > # Prepare > @@ -75,6 +75,7 @@ TPM2_TOOLS_TPM2_PROGS := \ > tpm2_ecdhkeygen \ > tpm2_ecdhzgen \ > tpm2_ecephemeral \ > + tpm2_encodeobject \ > tpm2_encryptdecrypt \ > tpm2_eventlog \ > tpm2_evictcontrol \ > @@ -154,6 +155,45 @@ TPM2_TOOLS_TPM2_PROGS := \ > tpm2_verifysignature \ > tpm2_zgen2phase > > +TPM2_TOOLS_TSS2_PROGS := \ > + tss2_authorizepolicy \ > + tss2_changeauth \ > + tss2_createkey \ > + tss2_createnv \ > + tss2_createseal \ > + tss2_decrypt \ > + tss2_delete \ > + tss2_encrypt \ > + tss2_exportkey \ > + tss2_exportpolicy \ > + tss2_getappdata \ > + tss2_getcertificate \ > + tss2_getdescription \ > + tss2_getinfo \ > + tss2_getplatformcertificates \ > + tss2_getrandom \ > + tss2_gettpm2object \ > + tss2_gettpmblobs \ > + tss2_import \ > + tss2_list \ > + tss2_nvextend \ > + tss2_nvincrement \ > + tss2_nvread \ > + tss2_nvsetbits \ > + tss2_nvwrite \ > + tss2_pcrextend \ > + tss2_pcrread \ > + tss2_provision \ > + tss2_quote \ > + tss2_setappdata \ > + tss2_setcertificate \ > + tss2_setdescription \ > + tss2_sign \ > + tss2_unseal \ > + tss2_verifyquote \ > + tss2_verifysignature \ > + tss2_writeauthorizenv > + > $(STATEDIR)/tpm2-tools.targetinstall: > @$(call targetinfo) > > @@ -164,10 +204,14 @@ $(STATEDIR)/tpm2-tools.targetinstall: > @$(call install_fixup, tpm2-tools,DESCRIPTION,missing) > > @$(call install_copy, tpm2-tools, 0, 0, 0755, -, /usr/bin/tpm2) > + @$(call install_copy, tpm2-tools, 0, 0, 0755, -, /usr/bin/tss2) This needs libtss2-fapi.so.1 from tpm2-tss. It's build but not installed. Michael > > @$(foreach prog, $(TPM2_TOOLS_TPM2_PROGS), \ > @$(call install_link, tpm2-tools, tpm2, /usr/bin/$(prog))$(ptx/nl)) > > + @$(foreach prog, $(TPM2_TOOLS_TSS2_PROGS), \ > + @$(call install_link, tpm2-tools, tss2, /usr/bin/$(prog))$(ptx/nl)) > + > @$(call install_finish, tpm2-tools) > > @$(call touch) > -- > 2.34.1 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |