mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-09 21:24:08 +00:00
[PR #794] [MERGED] Feature/rar5 blake2 #1236
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/794
Author: @Erior
Created: 1/2/2024
Status: ✅ Merged
Merged: 1/3/2024
Merged by: @adamhathcock
Base:
master← Head:feature/rar5-blake2📝 Commits (4)
388bbe0Blake2 Archive test OKf8a0069Calc checksum when encrypted is not working for RAR5, disable for now8b02795CSharpier4f749daMerge branch 'develop' into feature/rar5-blake2📊 Changes
10 files changed (+350 additions, -38 deletions)
View changed files
📝
README.md(+1 -1)📝
src/SharpCompress/Archives/Rar/RarArchiveEntry.cs(+5 -1)📝
src/SharpCompress/Common/Rar/Headers/FileHeader.cs(+9 -19)📝
src/SharpCompress/Common/Rar/RarEntry.cs(+1 -1)📝
src/SharpCompress/Compressors/Rar/MultiVolumeReadOnlyStream.cs(+1 -1)➕
src/SharpCompress/Compressors/Rar/RarBLAKE2spStream.cs(+305 -0)📝
src/SharpCompress/Compressors/Rar/RarCrcStream.cs(+8 -1)📝
src/SharpCompress/Readers/Rar/RarReader.cs(+8 -0)📝
tests/SharpCompress.Test/Rar/RarArchiveTests.cs(+3 -0)📝
tests/SharpCompress.Test/Rar/RarReaderTests.cs(+9 -14)📄 Description
A Blake2 impl for RAR5, while testing it out I noticed that CRC and probably Blake2 for RAR5 with encryption is broken, the check is disabled for now when this is detectde. Exposes only the first 4 bytes for the Blake2 CRC externally to keep current API.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.