mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-11 13:35:00 +00:00
[PR #901] [MERGED] Handle XZ CheckType SHA-256 #1327
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?
📋 Pull Request Information
Original PR: https://github.com/adamhathcock/sharpcompress/pull/901
Author: @ms264556
Created: 3/7/2025
Status: ✅ Merged
Merged: 3/7/2025
Merged by: @adamhathcock
Base:
master← Head:feature/sha256-quick-fix📝 Commits (2)
3a7fbdfHandle XZ CheckType SHA-256187b762Corrected XZ BlockCheckSize formula📊 Changes
2 files changed (+2 additions, -5 deletions)
View changed files
📝
src/SharpCompress/Compressors/Xz/XZHeader.cs(+1 -1)📝
src/SharpCompress/Compressors/Xz/XZStream.cs(+1 -4)📄 Description
Add
CheckType.SHA256to theXZHeader.BlockCheckSize'calculation' so XZ can decompress e.g. RPM package payloads.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.