Bug#952735: gnupg-pkcs11-scd: when used as scdaemon, `gnupg --card-status` reports wrong informations

2024-04-11 Thread Thorsten Alteholz

Control: severity -1 normal
Control: forwarded -1 https://github.com/alonbl/gnupg-pkcs11-scd/issues/61

I can reproduce this bug with my card reader and I forwarded the bug 
upstream -> https://github.com/alonbl/gnupg-pkcs11-scd/issues/61


As this is just a cosmectic bug, I reduce severity again to normal.



Bug#952735: gnupg-pkcs11-scd: when used as scdaemon, `gnupg --card-status` reports wrong informations

2020-02-28 Thread Jean Parpaillon
Package: gnupg-pkcs11-scd
Version: 0.9.2-1+b1
Severity: normal

Dear Maintainer,

I use a GnuPG card from ZeitControl.
When using gnupg-pkcs11-scd as scdaemon, `gnupg --card-status` reports wrong
informations.

Without gnupg-pkcs11-scd ( is from me):

Reader ...: Alcor Micro AU9560 00 00
Application ID ...: 
Application type .: OpenPGP
Version ..: 3.3
Manufacturer .: ZeitControl
Serial number : 
Name of cardholder: 
Language prefs ...: fr
Salutation ...: Mr.
URL of public key : [non positionné]
Login data ...: 
Signature PIN : forcé
Key attributes ...: rsa2048 rsa3072 rsa2048
Max. PIN lengths .: 64 64 64
PIN retry counter : 3 0 3
Signature counter : 69
KDF setting ..: off
Signature key : 
  created : 2019-02-20 18:37:15
Encryption key: 
  created : 2019-02-20 18:37:15
Authentication key: 
  created : 2019-02-20 18:37:15
General key info..:  
sec>  rsa2048/  créé : 2019-02-20  expire : jamais
nº de carte : 
ssb>  rsa2048/  créé : 2019-02-20  expire : jamais
nº de carte : 
ssb>  rsa3072/  créé : 2019-02-20  expire : jamais
nº de carte : 

With gnupg-pkcs11-scd:

gpg: WARNING: server 'scdaemon' is older than us (0.9.2 < 2.2.19)
gpg: Note: Outdated servers may lack important security fixes.
gpg: Note: Use the command "gpgconf --kill all" to restart them.
Reader ...: [none]
Application ID ...: gpg: WARNING: server 'scdaemon' is older than us (0.9.2 <
2.2.19)
gpg: Note: Outdated servers may lack important security fixes.
gpg: Note: Use the command "gpgconf --kill all" to restart them.
Reader ...: [none]
Application ID ...: 
Application type .: OpenPGP
Version ..: 11.50
Manufacturer .: unknown
Serial number : 
Name of cardholder: [non positionné]
Language prefs ...: [non positionné]
Salutation ...:
URL of public key : [non positionné]
Login data ...: [non positionné]
Signature PIN : forcé
Key attributes ...: rsa48 rsa48 rsa48
Max. PIN lengths .: 0 0 0
PIN retry counter : 0 0 0
Signature counter : 0
Signature key : [none]
Encryption key: [none]
Authentication key: [none]
General key info..: [none]

GnuPG may be misconfigured, however error is not clear.



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-4-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnupg-pkcs11-scd depends on:
ii  libassuan0 2.5.3-7
ii  libc6  2.29-10
ii  libgcrypt201.8.5-3
ii  libgpg-error0  1.37-1
ii  libpkcs11-helper1  1.25.1-2
ii  libssl1.1  1.1.1d-2

gnupg-pkcs11-scd recommends no packages.

Versions of packages gnupg-pkcs11-scd suggests:
ii  gnupg  2.2.19-1
ii  gpgsm  2.2.19-1

-- no debconf information