mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
[PR #1] [MERGED] Added support for decryption of RAR files #775
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/1
Author: @hrasyid
Created: 7/16/2013
Status: ✅ Merged
Merged: 7/16/2013
Merged by: @adamhathcock
Base:
master← Head:master📝 Commits (10+)
1d10ea2Remove requirement for signaturead42193Modify test base to follow my folder structureaf8e4f9Add test case for encrypted Rar22d181erecognize encrypted flag in archive headerc0b630cDecrypt rar - first attempt, test still failsbb2dcceRemove comments from reference codee78ead7Temporarily do not treat warning as errore1511bfDecrypt stream (in addition to header)13de04dFix bug when no rijndael is used78cecdaUpdate to reflect folder structure📊 Changes
20 files changed (+490 additions, -49 deletions)
View changed files
📝
.gitignore(+1 -0)📝
SharpCompress.Test/Rar/RarReaderTests.cs(+32 -0)➕
SharpCompress.Test/Rar/Unit/RarHeaderFactoryTest.cs(+65 -0)📝
SharpCompress.Test/SharpCompress.Test.csproj(+1 -0)📝
SharpCompress.Test/TestBase.cs(+4 -4)📝
SharpCompress/Common/Rar/Headers/ArchiveHeader.cs(+5 -0)📝
SharpCompress/Common/Rar/Headers/RarHeader.cs(+2 -3)📝
SharpCompress/Common/Rar/Headers/RarHeaderFactory.cs(+22 -5)➕
SharpCompress/Common/Rar/RarCryptoWrapper.cs(+116 -0)➕
SharpCompress/Common/Rar/RarRijndael.cs(+113 -0)📝
SharpCompress/Common/Rar/RarVolume.cs(+9 -2)📝
SharpCompress/IO/MarkingBinaryReader.cs(+98 -24)📝
SharpCompress/IO/NonDisposingStream.cs(+1 -4)📝
SharpCompress/Reader/Rar/RarReader.cs(+11 -4)📝
SharpCompress/Reader/Rar/RarReaderVolume.cs(+4 -2)📝
SharpCompress/Reader/Rar/SingleVolumeRarReader.cs(+3 -1)📝
SharpCompress/SharpCompress.Portable.csproj(+1 -0)📝
SharpCompress/SharpCompress.csproj(+2 -0)➕
TestArchives/Archives/Rar.encrypted_filesAndHeader.rar(+0 -0)➕
TestArchives/Archives/Rar.encrypted_filesOnly.rar(+0 -0)📄 Description
As discussed in e-mail, here is the pull request which include RAR decryption. Please review and make any changes if necessary. Note that currently there is still problem due to inavailability of Cryptography in Portable.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.