Bug 1646858 - [abrt] yubikey-manager: doTransmit(): driver_ccid.py:153:send_apdu:ykman.driver_ccid.CCIDError: Failed to transmit with protocol T1. Card was reset.
Summary: [abrt] yubikey-manager: doTransmit(): driver_ccid.py:153:send_apdu:ykman.driv...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: yubikey-manager
Version: 29
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Seth Jennings
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:452fc871809c3e4a1565a86bd48...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-06 07:32 UTC by Paul Nickerson
Modified: 2019-11-27 19:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-27 19:47:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (3.02 KB, text/plain)
2018-11-06 07:32 UTC, Paul Nickerson
no flags Details
File: cgroup (349 bytes, text/plain)
2018-11-06 07:32 UTC, Paul Nickerson
no flags Details
File: cpuinfo (1.41 KB, text/plain)
2018-11-06 07:32 UTC, Paul Nickerson
no flags Details
File: environ (3.90 KB, text/plain)
2018-11-06 07:32 UTC, Paul Nickerson
no flags Details
File: mountinfo (4.36 KB, text/plain)
2018-11-06 07:32 UTC, Paul Nickerson
no flags Details
File: namespaces (129 bytes, text/plain)
2018-11-06 07:32 UTC, Paul Nickerson
no flags Details
File: open_fds (979 bytes, text/plain)
2018-11-06 07:32 UTC, Paul Nickerson
no flags Details

Description Paul Nickerson 2018-11-06 07:32:19 UTC
Version-Release number of selected component:
yubikey-manager-0.6.0-4.fc29

Additional info:
reporter:       libreport-2.9.6
cmdline:        /usr/bin/python3 /usr/bin/ykman oath code Prod-West-Bastion:pnickerson
crash_function: doTransmit
exception_type: smartcard.Exceptions.CardConnectionException
executable:     /usr/bin/ykman
interpreter:    python3-3.7.1-1.fc29.x86_64
kernel:         4.18.16-300.fc29.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
driver_ccid.py:153:send_apdu:ykman.driver_ccid.CCIDError: Failed to transmit with protocol T1. Card was reset.

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/ykman/driver_ccid.py", line 151, in send_apdu
    resp, sw1, sw2 = self._conn.transmit(header + body)
  File "/usr/lib64/python3.7/site-packages/smartcard/CardConnectionDecorator.py", line 82, in transmit
    return self.component.transmit(bytes, protocol)
  File "/usr/lib64/python3.7/site-packages/smartcard/CardConnection.py", line 146, in transmit
    data, sw1, sw2 = self.doTransmit(bytes, protocol)
  File "/usr/lib64/python3.7/site-packages/smartcard/pcsc/PCSCCardConnection.py", line 205, in doTransmit
    SCardGetErrorMessage(hresult))
smartcard.Exceptions.CardConnectionException: Failed to transmit with protocol T1. Card was reset.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/ykman", line 11, in <module>
    load_entry_point('yubikey-manager==0.6.0', 'console_scripts', 'ykman')()
  File "/usr/lib/python3.7/site-packages/ykman/cli/__main__.py", line 197, in main
    cli(obj={})
  File "/usr/lib/python3.7/site-packages/click/core.py", line 721, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.7/site-packages/click/core.py", line 1062, in invoke
    Command.invoke(self, ctx)
  File "/usr/lib/python3.7/site-packages/click/core.py", line 894, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3.7/site-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/lib/python3.7/site-packages/ykman/cli/util.py", line 61, in inner
    f(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/ykman/cli/__main__.py", line 156, in cli
    _run_cmd_for_single(ctx, subcmd.name, transports)
  File "/usr/lib/python3.7/site-packages/ykman/cli/__main__.py", line 117, in _run_cmd_for_single
    ctx.obj['dev'] = descriptor.open_device(transports)
  File "/usr/lib/python3.7/site-packages/ykman/descriptor.py", line 92, in open_device
    return YubiKey(self, driver)
  File "/usr/lib/python3.7/site-packages/ykman/device.py", line 68, in __init__
    capabilities = driver.read_capabilities()
  File "/usr/lib/python3.7/site-packages/ykman/driver_ccid.py", line 126, in read_capabilities
    self.send_apdu(0, INS_SELECT, 4, 0, AID.MGR)
  File "/usr/lib/python3.7/site-packages/ykman/driver_ccid.py", line 153, in send_apdu
    raise CCIDError(e)
ykman.driver_ccid.CCIDError: Failed to transmit with protocol T1. Card was reset.

Local variables in innermost frame:
self: <ykman.driver_ccid.CCIDDriver object at 0x7f371699a908>
cl: 0
ins: 164
p1: 4
p2: 0
data: <AID.MGR: b"\xa0\x00\x00\x05'G\x11\x17">
check: 36864
header: [0, 164, 4, 0, 8]
body: [160, 0, 0, 5, 39, 71, 17, 23]

Comment 1 Paul Nickerson 2018-11-06 07:32:24 UTC
Created attachment 1502291 [details]
File: backtrace

Comment 2 Paul Nickerson 2018-11-06 07:32:25 UTC
Created attachment 1502292 [details]
File: cgroup

Comment 3 Paul Nickerson 2018-11-06 07:32:26 UTC
Created attachment 1502293 [details]
File: cpuinfo

Comment 4 Paul Nickerson 2018-11-06 07:32:28 UTC
Created attachment 1502294 [details]
File: environ

Comment 5 Paul Nickerson 2018-11-06 07:32:29 UTC
Created attachment 1502295 [details]
File: mountinfo

Comment 6 Paul Nickerson 2018-11-06 07:32:30 UTC
Created attachment 1502296 [details]
File: namespaces

Comment 7 Paul Nickerson 2018-11-06 07:32:32 UTC
Created attachment 1502297 [details]
File: open_fds

Comment 8 Ben Cotton 2019-10-31 20:33:37 UTC
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 29 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 9 Ben Cotton 2019-11-27 19:47:44 UTC
Fedora 29 changed to end-of-life (EOL) status on 2019-11-26. Fedora 29 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.