SpotPass: Difference between revisions

3dsguy (talk | contribs)
I found this out the hard way when I had the ports blocked for un-related reasons.
No edit summary
Line 19: Line 19:
SpotPass downloads/checks for updates every 24 hours? This is basically identical to the system used before for manual system updates: when it's time to check for updates, SpotPass will simultaneously send a system update SOAP request to the server, and also request from nppl*.(nppl* is likely unrelated)
SpotPass downloads/checks for updates every 24 hours? This is basically identical to the system used before for manual system updates: when it's time to check for updates, SpotPass will simultaneously send a system update SOAP request to the server, and also request from nppl*.(nppl* is likely unrelated)
When there's an update available, SpotPass will then download the tmd/ticket over HTTPS and content over HTTP.(like usual)
When there's an update available, SpotPass will then download the tmd/ticket over HTTPS and content over HTTP.(like usual)
== Content Container ==
All SpotPass content uses this container to encrypt the payload.(and possibly sign it) The cleartext payload is stored in [[extdata]].
{| class="wikitable"
|-
! Offset
! Length
!
|-
| 0x0
| 0x4
| Magic Number "boss"
|-
| 0x4
| 0x4
| Always 00 01 00 01
|-
| 0x8
| 0x4
| Big-endian filesize
|-
| 0xC
| 0x4
| Always 00 00 00 00
|-
| 0x10
| 0x4
| Release date (UNIX timestamp)
|-
| 0x14
| 0x8
| Always 00 01 00 00 00 02 00 02
|-
| 0x1c
| 0x27a?
| Unknown, going by the size of this a RSA-4096 signature might be stored here among other things?
|}
Data following the header is encrypted, the CTR used is likely based on metadata in the header.(like the timestamp)
It appears that this file format is big-endian, unlike [[CXI]].


[[Category:Nintendo Software]]
[[Category:Nintendo Software]]