Bug#1042446: libacsccid1: undefined symbol: log_xxd in libacsccid.so

2023-07-30 Thread Godfrey Chung

Hi Lars Mucha

Note that libacsccid1 is a PC/SC driver for pcscd and log_xxd is provided by 
pcscd.


libacsccid1 is not a PKCS#11 implementation and please use it with pcscd.

Regards

Godfrey

-Original Message- 
From: Lars Mucha

Sent: Friday, July 28, 2023 5:38 PM
To: Debian Bug Tracking System
Subject: Bug#1042446: libacsccid1: undefined symbol: log_xxd in 
libacsccid.so


Package: libacsccid1
Version: 1.1.9-1
Severity: important

Using a smartcard to sign jar files ends up with this error. The smartcrad 
reader ist the ACR39U (072f:b100).



# keytool -v  -list -keystore NONE -storetype PKCS11 -providerclass 
sun.security.pkcs11.SunPKCS11 -providerArg provider.cfg

Keytool-Fehler: java.security.ProviderException: Initialization failed
java.security.ProviderException: Initialization failed
   at 
jdk.crypto.cryptoki/sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:398)
   at 
jdk.crypto.cryptoki/sun.security.pkcs11.SunPKCS11$1.run(SunPKCS11.java:118)
   at 
jdk.crypto.cryptoki/sun.security.pkcs11.SunPKCS11$1.run(SunPKCS11.java:115)
   at 
java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
   at 
jdk.crypto.cryptoki/sun.security.pkcs11.SunPKCS11.configure(SunPKCS11.java:115)
   at 
java.base/sun.security.tools.KeyStoreUtil.loadProviderByName(KeyStoreUtil.java:283)
   at 
java.base/sun.security.tools.KeyStoreUtil.loadProviderByClass(KeyStoreUtil.java:316)
   at 
java.base/sun.security.tools.keytool.Main.doCommands(Main.java:840)

   at java.base/sun.security.tools.keytool.Main.run(Main.java:423)
   at java.base/sun.security.tools.keytool.Main.main(Main.java:416)
Caused by: java.io.IOException: 
/usr/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Linux/libacsccid.so: 
undefined symbol: 
log_xxd/usr/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Linux/libacsccid.so
   at 
jdk.crypto.cryptoki/sun.security.pkcs11.wrapper.PKCS11.connect(Native 
Method)
   at 
jdk.crypto.cryptoki/sun.security.pkcs11.wrapper.PKCS11.(PKCS11.java:149)
   at 
jdk.crypto.cryptoki/sun.security.pkcs11.wrapper.PKCS11.getInstance(PKCS11.java:162)
   at 
jdk.crypto.cryptoki/sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:335)

   ... 9 more



-- System Information:
Debian Release: 12.1
 APT prefers stable-security
 APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-10-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not 
set

Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libacsccid1 depends on:
ii  libc6 2.36-9+deb12u1
ii  libusb-1.0-0  2:1.0.26-1

libacsccid1 recommends no packages.

libacsccid1 suggests no packages.

-- no debconf information 



Bug#1042446: libacsccid1: undefined symbol: log_xxd in libacsccid.so

2023-07-28 Thread Lars Mucha
Package: libacsccid1
Version: 1.1.9-1
Severity: important

Using a smartcard to sign jar files ends up with this error. The smartcrad 
reader ist the ACR39U (072f:b100).


# keytool -v  -list -keystore NONE -storetype PKCS11 -providerclass 
sun.security.pkcs11.SunPKCS11 -providerArg provider.cfg
Keytool-Fehler: java.security.ProviderException: Initialization failed
java.security.ProviderException: Initialization failed
at 
jdk.crypto.cryptoki/sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:398)
at 
jdk.crypto.cryptoki/sun.security.pkcs11.SunPKCS11$1.run(SunPKCS11.java:118)
at 
jdk.crypto.cryptoki/sun.security.pkcs11.SunPKCS11$1.run(SunPKCS11.java:115)
at 
java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
at 
jdk.crypto.cryptoki/sun.security.pkcs11.SunPKCS11.configure(SunPKCS11.java:115)
at 
java.base/sun.security.tools.KeyStoreUtil.loadProviderByName(KeyStoreUtil.java:283)
at 
java.base/sun.security.tools.KeyStoreUtil.loadProviderByClass(KeyStoreUtil.java:316)
at java.base/sun.security.tools.keytool.Main.doCommands(Main.java:840)
at java.base/sun.security.tools.keytool.Main.run(Main.java:423)
at java.base/sun.security.tools.keytool.Main.main(Main.java:416)
Caused by: java.io.IOException: 
/usr/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Linux/libacsccid.so: 
undefined symbol: 
log_xxd/usr/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Linux/libacsccid.so
at 
jdk.crypto.cryptoki/sun.security.pkcs11.wrapper.PKCS11.connect(Native Method)
at 
jdk.crypto.cryptoki/sun.security.pkcs11.wrapper.PKCS11.(PKCS11.java:149)
at 
jdk.crypto.cryptoki/sun.security.pkcs11.wrapper.PKCS11.getInstance(PKCS11.java:162)
at 
jdk.crypto.cryptoki/sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:335)
... 9 more



-- System Information:
Debian Release: 12.1
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-10-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libacsccid1 depends on:
ii  libc6 2.36-9+deb12u1
ii  libusb-1.0-0  2:1.0.26-1

libacsccid1 recommends no packages.

libacsccid1 suggests no packages.

-- no debconf information