! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Zip containing files which are protected by different passwords fail to extract.
Status:
RESOLVED: INVALID
Product:
Xarchiver
Component:
general

Comments

Description Stephan Arts editbugs 2006-08-20 21:32:56 CEST
Zip containing files which are protected by different passwords fail to extract.

Steps to reproduce:

1) Add file test1.txt, protect with password test1
2) Add file test2.txt, protect with password test2
3) Extract 'all' and type in test1 or test2 in the passwd field.
   

Result:

One of the files fail to extract, either test1.txt or test2.txt.


Proposed fix:

interactive passwd prompt?
Comment 1 Giuseppe Torelli 2006-08-22 07:32:35 CEST
> Proposed fix:
> interactive passwd prompt?

To do this one should go inside the zip file to check if a file is encrypted with a different password since also the command line fails to extract such an archive:

[gt@Paradise Xarchiver_Test]$ unzip -Ppippo ~/Xarchiver_Test/zip_diff_pass.zip
Archive:  /home/gt/Xarchiver_Test/zip_diff_pass.zip
  inflating: ChangeLog
   skipping: FAQ_it                  incorrect password
[gt@Paradise Xarchiver_Test]$

Also to allow interactive prompt the files should be extracted one at a time, so repeated unzip commands should be issued as much as the files are and this is not good.

Bug #2201

Reported by:
Stephan Arts
Reported on: 2006-08-20
Last modified on: 2006-08-22

People

Assignee:
Giuseppe Torelli
CC List:
0 users

Version

Version:
0.3.9svn

Attachments

Additional information