@@ -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.