You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When s user tries wrong password then retry with valid password for encrypted zip file, generated filename will be broken. Its contents are decrypted properly, though.
To reproduce, please find attached zip file. It was encrypted with a passphrase "password" and contains 日本語.txt encoded with Japanese charset Shift_JIS. 日本語.zip
Open attached zip file with Keka.
Select Shift_JIS for filename charset.
Type wrong password "something"
Type valid password "password"
Check generated filename.
If you type valid password in the first time (3), generated filename will be correct. So it seems the retrying password input (4) makes Keka to forget the selected charset in (2).
The text was updated successfully, but these errors were encountered:
Thanks for the precise feedback and the test file, @ko-zu!
The password retry is the bug here. The first extraction is done using unar and since it fails almost immediately (bad password) p7zip is used then (no encoding options). So the fix will be using p7zip with the same password used before.
When s user tries wrong password then retry with valid password for encrypted zip file, generated filename will be broken. Its contents are decrypted properly, though.
To reproduce, please find attached zip file. It was encrypted with a passphrase "password" and contains 日本語.txt encoded with Japanese charset Shift_JIS.
日本語.zip
If you type valid password in the first time (3), generated filename will be correct. So it seems the retrying password input (4) makes Keka to forget the selected charset in (2).
The text was updated successfully, but these errors were encountered: