Menu

#176 Header-encrypted 7z archive with only one entry detected as corrupted upon wrong password

v1.0 (example)
open
nobody
None
5
2016-03-29
2016-03-29
No

Steps to reproduce it:

  1. 7z a test1.7z -mhe=on -p1234 foo.txt
  2. 7z l -slt test1.7z
  3. Type a wrong password

Actual output:

Enter password (will not be echoed):

ERROR: test1.7z : Can not open encrypted archive. Wrong password?

ERRORS:
Headers Error


Errors: 1

Expected output:

Headers Error should not be there.

If I create a similar archive with more than one entry, e.g. 7z a test2.7z -mhe=on -p1234 foo.txt bar.txt, the bug cannot be reproduced.

This happens with 7z 15.14 on linux.

Discussion


Log in to post a comment.