From debbugs-submit-bounces@debbugs.gnu.org Mon May 22 02:27:54 2023 Received: (at submit) by debbugs.gnu.org; 22 May 2023 06:27:54 +0000 Received: from localhost ([127.0.0.1]:33356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0z1O-0005bk-ER for submit@debbugs.gnu.org; Mon, 22 May 2023 02:27:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:48316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0z1M-0005bc-7Z for submit@debbugs.gnu.org; Mon, 22 May 2023 02:27:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0z1M-00079B-0j for guix-patches@gnu.org; Mon, 22 May 2023 02:27:52 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1q0z1K-0005eb-Ck for guix-patches@gnu.org; Mon, 22 May 2023 02:27:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=JsXjY/MEpjaSydH CaOepLQ9Z13mjZ1OJd5hMrnQiUQE=; h=date:subject:cc:to:from; d=lease-up.com; b=BiiOUdnT5e/cMUVScfs7vmf/HEB3OSP32WNwZ4v9FhVlhj4Rxe5b 6fxa8Za7Yd7gHz955f5x/vaJyyxT5qYwLCKXmlbVDhQn0Uo9Q0EKLvvM9BT2hJssWeSvaH PwtVEi3fUykAHXWBAx3qSsXXGIWE/gRQ6RnNcJVlhgUgFsHJw= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 89fa8120 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 22 May 2023 06:27:46 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 70ebb3a9; Mon, 22 May 2023 06:27:45 +0000 (UTC) From: Felix Lechner To: guix-patches@gnu.org Subject: [PATCH] gnu: tpm2-tools: New variable Date: Sun, 21 May 2023 23:27:36 -0700 Message-Id: <41233051ac8124b990c601fcfe7abdbf35b4e916.1684736552.git.felix.lechner@lease-up.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=208.82.101.137; envelope-from=felix.lechner@us-core.com; helo=sail-ipv4.us-core.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit Cc: Felix Lechner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) * gnu/packages/hardware.scm (tpm-tools): New variable. --- gnu/packages/hardware.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index c23299d1db..f20657cdef 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -61,6 +61,7 @@ (define-module (gnu packages hardware) #:use-module (gnu packages gnome) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) + #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages high-availability) #:use-module (gnu packages libusb) #:use-module (gnu packages linux) @@ -1313,6 +1314,36 @@ (define-public tpm2-tss and libtss2-tcti-mssim.") (license license:bsd-2))) +(define-public tpm2-tools + (package + (name "tpm2-tools") + (version "5.5") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/tpm2-software/tpm2-tools/" + "releases/download/" version "/" + "tpm2-tools-" version ".tar.gz")) + (sha256 + (base32 "08y16q92dh7frsyw0zlm3q9gsfqyls0li248s2pgsysk633lknqz")))) + (build-system gnu-build-system) + (native-inputs (list autoconf + automake + curl + libtool + gnu-gettext + openssl + pandoc + pkg-config + tpm2-tss)) + (home-page "https://github.com/tpm2-software/tpm2-tools") + (synopsis "Tools for the Trusted Platform Module (TPM 2.0)") + (description + "User tools for the Trusted Computing Group's (TCG) TPM2 Software Stack +(TSS). These programs hepl with common tasks such as key management, +attestation, encryption, and signing.") + (license license:bsd-3))) + (define-public libcpuid ;; We need to remove blobs from the source, first we have to isolate the blob ;; source in build system. base-commit: 849286ba66c96534bddc04df1a47d5692cbc977e -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Mon May 22 10:47:05 2023 Received: (at 63637) by debbugs.gnu.org; 22 May 2023 14:47:05 +0000 Received: from localhost ([127.0.0.1]:35657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q16oS-0003NI-Rm for submit@debbugs.gnu.org; Mon, 22 May 2023 10:47:05 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]:53368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q16oP-0003Mo-HJ for 63637@debbugs.gnu.org; Mon, 22 May 2023 10:47:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=nIwcdTUG45lS8ah ySqrwxEb46S9iNaZMrD9KvioddfQ=; h=to:subject:date:from; d=lease-up.com; b=fNoAWTtBW8IywaL8HDPUnBswkpuVMQkQyxtuW5/O8l0bzn8APoXGkHGYPK6OZBibwyCT e5XCOQLZQZAZou0gai6hHQ3tMsh3pPud4uEsrBsQ3zL9piTl1gq/QZdRVusTLxQWLURRlr y8NJViLaymg+J1sSUXqA5dDqLsJbEJXr0= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id c8c93c6b (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <63637@debbugs.gnu.org>; Mon, 22 May 2023 14:46:59 +0000 (UTC) Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-2af189d323fso44375201fa.1 for <63637@debbugs.gnu.org>; Mon, 22 May 2023 07:46:58 -0700 (PDT) X-Gm-Message-State: AC+VfDzxs2j0FJijKQNUo2xe1A7+U6DvpqbFOkPSxwOFPV6BDuHYbtqN terrTXFEYIyB2ijgXVjZwOYyLv4L2mLrRj2Ojbo= X-Google-Smtp-Source: ACHHUZ6mgzvTaVRtogsHvh0uJl58QcbTVEiv/J8pyKDSJ76nlaFWJJHfCsFDdPBj4CZ9IMIm92U0PqcBSezSv++mQeo= X-Received: by 2002:ac2:4c49:0:b0:4f0:74:61a0 with SMTP id o9-20020ac24c49000000b004f0007461a0mr4011253lfk.0.1684766816945; Mon, 22 May 2023 07:46:56 -0700 (PDT) MIME-Version: 1.0 From: Felix Lechner Date: Mon, 22 May 2023 07:46:20 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: For boot-time signature checks (aka "secure boot") To: 63637@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63637 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, I should have mentioned that the programs can help analyze the TPM 2.0 event log that shows the hashes of so-called Option ROMs. After the Microblows keys are removed, such embedded firmwares (including, possibly, on video cards) will only run after their hashes were enrolled. Not doing so can soft-brick a device. Kind regards Felix From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 01 07:15:33 2023 Received: (at submit) by debbugs.gnu.org; 1 Jul 2023 11:15:33 +0000 Received: from localhost ([127.0.0.1]:56787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFYZg-0004Ep-Nu for submit@debbugs.gnu.org; Sat, 01 Jul 2023 07:15:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:55634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFYZe-0004Ea-0t for submit@debbugs.gnu.org; Sat, 01 Jul 2023 07:15:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFYZd-0001aJ-3w for guix-patches@gnu.org; Sat, 01 Jul 2023 07:15:29 -0400 Received: from relay7-d.mail.gandi.net ([2001:4b98:dc4:8::227]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFYZa-0003um-6V for guix-patches@gnu.org; Sat, 01 Jul 2023 07:15:28 -0400 X-GND-Sasl: mail@nicolasgoaziou.fr X-GND-Sasl: mail@nicolasgoaziou.fr X-GND-Sasl: mail@nicolasgoaziou.fr Received: by mail.gandi.net (Postfix) with ESMTPSA id E6F1B20002; Sat, 1 Jul 2023 11:15:19 +0000 (UTC) From: Nicolas Goaziou To: Felix Lechner via Guix-patches via Subject: Re: [bug#63637] [PATCH] gnu: tpm2-tools: New variable References: <41233051ac8124b990c601fcfe7abdbf35b4e916.1684736552.git.felix.lechner@lease-up.com> Date: Sat, 01 Jul 2023 13:15:10 +0200 In-Reply-To: <41233051ac8124b990c601fcfe7abdbf35b4e916.1684736552.git.felix.lechner@lease-up.com> (Felix Lechner via Guix-patches via's message of "Sun, 21 May 2023 23:27:36 -0700") Message-ID: <873527khmp.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:4b98:dc4:8::227; envelope-from=mail@nicolasgoaziou.fr; helo=relay7-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: 63637-done@debbugs.gnu.org, Felix Lechner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Hello, Felix Lechner via Guix-patches via writes: > * gnu/packages/hardware.scm (tpm-tools): New variable. Applied, with the change below. Thank you. > + (description > + "User tools for the Trusted Computing Group's (TCG) TPM2 Software Stack > +(TSS). These programs hepl with common tasks such as key management, > +attestation, encryption, and signing.") Descriptions should consist of complete sentences: "This package provides user tools for..." Regards, -- Nicolas Goaziou From unknown Fri Jun 20 19:47:16 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 29 Jul 2023 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator