From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id dMKhLiTYEWDfVAAA0tVLHw (envelope-from ) for ; Wed, 27 Jan 2021 21:16:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id hda1KSTYEWCsXQAAbx9fmQ (envelope-from ) for ; Wed, 27 Jan 2021 21:16:20 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EA2C29403E7 for ; Wed, 27 Jan 2021 21:16:19 +0000 (UTC) Received: from localhost ([::1]:45860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4sAk-00050l-Rf for larch@yhetil.org; Wed, 27 Jan 2021 16:16:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4sAV-0004y0-Q6 for guix-patches@gnu.org; Wed, 27 Jan 2021 16:16:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34723) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4sAU-0008Et-Nf for guix-patches@gnu.org; Wed, 27 Jan 2021 16:16:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l4sAU-0003Vk-Jc for guix-patches@gnu.org; Wed, 27 Jan 2021 16:16:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46139] [PATCH v2 1/1] gnu: Add tpm2-tss. Resent-From: =?UTF-8?Q?L=C3=A9o?= Le Bouter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Jan 2021 21:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46139 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46139@debbugs.gnu.org Received: via spool by 46139-submit@debbugs.gnu.org id=B46139.161178211113424 (code B ref 46139); Wed, 27 Jan 2021 21:16:02 +0000 Received: (at 46139) by debbugs.gnu.org; 27 Jan 2021 21:15:11 +0000 Received: from localhost ([127.0.0.1]:46267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4s9f-0003UN-89 for submit@debbugs.gnu.org; Wed, 27 Jan 2021 16:15:11 -0500 Received: from mail.zaclys.net ([178.33.93.72]:53389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4s9d-0003Tx-E8 for 46139@debbugs.gnu.org; Wed, 27 Jan 2021 16:15:10 -0500 Received: from localhost.localdomain (lam21-1_migr-78-196-200-185.fbx.proxad.net [78.196.200.185] (may be forged)) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 10RLEggl019159 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 27 Jan 2021 22:15:02 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 10RLEggl019159 Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1611782102; bh=Wgq9NvJbFuK7OLkjiCAZsJM0MjytqMaqXSQF/jEVAMs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OgnDa9lv6e9BBMUnjMVeYKuWZVl+tra8Pu/01jdzB1PM7jL89ZxYI2bNT6VwOydCU DhPdHqLoagHEENiYJAmR7Fpd7jukKOOFdXs+ODoL7rOp4QjKM3Foxuh8vO5sDDHmqf 16hNEqQjDPVIwPs2NVsJxIvLbkPsTUwGaDoENMbQ= Date: Wed, 27 Jan 2021 22:14:19 +0100 Message-Id: <20210127211418.21758-2-lle-bout@zaclys.net> X-Mailer: git-send-email 2.30.0 In-Reply-To: <87y2geqfdm.fsf@nicolasgoaziou.fr> References: <87y2geqfdm.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: =?UTF-8?Q?L=C3=A9o?= Le Bouter X-ACL-Warn: , =?UTF-8?Q?L=C3=A9o?= Le Bouter via Guix-patches From: guix-patches--- via X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 1.15 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zaclys.net header.s=default header.b=OgnDa9lv; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: EA2C29403E7 X-Spam-Score: 1.15 X-Migadu-Scanner: scn1.migadu.com X-TUID: +mECBTfnL5yt * gnu/packages/hardware.scm (tpm2-tss): New variable. --- gnu/packages/hardware.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 59f36a8135..6479db66cd 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -28,6 +28,7 @@ #:use-module (gnu packages check) #:use-module (gnu packages cpp) #:use-module (gnu packages crypto) + #:use-module (gnu packages curl) #:use-module (gnu packages documentation) #:use-module (gnu packages gcc) #:use-module (gnu packages gettext) @@ -42,6 +43,8 @@ #:use-module (gnu packages polkit) #:use-module (gnu packages protobuf) #:use-module (gnu packages python) + #:use-module (gnu packages tls) + #:use-module (gnu packages web) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) @@ -543,3 +546,30 @@ screens. It displays various patterns and allows you to estimate the quality of your CRT/LCD monitor.") (home-page "https://github.com/TobiX/screentest") (license license:gpl2))) + +(define-public tpm2-tss + (package + (name "tpm2-tss") + (version "3.0.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/tpm2-software/" name + "/releases/download/" version "/" name "-" version + ".tar.gz")) + (sha256 + (base32 "05xynpwq851fp8f5fy7ac0blvz8mr5m5cbqj3gslgbwv63kjnfbq")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("openssl" ,openssl) + ("json-c" ,json-c) + ("curl" ,curl))) + (home-page "https://tpm2-software.github.io/") + (synopsis "OSS implementation of the TCG TPM2 Software Stack (TSS2)") + (description "This package provides the Trusted Computing Group's (TCG) +TPM2 Software Stack (TSS). The stack contains libtss2-fapi, libtss2-esys, +libtss2-sys, libtss2-mu, libtss2-tcti-device, libtss2-tcti-tbs (for Windows), +libtss2-tcti-swtpm and libtss2-tcti-mssim.") + (license license:bsd-2))) -- 2.30.0