[PR #810] Crx file support added (only for reading) #1254

Open
opened 2026-01-29 22:19:40 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/adamhathcock/sharpcompress/pull/810

State: closed
Merged: No


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.

**Original Pull Request:** https://github.com/adamhathcock/sharpcompress/pull/810 **State:** closed **Merged:** No --- I added [Crx Archive](https://docs.fileformat.com/misc/crx/) 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.
claunia added the pull-request label 2026-01-29 22:19:40 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#1254