mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
[PR #810] [CLOSED] Crx file support added (only for reading) #1250
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/810
Author: @ghost
Created: 2/17/2024
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
130dfc3Crx file support added (only for reading)📊 Changes
3 files changed (+340 additions, -0 deletions)
View changed files
➕
reference/CRX Package Format.html(+126 -0)➕
reference/Crx3.proto(+52 -0)➕
src/SharpCompress/Archives/Crx/CrxArchive.cs(+162 -0)📄 Description
I added Crx Archive support to SharpCompress.
These archives are used by the Google Chrome and Microsoft Edge browser for extension. They are ZIP archives with additional headers in front of the ZIP data.
Since these headers are contains public keys of the authors of the extension, which are verified with SHA 256, I can't implement write assess.
Because I didn't understand the ZIPArchive implementation of SharpCompress, I realized my implementation with a copy of the .crx file without the addition headers as a temp file.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.