Your message dated Wed, 16 Apr 2025 19:39:50 +0000
with message-id <e1u58bu-00eexy...@fasolo.debian.org>
and subject line Bug#1103211: fixed in yubikey-manager 5.6.1+repack1-1
has caused the Debian Bug report #1103211,
regarding ModuleNotFoundError: No module named 'smartcard.pcsc.PCSCContext' 
since 2.2.1-2 to 2.2.2-1 upgrade
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1103211: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103211
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-pyscard
Version: 2.2.2-1
Severity: normal


Hi,

unfortunately the latest update of python3-pyscard from 2.2.1-2 to 2.2.2-1 
broke ykman (yubikey-manager).

$ ykman list
Traceback (most recent call last):
  File "/usr/bin/ykman", line 5, in <module>
    from ykman._cli.__main__ import main
  File "/usr/lib/python3/dist-packages/ykman/_cli/__main__.py", line 42, in 
<module>
    from ..pcsc import list_devices as list_ccid, list_readers
  File "/usr/lib/python3/dist-packages/ykman/pcsc/__init__.py", line 37, in 
<module>
    from smartcard.pcsc.PCSCContext import PCSCContext
ModuleNotFoundError: No module named 'smartcard.pcsc.PCSCContext'

$ ls -l  /usr/lib/python3/dist-packages/smartcard/pcsc/
total 72
-rw-r--r-- 1 root root     0 Apr 13 17:30 __init__.py
-rw-r--r-- 1 root root 12894 Apr 13 17:30 PCSCCardConnection.py
-rw-r--r-- 1 root root 17676 Apr 13 17:30 PCSCCardRequest.py
-rw-r--r-- 1 root root  4040 Apr 13 17:30 PCSCExceptions.py
-rw-r--r-- 1 root root  9263 Apr 13 17:30 PCSCPart10.py
-rw-r--r-- 1 root root  4129 Apr 13 17:30 PCSCReaderGroups.py
-rw-r--r-- 1 root root  5150 Apr 13 17:30 PCSCReader.py
drwxr-xr-x 2 root root  4096 Apr 14 00:31 __pycache__


Downgrading to 2.2.1-2 fixes the issue.

If the removal of PCSCContext is intentional and yubikey-manager should not 
have accessed PCSCContext in the first place,
please re-assign the bug-report.

Kind regards
Michael


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

Kernel: Linux 6.12.22-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-pyscard depends on:
ii  libc6                            2.41-7
ii  python3 [python3-supported-min]  3.13.3-1
ii  python3-typing-extensions        4.13.2-1

Versions of packages python3-pyscard recommends:
ii  libpcsclite1  2.3.3-1

Versions of packages python3-pyscard suggests:
pn  python3-wxgtk4.0  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: yubikey-manager
Source-Version: 5.6.1+repack1-1
Done: Patrick Winnertz <win...@debian.org>

We believe that the bug you reported is fixed in the latest version of
yubikey-manager, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1103...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Patrick Winnertz <win...@debian.org> (supplier of updated yubikey-manager 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 16 Apr 2025 09:53:06 +0200
Source: yubikey-manager
Architecture: source
Version: 5.6.1+repack1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Authentication Maintainers 
<pkg-auth-maintain...@lists.alioth.debian.org>
Changed-By: Patrick Winnertz <win...@debian.org>
Closes: 1102516 1103039 1103211
Changes:
 yubikey-manager (5.6.1+repack1-1) unstable; urgency=medium
 .
   * Repacked Upstream Version 5.6.1 to fix the timestamp issue
     No code modifications, just touched all files. (Closes: #1102516)
   * Added patches for the pyscard update to 2.2.2
     (Closes: #1103211, #1103039)
Checksums-Sha1:
 d3b5bba09f387878faa404bbd9022cecd2c9b4bb 2553 
yubikey-manager_5.6.1+repack1-1.dsc
 53cd91d3f8a979fd0b6ab03e463605c7e7e13ab0 221029 
yubikey-manager_5.6.1+repack1.orig.tar.gz
 047ced8f0af3e6cc09af9a846b11efc42eae6ef3 73832 
yubikey-manager_5.6.1+repack1-1.debian.tar.xz
 c0ba7cada453a22c39ba4ad6ddb091cda2d77ea4 7756 
yubikey-manager_5.6.1+repack1-1_amd64.buildinfo
Checksums-Sha256:
 060499c89b1b4f729278d3f10fbb6ea2fc98c80cd294fc0aec559e0d27e6da10 2553 
yubikey-manager_5.6.1+repack1-1.dsc
 821040bb7b22402d1d54ab196b3dc65bd510f2d00f02649758cfa7d0849d45c7 221029 
yubikey-manager_5.6.1+repack1.orig.tar.gz
 235dbb5b306dfbd24271494629deda35d56b67ce6766561c87912456b174f9e4 73832 
yubikey-manager_5.6.1+repack1-1.debian.tar.xz
 e78bd38b1ffb7a7219e7c57dabf6b0459563441f89e02a0dd1f38df517617a28 7756 
yubikey-manager_5.6.1+repack1-1_amd64.buildinfo
Files:
 3ac7d623257c163a8317a9b4489a39ef 2553 utils optional 
yubikey-manager_5.6.1+repack1-1.dsc
 c049d9172d9a67af3041ec168712508a 221029 utils optional 
yubikey-manager_5.6.1+repack1.orig.tar.gz
 755981dd3e86630155481226dbba0576 73832 utils optional 
yubikey-manager_5.6.1+repack1-1.debian.tar.xz
 9cee3c2e2d443d57aeda60272108accd 7756 utils optional 
yubikey-manager_5.6.1+repack1-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEE8s7HdaJ514A0GZEJjUsraXJJeKIFAmgAAi4SHHdpbm5pZUBk
ZWJpYW4ub3JnAAoJEI1LK2lySXiiMycP/i43y2Zx5+mWa3OPADwATwO1SOgf0ma2
7uJkUr+A7RngMVfehUq9GU4luRdBDCse6D92nR0c+U3XWY8fFlpR/yubAYsy54jc
HBhOn6YKZRezhTGf5uj08uLgTcu4OyX4T0jeXhWstHQiBoObybw91Dp5NSDA7Zos
2VsSZRTUekmVZvkkdVMuGCqW+cRkK4iXohimk1pimmWJmRXvIJSxWGPp6q9FsSzj
tWnYMALGEV82btr0e9o3ahbHETG42VPLXSajIPILOzDzLlRTU5kPFD9qVsBvTyU3
st7z2479h1D58o+TR/qITBHA6J3EWMP4TtJovUCigSFdUWBQFBOKmA5n++qukyaS
no8lCHpcIMkhh8gc3CfF+1JUE1DfD2BqjRSokIJi/8hEuCsZKxgYdrLuwsJ7BpZz
G8WvJjiCVzbT83RCBcjIWfvgR+RfGg+56Qlc9uGya2CkDjmOqMZ6K425CewRxcTg
eNQW/KoavtzcWDeO6z874fcGMOOpq19+RA4llk0ozg/dTeRI3QfYbhvAhGz6wlxx
kv8ernEil/MJHscxyiUcgEmB5E2kNnDcqTP42ch1SdkAUKkvuLZMSRyeg972fIxv
QeklcMsKY4voAbirwPnbOUkA50SN4U9gFKW9/Rk2g0qFEEPKpwsDk4S09hZpWwEY
Q8A6o0DOFAgw
=KdvL
-----END PGP SIGNATURE-----

Attachment: pgpaBBYDSzEam.pgp
Description: PGP signature


--- End Message ---

Reply via email to