nika-begiashvili / libarchivejs

Archive library for browsers
MIT License
288 stars 35 forks source link

Cannot extract encrypted 7Z archive with encrypted filenames #30

Closed AndreiRinea closed 10 months ago

AndreiRinea commented 4 years ago

Hi, I am trying to extract a 7Z archive with encrypted filenames. Upon calling getFilesObject or extractFiles all I get is an empty object back. Is this feature not (yet?) supported?

I am attaching such an archive. The password is 'abc' (without quotes). I had to append '.zip' to the filename to enable attaching to this issue. Upon downloading, rename it to make sure .7z is its extension.

Thanks!

PS: If I don't choose to encrypt the filenames (just the contents) then everything works as expected.

TwoFileArchive-EncFNs-pass-is-abc.7z.zip

nika-begiashvili commented 10 months ago

Please try this in latest version and re-open if issue persists