alpha
Login
or
Join now
mary.my.id
/
pkg-rar
Star
2
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
streaming RAR extractor
jsr.io/@mary/rar
jsr
Star
2
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
pkg-rar
/
lib
/
rar5
/
at
trunk
8 files
Mary
refactor: replace local crc32 with @mary/crc32
3mo ago
9bfb5ddc
blake2.ts
fix: verify BLAKE2sp against decoded RAR5 entries RAR5 entries that record a BLAKE2sp hash record instead of an inline CRC32 used to extract without any integrity check — neither the body fast path nor the decode pass had a BLAKE2sp implementation to compare against. add a pure-TS BLAKE2sp-256 (lib/rar5/blake2.ts: eight BLAKE2s leaves with last_node on leaf 7, root with node_depth=1) and a tweakBlake2sp HMAC-SHA256 transform for the TWEAKED checksum case. generalize verifyingPassthrough to take an IntegrityVerifier rather than CRC-specific options, expose crc32Verifier from segments and a local blake2spVerifier from the RAR5 extractor, and have Rar5Entry's #verifyHash dispatch on whichever tag the entry actually carries.
3 months ago
block.ts
refactor: replace local crc32 with @mary/crc32
3 months ago
constants.ts
feat: add RAR5 block parser parses the RAR5 archive layout: variable-length integers, the common block header with CRC verification, and the main, file, service, encryption, and end-of-archive blocks including every file extra record. walkBlocks iterates an in-memory archive.
3 months ago
crypto.ts
fix: verify BLAKE2sp against decoded RAR5 entries RAR5 entries that record a BLAKE2sp hash record instead of an inline CRC32 used to extract without any integrity check — neither the body fast path nor the decode pass had a BLAKE2sp implementation to compare against. add a pure-TS BLAKE2sp-256 (lib/rar5/blake2.ts: eight BLAKE2s leaves with last_node on leaf 7, root with node_depth=1) and a tweakBlake2sp HMAC-SHA256 transform for the TWEAKED checksum case. generalize verifyingPassthrough to take an IntegrityVerifier rather than CRC-specific options, expose crc32Verifier from segments and a local blake2spVerifier from the RAR5 extractor, and have Rar5Entry's #verifyHash dispatch on whichever tag the entry actually carries.
3 months ago
cursor.ts
feat: add structured error classes
3 months ago
dump.ts
refactor!: rename walkArchive to walkRar5Archive renames the RAR5 header walker and its block-pair type so the format is visible at the call site, matching the unrar5/unrar3 split. WalkOptions moves to lib/options.ts so the upcoming RAR3 walker can share it.
3 months ago
extract.ts
refactor: replace local crc32 with @mary/crc32
3 months ago
unpack.ts
feat: add structured error classes
3 months ago