-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Checksum None is valid #27
Comments
Thanks for reporting. I have to look into that. |
You are right. The code doesn't support the None Check ID and the spec says it SHOULD be supported. I have to look into that. |
ulikunitz
added a commit
that referenced
this issue
Feb 24, 2020
Issue #27 reported the problem that an xz file didn't have a checksum. This commit adds a test.
ulikunitz
added a commit
that referenced
this issue
Feb 24, 2020
The check-ID None is valid and SHOULD be supported according to the xz specification. This commit modifies the Reader to support the check-ID None. A new simple hash noneHash is introduced, which makes the implementation quite elegant. For performance reasons we avoid the writing into the hash during decompression. Fixes issue #27 - #27
I have created release v.0.5.7. Please check whether it works for you. |
It works great!! Thank you for such a fast response and elegant solution!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to decompress iOS OTA files and they are failing your flags check. They appear to have "None" checksum.
https://tukaani.org/xz/xz-file-format-1.0.4.txt
Thank you for a great pkg!
The text was updated successfully, but these errors were encountered: