| Summary: | Option AddKeysToAgent doesnt work with keys provided by PKCS11 libraries. | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Roman Valov <reddot.rocks> |
| Component: | ssh-agent | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED WONTFIX | ||
| Severity: | enhancement | CC: | djm, jjelen, reddot.rocks |
| Priority: | P5 | Keywords: | pkcs11 |
| Version: | 7.3p1 | ||
| Hardware: | Other | ||
| OS: | Linux | ||
|
Description
Roman Valov
2016-10-04 01:17:37 AEDT
The second issue is probably resolved at this moment (or at least I can not reproduce it with current OpenSSH and OpenSC) and the bug #2635 talks about different behavior. Can you try with current OpenSSH, if it is still an issue for you? Can you provide the debug logs from OpenSSH? The first thing would be nice to have. Passing the pkcs11-provider from ssh process to ssh-agent should not be too complicated to write. But there might be some more logic required to figure out the card removal from the agent, once the card is removed from reader and the login state becomes invalid. I will try to have a look into that in coming weeks. I don't think we want to make AddKeysToAgent automate adding PKCS#11 tokens - there are too many side effects compared to the intended use-case of adding regular keys. closing resolved bugs as of 8.6p1 release |