https://bugs.winehq.org/show_bug.cgi?id=39113
Bug ID: 39113 Summary: SimplePC_SC.exe does not work Product: Wine Version: unspecified Hardware: x86 URL: http://downloads.acs.com.hk/utility-tools/en/TOL-PCSC. zip OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winscard Assignee: wine-bugs@winehq.org Reporter: vincent.hardy.be@gmail.com Distribution: ---
Created attachment 52115 --> https://bugs.winehq.org/attachment.cgi?id=52115 screenshot
SimplePC_SC is a programme that tests easily the basic functions of winscard with any smartcard.
I file this bug in the hope that a friendly developer starts a real implementation of winscard.
https://bugs.winehq.org/show_bug.cgi?id=39113
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW CC| |focht@gmx.net Version|unspecified |1.7.49 Depends on| |37495 Summary|SimplePC_SC.exe does not |Simple PC/SC test |work |application needs | |winscard.SCardListReaders | |implementation Ever confirmed|0 |1
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
please avoid meta-bugs/generic descriptions but target a specific API function.
The first stub it runs into is obviously 'winscard.SCardEstablishContext'.
To avoid resolving this as dupe of bug 37495 adding dependency and using the next API function 'SCardListReaders' which is shown in the user interface of the test app.
MSDN: https://msdn.microsoft.com/en-us/library/windows/desktop/aa379793%28v=vs.85%...
FYI there have already been multiple (abandoned) attempts to implement winscard. The demand for this is rather low.
$ sha1sum TOL-PCSC.zip e6a48170260eb4bb3acffc2e29c5218d1268d0ea TOL-PCSC.zip
$ du -sh TOL-PCSC.zip 224K TOL-PCSC.zip
$ wine --version wine-1.7.49-143-gcfbc37c
Regards
https://bugs.winehq.org/show_bug.cgi?id=39113
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, obviously still present.
Another app: 'Aruba Key' Download: https://ca.arubapec.it/downloads/AK_WIN_VERSION.zip
Wine source:
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/winscard/winscard.c#l...
--- snip --- 133 LONG WINAPI SCardListReadersA(SCARDCONTEXT context, const CHAR *groups, CHAR *readers, DWORD *buflen) 134 { 135 FIXME("(%lx, %s, %p, %p) stub\n", context, debugstr_a(groups), readers, buflen); 136 return SCARD_E_NO_READERS_AVAILABLE; 137 } 138 139 LONG WINAPI SCardListReadersW(SCARDCONTEXT context, const WCHAR *groups, WCHAR *readers, DWORD *buflen) 140 { 141 FIXME("(%lx, %s, %p, %p) stub\n", context, debugstr_w(groups), readers, buflen); 142 return SCARD_E_NO_READERS_AVAILABLE; 143 } --- snip ---
$ sha1sum AK* bd0408fa2c72f9f87067aa9f348bb626aa0d503d AK_WIN_VERSION.exe f4a5ce7c902b64c7459f96a08df542dea6cf4a8a AK_WIN_VERSION.zip
$ du -sh AK* 160M AK_WIN_VERSION.exe 159M AK_WIN_VERSION.zip
$ wine --version wine-3.16-149-gb1a3b9e5ce
Regards
https://bugs.winehq.org/show_bug.cgi?id=39113
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Simple PC/SC test |Multiple PC/SC applications |application needs |need |winscard.SCardListReaders |winscard.SCardListReaders |implementation |implementation (Aruba key, | |SmartCard test apps)
https://bugs.winehq.org/show_bug.cgi?id=39113
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://downloads.acs.com.hk |https://web.archive.org/web |/utility-tools/en/TOL-PCSC. |/20210319095329/http://down |zip |loads.acs.com.hk/utility-to | |ols/en/TOL-PCSC.zip
https://bugs.winehq.org/show_bug.cgi?id=39113
yan12125@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yan12125@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=39113
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |f7c66e642ea83d40fb6306e010b | |a57257b8d344c CC| |infyquest@gmail.com
--- Comment #3 from Vijay Kamuju infyquest@gmail.com --- This is now implemented in upstream, fix available in Wine 8.2
The commit is https://source.winehq.org/git/wine.git/commitdiff/f7c66e642ea83d40fb6306e010...
https://bugs.winehq.org/show_bug.cgi?id=39113 Bug 39113 depends on bug 37495, which changed state.
Bug 37495 Summary: Multiple PC/SC applications need winscard.SCardEstablishContext implementation (AusweisApp2 1.x german identity card app, SmartCard test apps, Seneka EBDYS client, Aruba Key) https://bugs.winehq.org/show_bug.cgi?id=37495
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=39113
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.3.