Bug #2894

Windows Keysync looks in paths from developer's machine

Added by Arsene almost 4 years ago. Updated almost 4 years ago.

Status:NewStart date:01/21/2014
Priority:UrgentDue date:
Assignee:abeluck% Done:

0%

Category:-
Target version:0.2.1
Component:

Description

The application doesn't generate a keystore file. The user folder is opened, but there is no file. Upon further inspection with Process Monitor, the application tries to write to non-existing folders, including "C:\data\data" and is returned with a "PATH NOT FOUND". So to sum it all up, the application is useless since it doesn't do anything.

FYI: OpenSSL Win32OpenSSL_Light-1_0_1e (as linked on the website) doesn't exist anymore (404), so I'm using Win32OpenSSL_Light-1_0_1f. So "F" instead of "E".

KeySync-0.2.exe_CreateFile01.png (506 KB) Arsene, 01/21/2014 10:09 pm

History

#1 Updated by hans almost 4 years ago

  • Priority changed from High to Urgent
  • Target version set to 0.2.1

Thanks for the bug report! I fixed the openssl download link to point at the "F" version.

It definitely shouldn't be writing there. Can you tell me which apps Keysync was reading from? Have you tried creating C:\data\data? Will it write there if you create that folder?

#2 Updated by Arsene almost 4 years ago

hans wrote:

Thanks for the bug report! I fixed the openssl download link to point at the "F" version.

It definitely shouldn't be writing there. Can you tell me which apps Keysync was reading from? Have you tried creating C:\data\data? Will it write there if you create that folder?

When I launch the application, it shows a windows exclamation window, saying: "WARNING: file already exists but should not: C:\Users\delta\AppData\Local\Temp\_MEI52162\include\pyconfig.h", which I then OK.

Jitsi is selected, and when I hit 'Sync to ChatSecure', one of the CreateFile operation it executes is to "C:\Users\abel\Documents\keysync\build\keysync-gui-onefile\out00-PYZ.pyz\Tkinter", "C:\Users\abel\Documents\keysync\build\keysync-gui-onefile\out00-PYZ.pyz\otrapps.chatsecure", "C:\Users\abel\Documents\keysync\build\keysync-gui-onefile\out00-PYZ.pyz\subprocess" which is returned "PATH NOT FOUND". Please note, I have no user account called 'abel', I'm assuming it's from one of the devs.

I can't find the "C:\Data\data" back now, but, it is trying to create the otr_keystore.ofcaes in a whole variety of (PATH?) locations, which all return "NAME INVALID".

Please see the attached screenshot.

#3 Updated by FelixAkk almost 4 years ago

I have the same symptoms on Mac OS X. When I run /Applications/KeySync.app/Contents/Resources/keysync-gui I get a error that module qrcode is not found. After installing that, I get the same for PIL, after that, I get the same for otrapps, which pip can't find, so I'm stuck there.

When I start the application normally I get the UI that seems to work fine untill you hit the button and it disables all interface elements and just hangs.

#4 Updated by hans almost 4 years ago

  • Subject changed from Windows Keysync application doesn't work to Windows Keysync looks in paths from developer's machine
  • Assignee set to abeluck

@FelixAkk you're having a different issue, I opened a new issue report for it here:
https://dev.guardianproject.info/issues/2916

#5 Updated by belidzs almost 4 years ago

I have experienced the same behaviour as @Arsene. I have separate Python 3.2 installed and included in Windows PATH. User directory pops up and no keysync file present.

#6 Updated by hans almost 4 years ago

@belidzs do you also have python 2.7 as part of your Python install? KeySync won't run properly in Python 3.

#7 Updated by daviross almost 4 years ago

I'm seeing the same issue when trying to extract from Pidgin, complete with attempted writes to "C:\Users\abel\Documents\keysync\build\keysync-gui-onefile\out00-PYZ.pyz\Tkinter", "C:\Users\abel\Documents\keysync\build\keysync-gui-onefile\out00-PYZ.pyz\otrapps.chatsecure", "C:\Users\abel\Documents\keysync\build\keysync-gui-onefile\out00-PYZ.pyz\subprocess".

I have Python 2.7 installed and on my system PATH.

Also available in: Atom PDF