Package: ykls
Version: 1.3.4-2+b7
Severity: normal

$ lsusb | grep -e Yubi -e Smart
Bus 001 Device 098: ID 1050:0407 Yubico.com Yubikey 4/5 OTP+U2F+CCID
Bus 001 Device 099: ID 04e6:5116 SCM Microsystems, Inc. SCR331-LC1 / SCR3310 
SmartCard Reader

$ ykls
Reader:  SCM Microsystems Inc. SCR 3310 [CCID Interface] (53311904213994) 00 00
panic: ykpiv ykpiv_connect: Generic Error (-7) - Something went wrong.

goroutine 1 [running]:
main.ohshit(...)
        pault.ag/go/ykpiv/cmd/ykls/ykls.go:31
main.main()
        pault.ag/go/ykpiv/cmd/ykls/ykls.go:44 +0x6bc

====================

If I unplug the smartcard reader, it works:

$ lsusb | grep -e Yubi -e Smart
Bus 001 Device 098: ID 1050:0407 Yubico.com Yubikey 4/5 OTP+U2F+CCID

$ ykls
Reader:  Yubico YubiKey OTP+FIDO+CCID 01 00
Version: 5.2.4
Serial:  [correct]
Slot Authentication (9a): [correct]

====================

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

Kernel: Linux 5.19.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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 ykls depends on:
ii  libc6      2.36-6
ii  libykpiv2  2.2.0-1.1
ii  pcscd      1.9.9-1

Reply via email to