how does a preloaded PS5 game work?
preoaded content is stored on the SSD encrypted with every PFS block decrypted by the hardware decryption engine. the data is completely useless until the console has the title key
at release time the console asks the PSN entitlement service for a decryption token which is a short-live signed blob that wraps the content key for the game and console. the token is passed to the APU security processor, unwrapped inside the enclave, and loaded into the key slots the decryption engine uses
interestingly, the console can technically ask for the token at any moment. the release time is just a field in the store metadata and the console waits until it thinks that time has passed
even more interestingly, the entitlement server doesn't compare the request against its own time. release times differ by region and timezone and Sony (or the vendor) likes to stagger launches so the server instead trusts a time attestation value that the console attaches to the request. the attestation contains:
- the token request nonce
- the console's local RTC time
- a remote time value obtained from PlayStation time servers (
time.playstation.net/time2.playstation.net)
everything is signed by a console key that lives in the security processor. the server checks the signature, checks that local and remote time agree accounting for skew and checks that the remote time is past the release time. if all three pass it issues the token