-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[SN Error] Execption while syncing notes: Cannot decrypt note with local masterkey #187
Comments
That's strange, can you look into the AlephNote directory and confirm that the libsodium.dll is there (same dir as AlephNote.exe). Also (if it's there) can you open the file properties (rightclick -> properties) and confirm that the dll is not clocked by your security settings as seen here: |
Hi, the libsodium.dll is in the same directory as always and it is not read only or anythink. In the past AlephNote worked perfectly. The last update and the update of the new encryption mechanism killed the sync :-(. Reinstall doesn´t help. |
Hmm, according to this it could be that you need to install Visual C++ Redistributable 2015. I kinda hope that is not the problem, because then I would need to somehow detect that and show the user a warning :( Edit: yeah DependencyWalker also agrees that libsodium.dll has a dependency on VCRUNTIME140.DLL Edit-2: It seems like we could also simply package the vcredist dll's together with AN..., not the best solution but because we don't have an installer step it seems reasonable |
Hi Mike, ok. Sorry, I´m too slow: So I need to package the dll's together? |
No, please first try installing Visual C++ Redistributable 2015. But first we should be sure that this is actually the problem (aka if installing the vcredist package fixes it for you that was probably the problem...) |
Hi, I was told another version of Visual C++ is already installed. I cannot continue the setup. Installed is Visual C++ 2015-2019 Redistributable - newest version. |
Can you try extracting vcruntime140.zip and put the dll next to AlephNote.exe and then try restarting AlephNote and connecting again? |
Now it works!! 😄 👍 |
After updating the Standard Notes encryption to 004 I got the following message:
"AlephNote.Plugins.StandardNote.StandardNoteAPIException: Cannot decrypt note with local masterkey ---> System.DllNotFoundException: Unable to load DLL 'libsodium': Das angegebene Modul wurde nicht gefunden. (Exception from HRESULT: 0x8007007E)"
Anyway: AWESOME App 👍 😍
The text was updated successfully, but these errors were encountered: