leocheang422 / win-sshfs

Automatically exported from code.google.com/p/win-sshfs
0 stars 0 forks source link

Key not valid for use in specified state. #109

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Password expired for my domain. win-sshfs was still working
2. After changing the password, the application does not work anymore. 

What is the expected output? What do you see instead?
The app does not work. The: 

System.Security.Cryptography.CryptographicException: Key not valid for use in 
specified state.

is shown. The taskbar icon works but is not possible to open the main 
interface. 

What version of the product are you using?

win-sshfs: win-sshfs-0.0.1.5-setup
Client OS: Windows 7 professional SP1
Server OS: Linux 
Ssh server: sshd

Please provide any additional information below.

Original issue reported on code.google.com by iver...@estudio-verona.com on 17 Nov 2014 at 8:00

Attachments:

GoogleCodeExporter commented 8 years ago
I successfully used win-sshfs for 1.5 years in a nearly identical 
configuration.  I had many password changes without problems. However, my 
Symantec whole disk encryption had to be reset which involved decrypting using 
the corporate key and re-encrypting using a new key.  After this I now have the 
same error described above.  I have uninstalled win-sshfs and reinstalled it 
but I still encounter the same problem.  Is there a config or key file stashed 
somewhere that needs to be deleted?

Original comment by smcoh...@gmail.com on 3 Dec 2014 at 9:18

GoogleCodeExporter commented 8 years ago
I have found a potential workaround for this problem.

After some searching I found a suspicious config.xml file in the directory 
C:\Users\<username>\AppData\Local\IsolatedStorage\<randomChars>\<moreRandomChars
>\<stillMoreRandomChars>\AssemFiles

I renamed this file and re-executed win-sshfs.  This time it worked.

Original comment by smcoh...@gmail.com on 3 Dec 2014 at 9:45

GoogleCodeExporter commented 8 years ago
You made my day! I was about to reinstall my PC from scratch just because of 
this issue. 

Thanks a lot, really. 

Original comment by iver...@estudio-verona.com on 4 Dec 2014 at 7:27