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

--- Comment #2 from Jakub Jelen <[email protected]> ---
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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to