cancel
Showing results for 
Search instead for 
Did you mean: 

Running F-secure keys under wine

S-W
Aspirant

Running F-secure keys under wine

Hi,

 

Since I use my linux (ubuntu 12.04 64bit) workstation quite alot and need to access my passwords from there too, I tried to run keys under wine, which I actually succeeded, meaning: I could install it, and start  it, actually see the start screen. But immediately after that, it crashes.

 

I know that this is not officially supported aproach, but is there something in the keys desing that will prevent it to run under wine? Or is it runnable with certain configuration?

 

 

----

System information:
Wine build: wine-1.4
Platform: i386 (WOW64)
Host system: Linux
Host version: 3.2.0-57-generic

----

 

Br

S-W

 

9 REPLIES
F-Secure Employee

Re: Running F-secure keys under wine

Hi,

 

Certain parts of Key are tightly bound to the underlying operating system functionalities. I'd speculate that some of these are not emulated correctly by the Wine environment. But that is pure speculation, we havent tried this ourselves.

 

-Juha

 

Advocate

Re: Running F-secure keys under wine

It's most likely related to the .NET Framework Runtime.

I'm not familiar with Wine, but a quick search led me to this page that might be worth looking at:

http://appdb.winehq.org/objectManager.php?sClass=version&iId=17886

S-W
Aspirant

Re: Running F-secure keys under wine

Well, I'm not so familiar with dotnet, but since I had some spare time i gave it a try:

 

I seems to  managed to succesfully installed dotnet40, even tough installer gave some errors/warnings:

 

---

~$ winetricks dotnet40
Executing w_do_call dotnet40
dotnet40 already installed, skipping

---

 

Bu still no luck, keys installs without errors/warnings, but crashes wile trying to start it:

 

backtrace:

---

Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00416277).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:00416277 ESP:0033cfe0 EBP:0033d0a8 EFLAGS:00010212( R- -- I -A- - )
EAX:00000000 EBX:00000000 ECX:024d3b10 EDX:010f7cb8
ESI:024d3af8 EDI:010f7cb8
Stack dump:
0x0033cfe0: 70587bbb 010f7cb8 024d3af8 0033d02c
0x0033cff0: 0041def2 ffffffff 004023ae 0033d010
0x0033d000: 7058645b 01126e10 00000000 024d3af8
0x0033d010: 0041fc28 010f7cb8 00000000 00000000
0x0033d020: 0033d010 00000000 70586457 0033d09c
0x0033d030: 0041ad73 00000000 6710f1f6 010f7cb8
Backtrace:
=>0 0x00416277 in fskey (+0x16277) (0x0033d0a8)
1 0x005ed680 in qtwebkit4 (+0x19d67f) (0x01154920)
2 0x011beab8 (0x00ea6d34)
3 0x007e9a10 in qtwebkit4 (+0x399a0f) (0x0094fcc0)
0x00416277: movl 0x0(%eax),%edx
Modules:
Module Address Debug info Name (124 modules)
PE 340000- 36c000 Deferred zlib_32
PE 400000- 441000 Export fskey
PE 450000- 10d8000 Export qtwebkit4
PE 1410000- 1456000 Deferred ssleay32
PE 10000000-10121000 Deferred libeay32
ELF 20000000-20018000 Deferred userenv<elf>
\-PE 20010000-20018000 \ userenv
ELF 2ea67000-2ea85000 Deferred libgcc_s.so.1
ELF 42670000-4268e000 Deferred wintab32<elf>
\-PE 42680000-4268e000 \ wintab32
PE 64000000-64106000 Export qtnetwork4
PE 65000000-65835000 Deferred qtgui4
PE 67000000-6727e000 Deferred qtcore4
ELF 68000000-68022000 Deferred ld-linux.so.2
ELF 68022000-6803d000 Deferred libpthread.so.0
ELF 6803d000-681e7000 Deferred libc.so.6
ELF 681e7000-681ec000 Deferred libdl.so.2
ELF 681ec000-68218000 Deferred libm.so.6
ELF 68218000-68221000 Deferred libnss_compat.so.2
ELF 68221000-6823b000 Deferred libnsl.so.1
ELF 6823b000-68247000 Deferred libnss_nis.so.2
ELF 68247000-68254000 Deferred libnss_files.so.2
ELF 68254000-68311000 Deferred gdi32<elf>
\-PE 68260000-68311000 \ gdi32
ELF 68311000-68371000 Deferred advapi32<elf>
\-PE 68320000-68371000 \ advapi32
ELF 68371000-684b1000 Deferred user32<elf>
\-PE 68380000-684b1000 \ user32
ELF 684b1000-684ca000 Deferred version<elf>
\-PE 684c0000-684ca000 \ version
ELF 684ca000-685d2000 Deferred ole32<elf>
\-PE 684e0000-685d2000 \ ole32
ELF 685d2000-68647000 Deferred rpcrt4<elf>
\-PE 685e0000-68647000 \ rpcrt4
ELF 68647000-68739000 Deferred oleaut32<elf>
\-PE 68660000-68739000 \ oleaut32
ELF 68739000-6874d000 Deferred psapi<elf>
\-PE 68740000-6874d000 \ psapi
ELF 6874d000-687b7000 Deferred shlwapi<elf>
\-PE 68760000-687b7000 \ shlwapi
ELF 687b7000-68864000 Deferred winmm<elf>
\-PE 687c0000-68864000 \ winmm
ELF 68864000-6888c000 Deferred msacm32<elf>
\-PE 68870000-6888c000 \ msacm32
ELF 6888c000-6896b000 Deferred comdlg32<elf>
\-PE 68890000-6896b000 \ comdlg32
ELF 6896b000-68b7c000 Deferred shell32<elf>
\-PE 68980000-68b7c000 \ shell32
ELF 68b7c000-68c74000 Deferred comctl32<elf>
\-PE 68b80000-68c74000 \ comctl32
ELF 68c74000-68cae000 Deferred winspool<elf>
\-PE 68c80000-68cae000 \ winspool
ELF 68cae000-68cd0000 Deferred imm32<elf>
\-PE 68cb0000-68cd0000 \ imm32
ELF 68cd0000-68db3000 Deferred msi<elf>
\-PE 68ce0000-68db3000 \ msi
ELF 68db3000-68e37000 Deferred urlmon<elf>
\-PE 68dc0000-68e37000 \ urlmon
ELF 68e37000-68ea6000 Deferred wininet<elf>
\-PE 68e40000-68ea6000 \ wininet
ELF 68ea6000-68ecc000 Deferred mpr<elf>
\-PE 68eb0000-68ecc000 \ mpr
ELF 68ecc000-68eec000 Deferred cabinet<elf>
\-PE 68ed0000-68eec000 \ cabinet
ELF 68eec000-68f61000 Deferred gdiplus<elf>
\-PE 68f00000-68f61000 \ gdiplus
ELF 68f61000-68f76000 Deferred faultrep<elf>
\-PE 68f70000-68f76000 \ faultrep
ELF 68f76000-69009000 Deferred winex11<elf>
\-PE 68f80000-69009000 \ winex11
ELF 69009000-6901b000 Deferred libxext.so.6
ELF 6901b000-6914f000 Deferred libx11.so.6
ELF 6914f000-69169000 Deferred libice.so.6
ELF 69169000-6916f000 Deferred libuuid.so.1
ELF 6916f000-69190000 Deferred libxcb.so.1
ELF 69190000-69194000 Deferred libxau.so.6
ELF 69194000-6919b000 Deferred libxdmcp.so.6
ELF 6919b000-6919f000 Deferred libxinerama.so.1
ELF 6919f000-691a5000 Deferred libxxf86vm.so.1
ELF 691a5000-691af000 Deferred libxrender.so.1
ELF 691af000-691b8000 Deferred libxrandr.so.2
ELF 691b8000-691bc000 Deferred libxcomposite.so.1
ELF 691bc000-691cd000 Deferred libxi.so.6
ELF 691cd000-69201000 Deferred libfontconfig.so.1
ELF 69201000-6922b000 Deferred libexpat.so.1
ELF 6922b000-6925f000 Deferred uxtheme<elf>
\-PE 69230000-6925f000 \ uxtheme
ELF 6925f000-692b2000 Deferred libcups.so.2
ELF 692b2000-692f0000 Deferred libgssapi_krb5.so.2
ELF 692f0000-692fe000 Deferred libavahi-common.so.3
ELF 692fe000-69310000 Deferred libavahi-client.so.3
ELF 69310000-69338000 Deferred libk5crypto.so.3
ELF 69338000-6933d000 Deferred libcom_err.so.2
ELF 6933d000-69346000 Deferred libkrb5support.so.0
ELF 69346000-69358000 Deferred libtasn1.so.3
ELF 69358000-693dd000 Deferred libgcrypt.so.11
ELF 693dd000-693ef000 Deferred libp11-kit.so.0
ELF 693ef000-69438000 Deferred libdbus-1.so.3
ELF 69438000-69450000 Deferred libresolv.so.2
ELF 69450000-69455000 Deferred libgpg-error.so.0
ELF 69455000-6945e000 Deferred librt.so.1
ELF 6945e000-6947f000 Deferred localspl<elf>
\-PE 69460000-6947f000 \ localspl
ELF 6947f000-6949a000 Deferred spoolss<elf>
\-PE 69480000-6949a000 \ spoolss
ELF 69b30000-69b36000 Deferred libxfixes.so.3
ELF 6adaf000-6adb8000 Deferred libsm.so.6
ELF 6bce1000-6bda5000 Deferred libgnutls.so.26
ELF 6c435000-6c440000 Deferred libxcursor.so.1
ELF 6f1c1000-6f1f3000 Deferred ws2_32<elf>
\-PE 6f1d0000-6f1f3000 \ ws2_32
ELF 6f530000-6f534000 Deferred libkeyutils.so.1
ELF 730b9000-731fb000 Dwarf libwine.so.1
ELF 77203000-77216000 Deferred gnome-keyring-pkcs11.so
PE 78050000-780b9000 Deferred msvcp100
PE 78aa0000-78b5f000 Deferred msvcr100
ELF 7b800000-7ba15000 Deferred kernel32<elf>
\-PE 7b810000-7ba15000 \ kernel32
ELF 7bc00000-7bcc3000 Deferred ntdll<elf>
\-PE 7bc10000-7bcc3000 \ ntdll
ELF 7be86000-7be9c000 Deferred libz.so.1
ELF 7bf00000-7bf04000 Deferred <wine-loader>
ELF 7c0a0000-7c16f000 Deferred libkrb5.so.3
ELF 7c4e1000-7c57b000 Deferred libfreetype.so.6
Threads:
process tid prio (all id:s are in hex)
0000000e services.exe
00000027 0
00000026 0
0000001f 0
0000001a 0
00000019 0
00000010 0
0000000f 0
00000014 explorer.exe
00000015 0
0000001c winedevice.exe
00000024 0
00000021 0
0000001e 0
0000001d 0
00000022 plugplay.exe
00000028 0
00000025 0
00000023 0
00000029 (D) C:\Program Files\F-Secure\F-Secure Key\fskey.exe
00000031 0
00000030 0
0000002f 0
0000002e 0
0000002c 0
0000002a 0 <==
System information:
Wine build: wine-1.4
Platform: i386
Host system: Linux
Host version: 3.2.0-60-generic

---

 

F-Secure Employee

Re: Running F-secure keys under wine

Thanks, the stack trace tells quite a bit! Version 1.4 that we are currently preparing for release has some fundamental changes that could fix this by itself (updates to the underlying framework). -Or then not, don't know yet.

 

Could you have another go with v1.4 when it is out?

 

TIA;

Juha

 

S-W
Aspirant

Re: Running F-secure keys under wine


JuhaT wrote:

 

Could you have another go with v1.4 when it is out?

 


 

I certainly can, and will do that.

Regular Member

Re: Running F-secure keys under wine

count me in... so i can try it on crossover

 

Smiley Happy

...die about to battery...
S-W
Aspirant

Re: Running F-secure keys under wine

Seems that Keys is updated to version 1.4.158, so I did give it a try.

 

Still no luck, hope Makan has better luck (I might have wrong wine config)

 

backtrace:

--------------------------------------------

Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00408c20).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:00408c20 ESP:0033dac4 EBP:00000113 EFLAGS:00010286( R- -- I S - -P- )
EAX:00000000 EBX:02e71e70 ECX:02e71e70 EDX:010d803c
ESI:010d803c EDI:0033db13
Stack dump:
0x0033dac4: 010d7f68 010d7fcc 00000000 02e71e70
0x0033dad4: 010d7f68 00000113 00408bf4 00000002
0x0033dae4: 00000002 00400000 00408b80 00000000
0x0033daf4: baafdebd 00402d63 010d803c 0033db13
0x0033db04: baafdf65 010d7f68 00000000 00000000
0x0033db14: 02e71e70 0033fce8 0040cf2b ffffffff
000c: sel=0067 base=00000000 limit=00000000 16-bit r-x
Backtrace:
=>0 0x00408c20 in fskey (+0x8c20) (0x00000113)
0x00408c20: movl 0x0(%eax),%ecx
Modules:
Module Address Debug info Name (121 modules)
PE 340000- 36c000 Deferred zlib_32
PE 400000- 42a000 Export fskey
PE 430000- 10b8000 Deferred qtwebkit4
PE 13f0000- 1436000 Deferred ssleay32
PE 10000000-10121000 Deferred libeay32
PE 64000000-64106000 Deferred qtnetwork4
PE 65000000-65833000 Deferred qtgui4
PE 67000000-67278000 Deferred qtcore4
PE 78050000-780b9000 Deferred msvcp100
PE 78aa0000-78b5f000 Deferred msvcr100
ELF 7b800000-7ba15000 Deferred kernel32<elf>
\-PE 7b810000-7ba15000 \ kernel32
ELF 7bc00000-7bcc3000 Deferred ntdll<elf>
\-PE 7bc10000-7bcc3000 \ ntdll
ELF 7bf00000-7bf04000 Deferred <wine-loader>
ELF 7d7f5000-7d813000 Deferred wintab32<elf>
\-PE 7d800000-7d813000 \ wintab32
ELF 7d813000-7d82b000 Deferred userenv<elf>
\-PE 7d820000-7d82b000 \ userenv
ELF 7d82b000-7d84c000 Deferred localspl<elf>
\-PE 7d830000-7d84c000 \ localspl
ELF 7d84c000-7d855000 Deferred librt.so.1
ELF 7d855000-7d85a000 Deferred libgpg-error.so.0
ELF 7d85a000-7d872000 Deferred libresolv.so.2
ELF 7d872000-7d876000 Deferred libkeyutils.so.1
ELF 7d876000-7d8bf000 Deferred libdbus-1.so.3
ELF 7d8bf000-7d8d1000 Deferred libp11-kit.so.0
ELF 7d8d1000-7d956000 Deferred libgcrypt.so.11
ELF 7d956000-7d968000 Deferred libtasn1.so.3
ELF 7d968000-7d971000 Deferred libkrb5support.so.0
ELF 7d971000-7d976000 Deferred libcom_err.so.2
ELF 7d976000-7d99e000 Deferred libk5crypto.so.3
ELF 7d99e000-7da6d000 Deferred libkrb5.so.3
ELF 7da6d000-7da7f000 Deferred libavahi-client.so.3
ELF 7da7f000-7da8d000 Deferred libavahi-common.so.3
ELF 7da8d000-7db51000 Deferred libgnutls.so.26
ELF 7db51000-7db8f000 Deferred libgssapi_krb5.so.2
ELF 7db8f000-7dbe2000 Deferred libcups.so.2
ELF 7dbe4000-7dbff000 Deferred spoolss<elf>
\-PE 7dbf0000-7dbff000 \ spoolss
ELF 7dc15000-7dc49000 Deferred uxtheme<elf>
\-PE 7dc20000-7dc49000 \ uxtheme
ELF 7dc49000-7dc4f000 Deferred libxfixes.so.3
ELF 7dc4f000-7dc5a000 Deferred libxcursor.so.1
ELF 7dcd4000-7dcfe000 Deferred libexpat.so.1
ELF 7dcfe000-7dd32000 Deferred libfontconfig.so.1
ELF 7dd32000-7dd43000 Deferred libxi.so.6
ELF 7dd43000-7dd47000 Deferred libxcomposite.so.1
ELF 7dd47000-7dd50000 Deferred libxrandr.so.2
ELF 7dd50000-7dd5a000 Deferred libxrender.so.1
ELF 7dd5a000-7dd60000 Deferred libxxf86vm.so.1
ELF 7dd60000-7dd64000 Deferred libxinerama.so.1
ELF 7dd64000-7dd6b000 Deferred libxdmcp.so.6
ELF 7dd6b000-7dd8c000 Deferred libxcb.so.1
ELF 7dd8c000-7dda6000 Deferred libice.so.6
ELF 7dda6000-7deda000 Deferred libx11.so.6
ELF 7deda000-7deec000 Deferred libxext.so.6
ELF 7deec000-7def5000 Deferred libsm.so.6
ELF 7def5000-7df88000 Deferred winex11<elf>
\-PE 7df00000-7df88000 \ winex11
ELF 7df88000-7e022000 Deferred libfreetype.so.6
ELF 7e03f000-7e0b4000 Deferred gdiplus<elf>
\-PE 7e050000-7e0b4000 \ gdiplus
ELF 7e0b4000-7e0d4000 Deferred cabinet<elf>
\-PE 7e0c0000-7e0d4000 \ cabinet
ELF 7e0d4000-7e0fa000 Deferred mpr<elf>
\-PE 7e0e0000-7e0fa000 \ mpr
ELF 7e0fa000-7e110000 Deferred libz.so.1
ELF 7e112000-7e118000 Deferred libuuid.so.1
ELF 7e118000-7e12d000 Deferred faultrep<elf>
\-PE 7e120000-7e12d000 \ faultrep
ELF 7e12d000-7e19c000 Deferred wininet<elf>
\-PE 7e140000-7e19c000 \ wininet
ELF 7e19c000-7e220000 Deferred urlmon<elf>
\-PE 7e1b0000-7e220000 \ urlmon
ELF 7e220000-7e303000 Deferred msi<elf>
\-PE 7e230000-7e303000 \ msi
ELF 7e303000-7e325000 Deferred imm32<elf>
\-PE 7e310000-7e325000 \ imm32
ELF 7e325000-7e417000 Deferred oleaut32<elf>
\-PE 7e340000-7e417000 \ oleaut32
ELF 7e417000-7e451000 Deferred winspool<elf>
\-PE 7e420000-7e451000 \ winspool
ELF 7e451000-7e549000 Deferred comctl32<elf>
\-PE 7e460000-7e549000 \ comctl32
ELF 7e549000-7e75a000 Deferred shell32<elf>
\-PE 7e560000-7e75a000 \ shell32
ELF 7e75a000-7e839000 Deferred comdlg32<elf>
\-PE 7e760000-7e839000 \ comdlg32
ELF 7e839000-7e861000 Deferred msacm32<elf>
\-PE 7e840000-7e861000 \ msacm32
ELF 7e861000-7e90e000 Deferred winmm<elf>
\-PE 7e870000-7e90e000 \ winmm
ELF 7e90e000-7e978000 Deferred shlwapi<elf>
\-PE 7e920000-7e978000 \ shlwapi
ELF 7e978000-7e9ed000 Deferred rpcrt4<elf>
\-PE 7e980000-7e9ed000 \ rpcrt4
ELF 7e9ed000-7eaf5000 Deferred ole32<elf>
\-PE 7ea00000-7eaf5000 \ ole32
ELF 7eaf5000-7ec35000 Deferred user32<elf>
\-PE 7eb10000-7ec35000 \ user32
ELF 7ec35000-7ec95000 Deferred advapi32<elf>
\-PE 7ec40000-7ec95000 \ advapi32
ELF 7ec95000-7ed52000 Deferred gdi32<elf>
\-PE 7eca0000-7ed52000 \ gdi32
ELF 7ed52000-7ed84000 Deferred ws2_32<elf>
\-PE 7ed60000-7ed84000 \ ws2_32
ELF 7ef84000-7ef91000 Deferred libnss_files.so.2
ELF 7ef91000-7ef9d000 Deferred libnss_nis.so.2
ELF 7ef9d000-7efb7000 Deferred libnsl.so.1
ELF 7efb7000-7efe3000 Deferred libm.so.6
ELF 7efe3000-7efe7000 Deferred libxau.so.6
ELF 7efe7000-7f000000 Deferred version<elf>
\-PE 7eff0000-7f000000 \ version
ELF f7418000-f741d000 Deferred libdl.so.2
ELF f741d000-f75c7000 Deferred libc.so.6
ELF f75c8000-f75e3000 Deferred libpthread.so.0
ELF f75e7000-f75f0000 Deferred libnss_compat.so.2
ELF f7600000-f7742000 Dwarf libwine.so.1
ELF f7744000-f7766000 Deferred ld-linux.so.2
ELF f7766000-f7767000 Deferred [vdso].so
Threads:
process tid prio (all id:s are in hex)
00000008 uninstaller.exe
00000009 0
0000000e services.exe
0000001f 0
0000001e 0
00000015 0
00000010 0
0000000f 0
00000012 winedevice.exe
0000001c 0
00000019 0
00000014 0
00000013 0
0000001a plugplay.exe
00000020 0
0000001d 0
0000001b 0
00000021 explorer.exe
00000022 0
00000023 (D) C:\Program Files (x86)\F-Secure\F-Secure Key\fskey.exe
00000029 0
00000028 0
00000027 0
00000026 0
00000025 0
00000024 0 <==
System information:
Wine build: wine-1.4
Platform: i386 (WOW64)
Host system: Linux
Host version: 3.2.0-60-generic

 

--------------------------------------------

Regular Member

Re: Running F-secure keys under wine

hi s-w,

 

i have no better luck... it calling a qt module/something that not exist on my archlinux.

i still googling for solution...

 

sorry... Smiley Sad

...die about to battery...
S-W
Aspirant

Re: Running F-secure keys under wine

I think that QT module is somehow linked to .NET framework Nikk mentioned, since I got similar error message while trying keys on intallation that didn't have .NET (dotnet).

I guess keys need some other libraries as well, but no idea what those might be.