adm-zip
adm-zip copied to clipboard
ADM-ZIP: Wrong Password
Add a password to it during decompression, but report an error
Compression mode: WinRAR compression password addition password:123456
Decompression mode:
zipEntry.getDataAsync(function (data, err) {
if (err) {
console.log(err);
} else {
console.log(data);
}
}, '123456');
The above problem has been solved
But there is a new problem
Above can be normal decompression
But this one can't be decompressed
errorMessage:ADM-ZIP: Wrong Password
The two differences are Characteristics:Encrypt Descriptor and NTFS:Encrypt How can I solve this problem thanks
Never seen this "Characteristics" in any where in ZIP documentation. Maybe WinRAR uses NTFS encrypt along with zipCrypto.
Can you try extract it with 7z ?
7z extract is a normal,It's also normal to use npm Unzipper
Add a password to it during decompression, but report an error
Compression mode: WinRAR compression password addition password:123456
Decompression mode:
zipEntry.getDataAsync(function (data, err) { if (err) { console.log(err); } else { console.log(data); } }, '123456');
Quick question, how did you solve this? I'm experiencing a similar issue