Keys: load prod.keys / title.keys and derive keys #3

Open
opened 2026-10-14 19:01:23 +02:00 by ClaudeSafari · 0 comments
Member

Port keys.py. Lookup order: --keys, NX_KEYS_DIR, ~/.switch/.

Spec: §2.1 keys

Tasks

  • Parse name = hex files (comments # / ;)
  • Header key, key area keys by revision
  • Errors with thiserror

Done when

  • Unit tests on synthetic key files
Port `keys.py`. Lookup order: `--keys`, `NX_KEYS_DIR`, `~/.switch/`. Spec: [§2.1 `keys`](https://git.benoitsafari.com/safari-slop-apps/safari-slopapps-nx-archiver/src/branch/main/docs/SPEC.md) ## Tasks - [ ] Parse `name = hex` files (comments `#` / `;`) - [ ] Header key, key area keys by revision - [ ] Errors with `thiserror` ## Done when - Unit tests on synthetic key files
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
#5 NCA header: decrypt, parse, re-encrypt
safari-slop-apps/safari-slopapps-nx-archiver
#19 Tickets and title keys
safari-slop-apps/safari-slopapps-nx-archiver
#26 Keys flow at startup
safari-slop-apps/safari-slopapps-nx-archiver
Depends on
#1 Scaffold the workspace from the core template
safari-slop-apps/safari-slopapps-nx-archiver
Reference
safari-slop-apps/safari-slopapps-nx-archiver#3
No description provided.