refactor: change vendor_version#817
Conversation
|
There was a problem hiding this comment.
Code Review
This pull request enables support for reading encrypted ZIP files from a stream by introducing the read_zipfile_from_stream_with_compressed_size_and_options function and refactoring the crypto reader logic. Key changes include moving encryption-related metadata handling into AesVendorVersion and updating the streaming reader to support passwords and encryption flag overrides. Feedback was provided regarding src/read/stream.rs to avoid swallowing I/O errors during extra field parsing and to ensure that the user-provided compressed size takes precedence over local header metadata.
Following #814 and #815 (merge them first)
Diff with previous MR https://github.com/zip-rs/zip2/compare/rewrite-aes-settings-2...rewrite-aes-settings-3?expand=1