Multiple 'invalid signature' errors when piping a non-file-stream
Opened this issue · 5 comments
silverwind commented
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.
gunish commented
+1 .. Can anyone suggest an alternative library while this fails ?
jladuval commented
Also getting this error here as well. What can we do to work around this?
missinglink commented
@silverwind @gunish @jladuval FYI #64 << works for me
silverwind commented
Confirmed working with that fork, awesome!
seagullua commented
This is fixed in new version https://www.npmjs.com/package/unzip2