mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-07 05:34:35 +00:00
ZIP: Use last modified time from basic header when validating zip decryption #613
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DannyBoyk on GitHub (Jan 26, 2024).
When support was added for the UnixTimeExtraField a little while ago, zip decryption validation was broken if a zip is encrypted and has UnixTimeExtraFields present. The zip encryption uses the basic header's last modified time value and not the times from the UnixTimeExtraField.
PR to fix incoming.