Bug 1160 - OpenSSH should use libopensc.pc instead of opensc-config
Summary: OpenSSH should use libopensc.pc instead of opensc-config
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Smartcard (show other bugs)
Version: 4.3p2
Hardware: All All
: P2 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_5_4
  Show dependency treegraph
 
Reported: 2006-02-23 02:34 AEDT by Martin Paljak
Modified: 2010-03-26 10:50 AEDT (History)
1 user (show)

See Also:


Attachments
Use pkg-config for opensc if available. (1.23 KB, text/plain)
2009-11-20 21:18 AEDT, Darren Tucker
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Paljak 2006-02-23 02:34:16 AEDT
OpenSSH seems to be the only big user of opensc-config, but that's somewhat deprecated. There's now libopensc.pc. All other software (pcsc-lite, ccid, openct and so on) uses pkg-config. Also, most users still apply the patch from opensc on top of openssh.
Comment 1 Darren Tucker 2009-11-20 21:18:50 AEDT
Created attachment 1727 [details]
Use pkg-config for opensc if available.

Use pkg-config for opensc if available.
Comment 2 Martin Paljak 2009-11-20 21:56:52 AEDT
As the original reporter and OpenSC dev, I would like to withdraw the request as deprecated as this should be solved by applying patches in bug 1371 instead
Comment 3 Darren Tucker 2009-11-20 22:04:08 AEDT
OK, I'll close this one (but make no promises about 1371).
Comment 4 Martin Paljak 2009-11-20 22:08:50 AEDT
As OpenSSH is the only user of opensc-config and use of opensc-config has been deprecated for long time, if OpenSSH continues to access OpenSC via the deprecated way (by linking against internal libopensc) instead of using the recommended public PKCS#11 interface, it is better to use the .pc file.

But OpenSSH should use PKCS#11 instead. The OpenSC bits and pieces in OpenSSH are historic.

Until bug 1371 is applied, this bug is still a valid issue.
Comment 5 Darren Tucker 2009-11-20 22:14:31 AEDT
Could you please confirm that the patch does what you want?
Comment 6 Martin Paljak 2009-11-25 00:31:11 AEDT
I can confirm, that the patch works.

I would still suggest to implement bug 1371 instead, especially because there are some other OpenSC related bugs open, which have not been dealt with.
Comment 7 Darren Tucker 2009-12-07 11:17:19 AEDT
Patch applied, thanks.

Please use #1371 if you have further comments about PKCS#11.
Comment 8 Darren Tucker 2010-03-26 10:50:52 AEDT
With the release of 5.4p1, this bug is now considered closed.