Changes

Jump to navigation Jump to search
204 bytes added ,  23:38, 21 March 2020
no edit summary
Line 1: Line 1: −
PUP files are update archives for the Vita.  
+
PUP files are update archives for the PSP, PS3, PSVita and PS4.  
    
= PUP Structure =
 
= PUP Structure =
Line 242: Line 242:     
* SCEWM header: size 0x20 bytes.
 
* SCEWM header: size 0x20 bytes.
* RSA2048 signature of the PUP (regardless of the watermark): size 0x100 bytes. This part IS NOT ENCRYPTED.
+
* RSA2048 signature of the PUP (regardless of the watermark): size 0x100 bytes. ?This part IS NOT ENCRYPTED?.
 
* SCEWM body (unique data per issue ID): size = file_size(usually 0x1000) - header_size(0x20) - pup_sig_size(0x100). Its size may vary, check file_size in SCEWM header. This part IS ENCRYPTED.
 
* SCEWM body (unique data per issue ID): size = file_size(usually 0x1000) - header_size(0x20) - pup_sig_size(0x100). Its size may vary, check file_size in SCEWM header. This part IS ENCRYPTED.
   Line 250: Line 250:     
After decryption, the data is composed of 2 parts:
 
After decryption, the data is composed of 2 parts:
   
* 0xDE0 bytes: plaintext ASCII message
 
* 0xDE0 bytes: plaintext ASCII message
* 0x100 bytes: RSA2048 signature of that message
+
* 0x100 bytes: RSA2048 signature of that message, verified with SCEWM RSA public key.
    
=== Message ===
 
=== Message ===
   −
The message is generated on developer demand by DevNet server. The message syntax has changed with DevNet revisions.
+
The message is generated on developer's demand by DevNet server. The message syntax has changed with DevNet revisions.
    
The message is totally independant of the PUP. The same PUP (for example PSVita FW 0.945) downloaded from DevNet in 2011 and in 2018 has different message syntax.
 
The message is totally independant of the PUP. The same PUP (for example PSVita FW 0.945) downloaded from DevNet in 2011 and in 2018 has different message syntax.
Line 292: Line 291:  
=== Signature ===
 
=== Signature ===
   −
It is RSA2048 of the watermark + maybe other data.
+
It is RSA2048 of the watermark + maybe other data. It is verified with SCEWM RSA public key.
    
== Security ==
 
== Security ==
Line 333: Line 332:  
Once decrypted:
 
Once decrypted:
   −
*0x100 bytes: a RSA2048 signature, certainly of the PUP
+
*0x100 bytes: RSA2048 signature, certainly of the PUP, verified with SCEAS RSA public key
*0x1E0 bytes: zeroes, maybe area for more than one signature
+
*0x1E0 bytes: zeroes, maybe area for more than one signature, or just padding for decryption
*0x100 bytes: RSA2048 signature of the Additional Signature(s)
+
*0x100 bytes: RSA2048 signature of the Additional Signature(s), verified with SCEAS RSA public key
       
[[Category:Formats]]
 
[[Category:Formats]]
6,282

edits

Navigation menu