Resolve key_id to key schedule without brute-force #19

Open
opened 2026-11-26 20:55:50 +00:00 by github-bot · 0 comments
Owner

@⁠nineforge0 on GitHub · 2026-11-25 04:33 UTC · original

forge9 decrypts the TOC by trying all key schedules and keeping the one that produces valid records. The header's key_id field at +0x28 (e.g. 0xDA72573E, 0xC0A92754, 0xABE9B070) should select the right schedule directly, but the mapping is unknown.

Resolving this would speed up archive opening and document an important part of the format.

See docs/rpf9_format.md Key selection section.

**@⁠nineforge0** on GitHub · 2026-11-25 04:33 UTC · [original](https://github.com/nineforge0/forge9/issues/19) forge9 decrypts the TOC by trying all key schedules and keeping the one that produces valid records. The header's `key_id` field at +0x28 (e.g. `0xDA72573E`, `0xC0A92754`, `0xABE9B070`) should select the right schedule directly, but the mapping is unknown. Resolving this would speed up archive opening and document an important part of the format. See `docs/rpf9_format.md` Key selection section.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:55:50 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.