[Bug 37495] New: AusweisApp2 1.0.0 (german identity card app) needs winscard.SCardEstablishContext implementation

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Nov 2 10:04:21 CST 2014


https://bugs.winehq.org/show_bug.cgi?id=37495

            Bug ID: 37495
           Summary: AusweisApp2 1.0.0 (german identity card app) needs
                    winscard.SCardEstablishContext implementation
           Product: Wine
           Version: 1.7.30
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: winscard
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

actually it needs much more - the revival of the Wine winscard project.

Years ago there were multiple attempts to implement this using pcsc-lite but
abandoned later.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/AusweisApp2 1.0.0

$ WINEDEBUG=+tid,+seh,+relay,+winscard wine ./AusweisApp2.exe --show >>log.txt
2>&1
...
0029:Call KERNEL32.OutputDebugStringW(01d52780 L"D
ReaderManager::onThreadStarted(card/base/ReaderManager.cpp:130)            :
thread started\n") ret=6674f9f1 
...
0029:Call KERNEL32.OutputDebugStringW(01d53378 L"D
ReaderManager::registerPlugIns(card/base/ReaderManager.cpp:242)            :
Try to register plugins\n") ret=6674f9f1 
...
0029:Call KERNEL32.OutputDebugStringW(01d543f8 L"D
ReaderManager::registerPlugIns(card/base/ReaderManager.cpp:247)            :
Register plugin:
QJsonObject({\"IID\":\"governikus.ReaderManagerPlugIn\",\"MetaData\":{\"dependencies\":[],\"name\":\"PcscReaderManagerPlugIn\"},\"className\":\"PcscReaderManagerPlugIn\",\"debug\":false,\"version\":328450}"...)
ret=6674f9f1 
...
0029:Call KERNEL32.OutputDebugStringW(01d53bf8 L"D
ReaderManager::onThreadStarted(card/base/ReaderManager.cpp:136)            :
Start plugin: governikus::PcscReaderManagerPlugIn\n") ret=6674f9f1 
...
0029:Call winscard.SCardEstablishContext(00000000,00000000,00000000,01d53260)
ret=005015b8
0029:fixme:winscard:SCardEstablishContext (0,(nil),(nil),0x1d53260) stub
0029:Ret  winscard.SCardEstablishContext() retval=80100001 ret=005015b8 
...
0029:Call KERNEL32.OutputDebugStringW(01d54868 L"W
PcscReaderManagerPlugIn::start(card/pcsc/PcscReaderManagerPlugIn.cpp:70)   :
SCardEstablishContext:  \"SCARD_F_INTERNAL_ERROR\"\n") ret=6674f9f1 
...
0029:Call KERNEL32.OutputDebugStringW(01d546f0 L"W
PcscReaderManagerPlugIn::start(card/pcsc/PcscReaderManagerPlugIn.cpp:71)   :
Not started: Cannot establish context\n") ret=6674f9f1 
...
--- snip ---

Source:
http://source.winehq.org/git/wine.git/blob/8d23d9cbdcc604d7c00e5a1201aac8af76244a29:/dlls/winscard/winscard.c#l85

--- snip ---
85 LONG WINAPI SCardEstablishContext(DWORD dwScope, LPCVOID pvReserved1,
86     LPCVOID pvReserved2, LPSCARDCONTEXT phContext)
87 {
88     FIXME("(%x,%p,%p,%p) stub\n", dwScope, pvReserved1, pvReserved2,
phContext);
89     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
90     return SCARD_F_INTERNAL_ERROR;
91 }
--- snip ---

$ sha1sum AusweisApp2-1.0.0.msi 
d09f8c6f2cad0a089903a3e31bf96079ae3cfe59  AusweisApp2-1.0.0.msi

$ du -sh AusweisApp2-1.0.0.msi 
22M    AusweisApp2-1.0.0.msi

$ wine --version
wine-1.7.30

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list