EvanOxfeld/node-unzip

Multiple 'invalid signature' errors when piping a non-file-stream

Opened this issue · 5 comments

Piping in a zip stream directly from archiver, results in a series of invalid signature errors. It seems as if all bytes in the stream are checked for a signature. On the other hand, the same zip gets extracted correctly when going through file streams first.

See @ctalkington's comments in archiverjs/node-archiver#91. Also, here's a test case.

+1 .. Can anyone suggest an alternative library while this fails ?

Also getting this error here as well. What can we do to work around this?

Confirmed working with that fork, awesome!

This is fixed in new version https://www.npmjs.com/package/unzip2