| Summary: | use PKCS#15 private key label as a comment in case of OpenSC | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Nils Larsch <larsch> | ||||||||||
| Component: | Smartcard | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> | ||||||||||
| Status: | CLOSED FIXED | ||||||||||||
| Severity: | enhancement | ||||||||||||
| Priority: | P2 | ||||||||||||
| Version: | -current | ||||||||||||
| Hardware: | All | ||||||||||||
| OS: | Linux | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Nils Larsch
2003-06-10 21:18:54 AEST
Created attachment 325 [details]
suggested patch
Created attachment 326 [details]
changes to openbsd.
i've commited this to openbsd.
ssh and ssh-agent assume that sc_get_key_label() always
return a xfree()-able string.
Hi Markus, applying your patch to the portable cvs version and patching scard-opensc.c with my patch (plus removing the 'const' in the sc_get_key_label argument in scard-opensc.c) works fine for me with OpenSC. Created attachment 329 [details]
new patch for the portable release (based on Markus openbsd patch)
Created attachment 330 [details]
fix: sc_get_key_label should *not* return NULL
Applied - thanks. Mass change of VERIFIED bugs to CLOSED |