zip-rs / zip-old

Zip implementation in Rust
MIT License
731 stars 204 forks source link

Expose ZipFileData #428

Closed etrombly closed 9 months ago

etrombly commented 9 months ago

I'd like to be able to check if a zip archive is encrypted in my application, but there is no public data to check. It does exist in ZipFileData, is there any way to make that something we can query? I'd prefer not to have to duplicate the header check in my application to check before sending the file to zip-rs.

etrombly commented 9 months ago

looking through previous bug reports it looks like this is a duplicate of https://github.com/zip-rs/zip/issues/58

I'll close this in favor of that one.