NCA header: decrypt, parse, re-encrypt #5

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

Port nca.py (NCAHeader, content type, distribution type).

Spec: §2.1 nca

Done when

  • Round-trip decrypt → encrypt is byte-identical
Port `nca.py` (`NCAHeader`, content type, distribution type). Spec: [§2.1 `nca`](https://git.benoitsafari.com/safari-slop-apps/safari-slopapps-nx-archiver/src/branch/main/docs/SPEC.md) ## Done when - Round-trip decrypt → encrypt is byte-identical
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
#8 XCI: parse and build
safari-slop-apps/safari-slopapps-nx-archiver
#20 NCA section decryption
safari-slop-apps/safari-slopapps-nx-archiver
Depends on
#3 Keys: load prod.keys / title.keys and derive keys
safari-slop-apps/safari-slopapps-nx-archiver
#4 Crypto: AES-XTS (Nintendo sectors) and AES-CTR
safari-slop-apps/safari-slopapps-nx-archiver
Reference
safari-slop-apps/safari-slopapps-nx-archiver#5
No description provided.