[Bug 2890] ssh-agent should not fail after removing and inserting smart card

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Oct 26 22:24:27 AEDT 2018


https://bugzilla.mindrot.org/show_bug.cgi?id=2890

--- Comment #2 from Jakub Jelen <jjelen at redhat.com> ---
Created attachment 3196
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3196&action=edit
proposed patch

There was some progress that we are able to get the relogin in case of
the smart card was removed between before the invocation of the
C_Sign().

The attached patch implements the check in the ssh-pkcs11-helper, which
allows to ask for the pin using SSH_ASKPASS (because of missing API
that could be used to query the pkcs11 status from either ssh-agent or
ssh).

I would be glad for any comments, reviews or testing whether this would
work for you or there will be need some new API in the ssh-agent.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list