-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encrypted backups can't be decrypted, when password contains certain special characters #53
Comments
I'm currently away on holiday, but will have a look at this over the next few weeks. |
Problem is the |
Tested password
7z cli *1: The problem seems to be the escaping of |
Opened q2s2t/node-7z#132 |
Add workaround e9e361d (Passwords with |
Thanks for this plugin -- saved me from a corrupt sync that wiped all tags. I also couldn't unarchive using the built-in "/System/Library/CoreServices/Applications/Archive Utility.app". My password contained an asterisk ( I was able to unarchive with:
|
I cannot reproduce this under windows. The |
Thanks! this worked for me 🚀 |
Edit: I am currently using Version 1.20 of the extension. I am currently not able to update so can't confirm whether this was fixed.
I am doing encrypted backups with your extension. Unfortunately, when I tried to access a backup file (.7z archive, which is password-protected) I was not able to although the password was 100% correct. I tried unpacking with WinRAR and 7-Zip. Both failed for the 5 backups I had from the last five days. If I understand the errors of WinRAR and 7-Zip correctly, either the password is not correct or the file is damaged.
I don't know if the files are damaged. If they are, then this must be inflicted by a password containing certain symbols (see later).
I definitely used the correct password (I checked it in the Joplin settings, where you can configure the password for the backups).
The password I used for the encryption was:
VCe`,=/P<_+.7]~;Ys("
When I changed my password to a 'simpler' one, it worked. I tried the following:
AAAA
With AAAA, 7-Zip had no problem decrypting the backup file. So in conclusion, I suspect that the special characters (or at least some of them) hinder the process at some point. Maybe it damages the file or certain characters are simply not allowed in passwords for .7z files (but I am not an expert on that).
Side note: luckily I could restore my notes from the 'trash can' of my cloud.
For completeness:
WinRAR told me:
! C:\Users\hp\AppData\Roaming\Joplin\Backup\202306291517\all_notebooks.jex.7z: Prüfsummenfehler der verschlüsselten Datei C:\Users\hp\AppData\Roaming\Joplin\Backup\202306291517\all_notebooks.jex.7z. Beschädigte Datei oder falsches Passwort.
7-Zip told me:
C:\Users\hp\AppData\Roaming\Joplin\Backup\202306251526\all_notebooks.jex.7z
Das verschlüsselte Archiv "" kann nicht geöffnet werden. Falsches Passwort?
Headers-Fehler
The text was updated successfully, but these errors were encountered: