mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
Failed to open file on RAR 5.0 with option "Encrypt file names" #489
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?
Originally created by @ghost on GitHub (Jan 21, 2022).
If you create rar file with password, and this option "Encrypt file names", sharpcompress cannot open the file.
It works on RAR 4.X, but it does not work on RAR 5.0
Test C# Code:
.net 6.0 With Visual Studio 2022
Test Result:
@adamhathcock commented on GitHub (Jan 21, 2022):
RAR 5.0 decryption is a known TODO: https://github.com/adamhathcock/sharpcompress#todos-always-lots
@ghost commented on GitHub (Jan 22, 2022):
Thank you, I can use this library to read my RAR 5.0 files normally, but if it has option "Encrypt file names", it will not work now.