You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AE-1: The version supports CRC, The CRC must be set to the actual CRC of the content
AE-2: This version does not support CRC, CRC value must be 0
The reason behind not using CRC in case of AE-2 is that this is an unnecessary redundant overhead. AES has an Auth code which is even better than a simple CRC. Therefore the computation time for the CRC can be removed to improve perfromance.
Actual behavior
A AE-2 zip is created that has the CRC value set to the actual value
To match the specification:
-> Either change the version to AE-1
-> Or set the CRC to 0
In order to fix this issue it first needs to be decided which version the zip files shall use:
AE-1 or AE-2
it first needs to be decided which version the zip files shall use
I don't know there - the WinZip docs say different versions use different defaults, and it could potentially be made configurable, but then I don't know how much people actually care about that.
Steps to reproduce
Expected behavior
A Zip according to the specification is created
https://www.winzip.com/win/en/aes_info.html#comp-method
The specication states that:
The reason behind not using CRC in case of AE-2 is that this is an unnecessary redundant overhead. AES has an Auth code which is even better than a simple CRC. Therefore the computation time for the CRC can be removed to improve perfromance.
Actual behavior
A AE-2 zip is created that has the CRC value set to the actual value
To match the specification:
-> Either change the version to AE-1
-> Or set the CRC to 0
In order to fix this issue it first needs to be decided which version the zip files shall use:
AE-1 or AE-2
Version of SharpZipLib
Obtained from (only keep the relevant lines)
The text was updated successfully, but these errors were encountered: