#105 Wrong password creates emty files


When wrong password supplied p7zip creates emty files but proper reaction would be reject to create files at all.
See also https://bugzilla.altlinux.org/13291
Tested and confirmed with p7zip 9.13.


  • my p7zip

    my p7zip - 2010-10-10

    I don't understand how you can provide a wrong password to create a 7z archive.

    Do you want to update an archive with a wrong password ?

    Please, can you provide the list of p7zip command you use to have the problem ?
    Of course, you can change your passwords with "foo" then "bar" ...

  • Victor Forsyuk

    Victor Forsyuk - 2010-10-10

    Sorry, my message was ambiguously worded. I wrote about creating files when you extract them from password protected archive. When you trying to extract files but supplying wrong password p7zip creates empty files.

  • Sworddragon

    Sworddragon - 2013-07-18

    p7zip creates the directories and empty files because your archive header was not encrypted. If you create your archieves with -mhe=on p7zip encrypts the archive header which also means p7zip can't create anymore directories/empty files if you provide a wrong password on extraction.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks