mate-desktop / engrampa

A file archiver for MATE
http://www.mate-desktop.org
GNU General Public License v2.0
113 stars 52 forks source link

Cannot decrypt zip with "№" symbol in password #201

Open Chocobo-ts opened 6 years ago

Chocobo-ts commented 6 years ago

Expected behaviour

Correct operation with any zip-passwords

Actual behaviour

ERROR: Wrong password when password contains or or

Steps to reproduce the behaviour

Create encrypted zip-archive with password contains symbol Try to extract with engrampa, type password, getting error (wrong pass).

cli-utility unzip does this operations well, without errors

MATE general version

1.20.1

Package version

1.20.0

Linux Distribution

Debain Sid, also tested in ubuntu 16.04 and Linux Mint 18.3

ghost commented 6 years ago

I can't reproduce that with the attached file. Password is: №?or9℅=or-€ test.zip

wigy-opensource-developer commented 2 years ago

I am using Engrampa 1.26 in Ubuntu Mate 22.04.1 LTS jammy. I cannot encrypt or decrypt ZIP files using any password that contains non-ascii characters (á) either in Engrampa or the Caja plugin. I can use zip -re some.zip some/ with the same passwords though and I can also unzip them successfully. (Like the test.zip in the previous comment)

$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=hu_HU.UTF-8
LC_TIME=hu_HU.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=hu_HU.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=hu_HU.UTF-8
LC_NAME=hu_HU.UTF-8
LC_ADDRESS=hu_HU.UTF-8
LC_TELEPHONE=hu_HU.UTF-8
LC_MEASUREMENT=hu_HU.UTF-8
LC_IDENTIFICATION=hu_HU.UTF-8
LC_ALL=
zhuyaliang commented 1 year ago

Please test if the issue still exists