Source: tpm-tools
Version: 1.3.9.2-0.1
Severity: serious
Tags: patch pending sid trixie
Justification: library ABI skew on upgrade
User: [email protected]
Usertags: time-t

NOTICE: these changes must not be uploaded to unstable yet!

Dear maintainer,

As part of the 64-bit time_t transition required to support 32-bit
architectures in 2038 and beyond
(https://wiki.debian.org/ReleaseGoals/64bit-time), we have identified
tpm-tools as a source package shipping runtime libraries whose ABI
either is affected by the change in size of time_t, or could not be
analyzed via abi-compliance-checker (and therefore to be on the safe
side we assume is affected).

To ensure that inconsistent combinations of libraries with their
reverse-dependencies are never installed together, it is necessary to
have a library transition, which is most easily done by renaming the
runtime library package.

Since turning on 64-bit time_t is being handled centrally through a change
to the default dpkg-buildflags (https://bugs.debian.org/1037136), it is
important that libraries affected by this ABI change all be uploaded close
together in time.  Therefore I have prepared a 0-day NMU for tpm-tools
which will initially be uploaded to experimental if possible, then to
unstable after packages have cleared binary NEW.

Please find the patch for this NMU attached.

If you have any concerns about this patch, please reach out ASAP.  Although
this package will be uploaded to experimental immediately, there will be a
period of several days before we begin uploads to unstable; so if information
becomes available that your package should not be included in the transition,
there is time for us to amend the planned uploads.



-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-14-generic (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru tpm-tools-1.3.9.2/debian/changelog tpm-tools-1.3.9.2/debian/changelog
--- tpm-tools-1.3.9.2/debian/changelog  2022-07-01 20:34:48.000000000 +0000
+++ tpm-tools-1.3.9.2/debian/changelog  2024-02-04 10:27:07.000000000 +0000
@@ -1,3 +1,10 @@
+tpm-tools (1.3.9.2-0.2) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <[email protected]>  Sun, 04 Feb 2024 10:27:07 +0000
+
 tpm-tools (1.3.9.2-0.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru tpm-tools-1.3.9.2/debian/control tpm-tools-1.3.9.2/debian/control
--- tpm-tools-1.3.9.2/debian/control    2022-07-01 20:34:48.000000000 +0000
+++ tpm-tools-1.3.9.2/debian/control    2024-02-04 10:27:05.000000000 +0000
@@ -38,7 +38,10 @@
  This package contains commands to utilize some of the capabilities available
  in the TPM PKCS#11 interface implemented in the openCryptoki project.
 
-Package: libtpm-unseal1
+Package: libtpm-unseal1t64
+Provides: ${t64:Provides}
+Replaces: libtpm-unseal1
+Breaks: libtpm-unseal1 (<< ${source:Version})
 Section: libs
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
@@ -54,7 +57,7 @@
 Package: libtpm-unseal-dev
 Section: libdevel
 Architecture: any
-Depends: ${misc:Depends}, libtpm-unseal1 (= ${binary:Version})
+Depends: ${misc:Depends}, libtpm-unseal1t64 (= ${binary:Version})
 Description: Management tools for the TPM hardware (development)
  tpm-tools is a group of tools to manage and utilize the Trusted Computing
  Group's TPM hardware. TPM hardware can create, store and use RSA keys
diff -Nru tpm-tools-1.3.9.2/debian/libtpm-unseal1.install 
tpm-tools-1.3.9.2/debian/libtpm-unseal1.install
--- tpm-tools-1.3.9.2/debian/libtpm-unseal1.install     2022-07-01 
20:28:42.000000000 +0000
+++ tpm-tools-1.3.9.2/debian/libtpm-unseal1.install     1970-01-01 
00:00:00.000000000 +0000
@@ -1 +0,0 @@
-/usr/lib/*/*.so.*
diff -Nru tpm-tools-1.3.9.2/debian/libtpm-unseal1.symbols 
tpm-tools-1.3.9.2/debian/libtpm-unseal1.symbols
--- tpm-tools-1.3.9.2/debian/libtpm-unseal1.symbols     2022-07-01 
20:28:44.000000000 +0000
+++ tpm-tools-1.3.9.2/debian/libtpm-unseal1.symbols     1970-01-01 
00:00:00.000000000 +0000
@@ -1,103 +0,0 @@
-libtpm_unseal.so.1 libtpm-unseal1 #MINVER#
- NVDefineSpace@Base 1.3.8
- NVReadValue@Base 1.3.8
- NVReleaseSpace@Base 1.3.8
- NVWriteValue@Base 1.3.8
- SRK_UUID@Base 1.3.8
- __memset@Base 1.3.9
- _getPasswd12@Base 1.3.8
- _getPasswd@Base 1.3.8
- alg3Des@Base 1.3.8
- algAes@Base 1.3.8
- algDes@Base 1.3.8
- algHmac@Base 1.3.8
- algRsa@Base 1.3.8
- algSha@Base 1.3.8
- authUsageAlways@Base 1.3.8
- authUsageNever@Base 1.3.8
- contextClose@Base 1.3.8
- contextCloseObject@Base 1.3.8
- contextConnect@Base 1.3.8
- contextCreate@Base 1.3.8
- contextCreateObject@Base 1.3.8
- contextGetTpm@Base 1.3.8
- dataSeal@Base 1.3.8
- displayAlgorithmMap@Base 1.3.8
- displayAuthUsageMap@Base 1.3.8
- displayEncSchemeMap@Base 1.3.8
- displayKey@Base 1.3.8
- displayKeyFlagsMap@Base 1.3.8
- displayKeyUsageMap@Base 1.3.8
- displaySigSchemeMap@Base 1.3.8
- encNone@Base 1.3.8
- encRsaOaepSha1Mgf1@Base 1.3.8
- encRsaPkcs15@Base 1.3.8
- flagMap@Base 1.3.8
- flagMax@Base 1.3.8
- genericOptHandler@Base 1.3.8
- getAttribData@Base 1.3.8
- getAttribUint32@Base 1.3.8
- getCapability@Base 1.3.8
- getPasswd12@Base 1.3.8
- getPlainPasswd@Base 1.3.8
- getReply@Base 1.3.8
- hContext@Base 1.3.8
- iLogLevel@Base 1.3.8
- initIntlSys@Base 1.3.8
- isTpmOwned@Base 1.3.8
- keyCreateKey@Base 1.3.8
- keyGetKeyByUUID@Base 1.3.8
- keyGetPubKey@Base 1.3.8
- keyLoadKey@Base 1.3.8
- keyLoadKeyByUUID@Base 1.3.8
- logBool@Base 1.3.8
- logCmdHelp@Base 1.3.8
- logCmdHelpEx@Base 1.3.8
- logCmdOption@Base 1.3.8
- logDebug@Base 1.3.8
- logError@Base 1.3.8
- logGenericOptions@Base 1.3.8
- logHex@Base 1.3.8
- logInfo@Base 1.3.8
- logIt@Base 1.3.8
- logMsg@Base 1.3.8
- logNVIndexCmdOption@Base 1.3.8
- logOwnerPassCmdOption@Base 1.3.8
- logProcess@Base 1.3.8
- logSuccess@Base 1.3.8
- logUnicodeCmdOption@Base 1.3.8
- mapTssBool@Base 1.3.8
- mapUnknown@Base 1.3.8
- pcrcompositeSetPcrLocality@Base 1.3.8
- pcrcompositeSetPcrValue@Base 1.3.8
- policyAssign@Base 1.3.8
- policyFlushSecret@Base 1.3.8
- policyGet@Base 1.3.8
- policySetSecret@Base 1.3.8
- shredPasswd@Base 1.3.8
- sigNone@Base 1.3.8
- sigRsaPkcs15Der@Base 1.3.8
- sigRsaPkcs15Sha1@Base 1.3.8
- tpmGetPubEk@Base 1.3.8
- tpmGetRandom@Base 1.3.8
- tpmGetStatus@Base 1.3.8
- tpmPcrRead@Base 1.3.8
- tpmSetStatus@Base 1.3.8
- tpmUnsealFile@Base 1.3.8
- tpmUnsealShred@Base 1.3.8
- tpmUnsealStrerror@Base 1.3.8
- tpm_errno@Base 1.3.8
- tpm_error_buf@Base 1.3.8
- tspiDebug@Base 1.3.8
- tspiError@Base 1.3.8
- tspiResult@Base 1.3.8
- tspi_error_strings@Base 1.3.8
- unloadNVDataPublic@Base 1.3.8
- unloadVersionInfo@Base 1.3.8
- usageAuthChange@Base 1.3.8
- usageBind@Base 1.3.8
- usageIdentity@Base 1.3.8
- usageLegacy@Base 1.3.8
- usageSigning@Base 1.3.8
- usageStorage@Base 1.3.8
- useUnicode@Base 1.3.8
diff -Nru tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.install 
tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.install
--- tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.install  1970-01-01 
00:00:00.000000000 +0000
+++ tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.install  2022-07-01 
20:28:42.000000000 +0000
@@ -0,0 +1 @@
+/usr/lib/*/*.so.*
diff -Nru tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.lintian-overrides 
tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.lintian-overrides
--- tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.lintian-overrides        
1970-01-01 00:00:00.000000000 +0000
+++ tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.lintian-overrides        
2024-02-04 10:27:05.000000000 +0000
@@ -0,0 +1 @@
+libtpm-unseal1t64: package-name-doesnt-match-sonames libtpm-unseal1
diff -Nru tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.symbols 
tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.symbols
--- tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.symbols  1970-01-01 
00:00:00.000000000 +0000
+++ tpm-tools-1.3.9.2/debian/libtpm-unseal1t64.symbols  2024-02-04 
10:27:05.000000000 +0000
@@ -0,0 +1,103 @@
+libtpm_unseal.so.1 libtpm-unseal1t64 #MINVER#
+ NVDefineSpace@Base 1.3.8
+ NVReadValue@Base 1.3.8
+ NVReleaseSpace@Base 1.3.8
+ NVWriteValue@Base 1.3.8
+ SRK_UUID@Base 1.3.8
+ __memset@Base 1.3.9
+ _getPasswd12@Base 1.3.8
+ _getPasswd@Base 1.3.8
+ alg3Des@Base 1.3.8
+ algAes@Base 1.3.8
+ algDes@Base 1.3.8
+ algHmac@Base 1.3.8
+ algRsa@Base 1.3.8
+ algSha@Base 1.3.8
+ authUsageAlways@Base 1.3.8
+ authUsageNever@Base 1.3.8
+ contextClose@Base 1.3.8
+ contextCloseObject@Base 1.3.8
+ contextConnect@Base 1.3.8
+ contextCreate@Base 1.3.8
+ contextCreateObject@Base 1.3.8
+ contextGetTpm@Base 1.3.8
+ dataSeal@Base 1.3.8
+ displayAlgorithmMap@Base 1.3.8
+ displayAuthUsageMap@Base 1.3.8
+ displayEncSchemeMap@Base 1.3.8
+ displayKey@Base 1.3.8
+ displayKeyFlagsMap@Base 1.3.8
+ displayKeyUsageMap@Base 1.3.8
+ displaySigSchemeMap@Base 1.3.8
+ encNone@Base 1.3.8
+ encRsaOaepSha1Mgf1@Base 1.3.8
+ encRsaPkcs15@Base 1.3.8
+ flagMap@Base 1.3.8
+ flagMax@Base 1.3.8
+ genericOptHandler@Base 1.3.8
+ getAttribData@Base 1.3.8
+ getAttribUint32@Base 1.3.8
+ getCapability@Base 1.3.8
+ getPasswd12@Base 1.3.8
+ getPlainPasswd@Base 1.3.8
+ getReply@Base 1.3.8
+ hContext@Base 1.3.8
+ iLogLevel@Base 1.3.8
+ initIntlSys@Base 1.3.8
+ isTpmOwned@Base 1.3.8
+ keyCreateKey@Base 1.3.8
+ keyGetKeyByUUID@Base 1.3.8
+ keyGetPubKey@Base 1.3.8
+ keyLoadKey@Base 1.3.8
+ keyLoadKeyByUUID@Base 1.3.8
+ logBool@Base 1.3.8
+ logCmdHelp@Base 1.3.8
+ logCmdHelpEx@Base 1.3.8
+ logCmdOption@Base 1.3.8
+ logDebug@Base 1.3.8
+ logError@Base 1.3.8
+ logGenericOptions@Base 1.3.8
+ logHex@Base 1.3.8
+ logInfo@Base 1.3.8
+ logIt@Base 1.3.8
+ logMsg@Base 1.3.8
+ logNVIndexCmdOption@Base 1.3.8
+ logOwnerPassCmdOption@Base 1.3.8
+ logProcess@Base 1.3.8
+ logSuccess@Base 1.3.8
+ logUnicodeCmdOption@Base 1.3.8
+ mapTssBool@Base 1.3.8
+ mapUnknown@Base 1.3.8
+ pcrcompositeSetPcrLocality@Base 1.3.8
+ pcrcompositeSetPcrValue@Base 1.3.8
+ policyAssign@Base 1.3.8
+ policyFlushSecret@Base 1.3.8
+ policyGet@Base 1.3.8
+ policySetSecret@Base 1.3.8
+ shredPasswd@Base 1.3.8
+ sigNone@Base 1.3.8
+ sigRsaPkcs15Der@Base 1.3.8
+ sigRsaPkcs15Sha1@Base 1.3.8
+ tpmGetPubEk@Base 1.3.8
+ tpmGetRandom@Base 1.3.8
+ tpmGetStatus@Base 1.3.8
+ tpmPcrRead@Base 1.3.8
+ tpmSetStatus@Base 1.3.8
+ tpmUnsealFile@Base 1.3.8
+ tpmUnsealShred@Base 1.3.8
+ tpmUnsealStrerror@Base 1.3.8
+ tpm_errno@Base 1.3.8
+ tpm_error_buf@Base 1.3.8
+ tspiDebug@Base 1.3.8
+ tspiError@Base 1.3.8
+ tspiResult@Base 1.3.8
+ tspi_error_strings@Base 1.3.8
+ unloadNVDataPublic@Base 1.3.8
+ unloadVersionInfo@Base 1.3.8
+ usageAuthChange@Base 1.3.8
+ usageBind@Base 1.3.8
+ usageIdentity@Base 1.3.8
+ usageLegacy@Base 1.3.8
+ usageSigning@Base 1.3.8
+ usageStorage@Base 1.3.8
+ useUnicode@Base 1.3.8

Reply via email to