Zip plugin - password protection

If I use zip.compress with the password option, my zip file is compressed, but I’m not able to uncompress it with an external (un)compression program.

I’m using zip.compress to compress the log files from my users.

      local zipOptions = {

        zipFile = “log.zip”,

        zipBaseDir = system.DocumentsDirectory,

        srcBaseDir = system.DocumentsDirectory,

        srcFiles = { “log.txt” },

        listener = zipListener,

        password = “dramegbaklengs”,

      }

      zip.compress( zipOptions )

When I try to unzip this file I get a message that it’s encrypted, but if I write the password I get a message that the password is wrong. If tried many different passwords of different complexity.

The external zipper program that I use is Bandizip6.24 as well as directly on Windows 10.

Is this encryption only meant to work internally with zip.compress/uncompress, or is something wrong?

You could try setting pw to something short like ”a” and see if that works. If it dosnt work, you can try a free brute force zip opener to see what the actual pw is. Then you can find what the problem might be

Hehe, reverse engineering? Surely this is not a state secret? Somebody must know if this is a bug or by design?

Just found out that it works on a Mac, but not in Windows… Didn´t know zip wasn´t zip.