Bug#1051747: p11tool should use libssl3

Philipp Marek philipp at marek.priv.at
Tue Sep 12 06:56:33 BST 2023


Package: gnutls-bin
Version: 3.8.1-4+b1
Severity: normal
X-Debbugs-Cc: philipp at marek.priv.at

After removing libssl1.1:amd64=1.1.1o-1 I can't run p11tool any more:

    # LD_DEBUG=libs p11tool
       1708431:     find library=libcrypto.so.1.0.1 [0]; searching
       ...
       1708431:     find library=libcrypto.so.1.0.0 [0]; searching
       ...
       1708431:     find library=libcrypto.so.1.0 [0]; searching
       ...
       1708431:     find library=libcrypto.so.10 [0]; searching
       ...
       1708431:     find library=libcrypto.so.1.1 [0]; searching
       1708431:      search path=/usr/lib           (system search path)
       1708431:       trying file=/usr/lib/libcrypto.so.1.1
       1708431:      search cache=/etc/ld.so.cache
       1708431:      search path=/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/lib:/usr/lib              (system search path)
       1708431:       trying file=/lib/x86_64-linux-gnu/libcrypto.so.1.1
       1708431:       trying file=/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
       1708431:       trying file=/lib/libcrypto.so.1.1
       1708431:       trying file=/usr/lib/libcrypto.so.1.1
       1708431:
    p11tool: CRYPTO/Crypto.c:355: init_openssl_crypto: Assertion `lib' failed.

https://packages.debian.org/search?searchon=contents&keywords=libcrypto.so 
says that libssl-dev contains a libcrypto.so;
I've got libssl-dev:amd64 3.0.10-1 installed,
but p11tool only looks for 1.x, and 3.x is incompatible AFAIR.

(Re)installing http://snapshot.debian.org/archive/debian/20230910T024957Z/pool/main/o/openssl/libssl1.1_1.1.1v-0~deb11u1_amd64.deb
makes it work again.


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.4.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8), LANGUAGE=de_AT:de
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnutls-bin depends on:
ii  libc6            2.37-7
ii  libgnutls-dane0  3.8.1-4+b1
ii  libgnutls30      3.8.1-4+b1
ii  libtasn1-6       4.19.0-3

gnutls-bin recommends no packages.

gnutls-bin suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: can't check gnutls-bin file /usr/share/doc/gnutls-bin/changelog.Debian.amd64.gz (Wide character in subroutine entry)
debsums: can't check gnutls-bin file /usr/share/doc/gnutls-bin/changelog.Debian.gz (Wide character in subroutine entry)
debsums: can't check gnutls-bin file /usr/share/doc/gnutls-bin/changelog.gz (Wide character in subroutine entry)
debsums: can't check gnutls-bin file /usr/share/man/man1/certtool.1.gz (Wide character in subroutine entry)
debsums: can't check gnutls-bin file /usr/share/man/man1/danetool.1.gz (Wide character in subroutine entry)
debsums: can't check gnutls-bin file /usr/share/man/man1/gnutls-cli-debug.1.gz (Wide character in subroutine entry)
debsums: can't check gnutls-bin file /usr/share/man/man1/gnutls-cli.1.gz (Wide character in subroutine entry)
debsums: can't check gnutls-bin file /usr/share/man/man1/gnutls-serv.1.gz (Wide character in subroutine entry)
debsums: can't check gnutls-bin file /usr/share/man/man1/ocsptool.1.gz (Wide character in subroutine entry)
debsums: can't check gnutls-bin file /usr/share/man/man1/p11tool.1.gz (Wide character in subroutine entry)
debsums: can't check gnutls-bin file /usr/share/man/man1/psktool.1.gz (Wide character in subroutine entry)
debsums: can't check gnutls-bin file /usr/share/man/man1/tpmtool.1.gz (Wide character in subroutine entry)



More information about the Pkg-gnutls-maint mailing list