| Summary: | scard-opensc.c doesn't work without PIN | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Nils Larsch <larsch> | ||||||
| Component: | Smartcard | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> | ||||||
| Status: | CLOSED FIXED | ||||||||
| Severity: | normal | ||||||||
| Priority: | P2 | ||||||||
| Version: | -current | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Attachments: |
|
||||||||
|
Description
Nils Larsch
2003-06-03 19:04:15 AEST
Created attachment 318 [details]
proposed patch
Fix applied, thanks. Created attachment 322 [details]
fixed proposed patch
Sorry Damien, but I overlooked that sc_prkey_op_init is expected to
lock the card. With this patch (and with #577) I can use a PKCS#15 smart
card with OpenSSH (v1,v2) via OpenSC under Linux and Windows (+Cygwin)
(using ssh-agent or 'ssh -I ...' if the key is not protected by a PIN).
Thanks,
Nils
Sorry, but I overlooked a missing sc_lock. Applied too, thanks. Mass change of VERIFIED bugs to CLOSED |