Package Details: tpm-tools 1.3.9.2-1

Git Clone URL: https://aur.archlinux.org/tpm-tools.git (read-only, click to copy)
Package Base: tpm-tools
Description: Tools to manage and diagnose a TPM
Upstream URL: http://sourceforge.net/projects/trousers
Keywords: tpm
Licenses: CPL
Submitter: mutantmonkey
Maintainer: mutantmonkey
Last Packager: mutantmonkey
Votes: 22
Popularity: 0.000002
First Submitted: 2015-08-17 05:50 (UTC)
Last Updated: 2021-06-07 08:13 (UTC)

Latest Comments

1 2 Next › Last »

whoisroot commented on 2023-10-13 15:53 (UTC)

Please add base-devel to the dependencies

Batou commented on 2023-08-14 03:15 (UTC)

It fails to build.

checking Non-standard OpenSSL location... no
checking for Tspi_Context_Create in -ltspi... no
configure: error: tss lib not found: libtspi.so
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: tpm-tools-exit status 4
checking dependencies...
:: graphviz optionally requires tcl: tcl bindings
:: gvim optionally requires tcl: Tcl language support
:: libnewt optionally requires tcl: whiptcl support

Packages (2) tcl-8.6.13-1  expect-5.45.4-4

Total Removed Size:  7.19 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
(1/2) removing expect                                                                  [##################################################] 100%
(2/2) removing tcl                                                                     [##################################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Notifying arch-audit-gtk
 -> Failed to install the following packages. Manual intervention is required:
tpm-tools - exit status 4

hurufu commented on 2023-02-20 22:08 (UTC)

Please apply the following (or similar) patch:

--- old/src/tpm_mgmt/tpm_version.c  2023-02-20 22:51:08.837057033 +0100
+++ new/src/tpm_mgmt/tpm_version.c  2023-02-20 22:52:26.321555955 +0100
@@ -87,10 +87,11 @@
   }
   if (!(buf = malloc(memsize))) {
     perror("malloc()");
     goto errout;
   }
+  buf[memsize - 1] = '\0';

   // Read file content.
   if (0 > lseek(STDERR_FILENO, 0, SEEK_SET)) {
     perror("lseek()");
     goto errout;

Otherwise tpm_version writes to stderr possibly a non-null terminated string, it happened on one of my machines.

EasyToRemember commented on 2019-09-07 12:33 (UTC) (edited on 2019-09-07 12:33 (UTC) by EasyToRemember)

It seems that man pages need an update (e.g. tpm_nvdefine does not mention -r and -w and -f options).

Where to propose a patch? Upstream is unmantainded, isn't it?

Here?

mutantmonkey commented on 2017-06-10 22:38 (UTC)

Thanks djgera! I'm not really happy with the number of patches that are necessary for this, but I guess it can't be helped.

djgera commented on 2017-05-27 22:54 (UTC)

I made some changes to this package, please apply it. Thanks. * Apply some Debian patches (most important for fix openssl-1.1.0 build) * Extract source in correct directory. * Fix indentation https://gist.github.com/djgera/f6c9b7ad86699e0c25c7676e604224a4

electrickite commented on 2017-02-24 05:28 (UTC)

Version 1.3.9.1 fixes a bug in tpm_sealdata that leads to a segfault on newer versions of OpenSSL. Any chance the package could be updated?

mutantmonkey commented on 2016-12-03 21:42 (UTC)

As noted in https://aur.archlinux.org/packages/trousers/#comment-572786, the checksums for trousers and tpm-tools have changed and I have found no explanation for this. Given that the download is hosted on SourceForge, I think it's worthwhile to conduct a more thorough investigation before I update the checksums.