Keys: Difference between revisions

From Vita Developer wiki
Jump to navigation Jump to search
m (→‎PFS Keys: <- aligned memes)
Line 76: Line 76:
|-
|-
| PFS Secret || 1.00+ || <code>8C5D3A4B9D9BF4B453BCE6CDC34331D8</code> || Check HMAC at position 0x30 of file sealedkey, from the first 0x30 bytes of the file
| PFS Secret || 1.00+ || <code>8C5D3A4B9D9BF4B453BCE6CDC34331D8</code> || Check HMAC at position 0x30 of file sealedkey, from the first 0x30 bytes of the file
|-
|}
= RSA Rif Keys =
{| class="wikitable sortable"
|-
! Type !! Version !! Modulus !! Usage
|-
| 0 and 1 || 1.00+ ||   
    9CCCE3A536FA641B2D1354EE98F093C2
    68470F722C024B86CD60274E08E0067A
    3CB0DBA3D33DB2ACE44AA070B10B612A
    C4546E51B5EDFA23F5ED507F23365F9A
    0A09C1807D43E6172225AEB81630AC59
    79C4A534460A41A6207E6B426F3DF8CA
    A0FBA7ED2B6A474C2AAB50A92DC743F2
    232228FAC48FED218A8190F0423AD00C
    595DCB410D18845DA90CCF2FDFD6B90E
    23074B52B57C4866B93DD6A7C7336D74
    D26D9E30D8A1B1C94459F34312AB0A46
    B1B281D22B38809352A487C00D60340F
    EAC1834BCF88DA25D980B37847087574
    27D40948493D2F5A8FEEB5B74B2961FF
    B4E7F3832207CE6481F07E88164E3208
    1801B68F8D141541CED6D7D966A08DCB 
||
|-
|-
|}
|}

Revision as of 00:55, 2 February 2017


Usefull information

ID Storage Source and explanation: [1] Save Data Source: [2] Kirk Engine Source: [3]

Location

keyfiles should be placed in ~/.vita or %userprofile%\vitakeys

Naming

naming:

  • file prefix: pkg
  • file suffix: 092 103 105 106 150 151... etc.
  • key file (erk): %s-key-%s
  • iv file (riv): %s-iv-%s
  • ctype file (curvetype): %s-ctype-%s
  • pub file (public): %s-pub-%s
  • priv file (private): %s-priv-%s

PS Vita Keys

These are the PS Vita Keys.

Vita Game PKG Keys

These AES-CTR 128-bit keys are used in Game/App PKG file decryption. Vita keys use a different algorithm, you first encrypt the IV with the correct type of key, then use the result as the actual key for the CTR. Every pkg will use a different key as a result of this.

Type Version ERK
PSP 1.00+ 07F2C68290B50D2C33818D709B60E62B
Vita 1.00+ Type 2 E31A70C9CE1DD72BF3C0622963F2ECCB
Vita 1.00+ Type 3 423ACA3A2BD5649F9686ABAD6FD8801F
Vita 1.00+ Type 4 AF07FD59652527BAF13389668B17D9EA
  • Type 4 is (exclusively?) for PSM packages

index.dat keysets

These AES-CBC 256-bit keys are used in index.dat file decryption.

Type Version RIV ERK
index.dat 1.00-1.691 37FA4ED2B6618B59B34F770FBB92947B 06CC2E8FD40805A736F17CF2C13D58A6C8CF107E9E4A66AE25D39CA21C2531CC
index.dat 1.80+ 37FA4ED2B6618B59B34F770FBB92947B 272AE4378CB06BF3F658F51C77ACA2769BE87FB19BBF3D4D6B1B0ED226E39CC6

Title Update Download Link keyset

This HMAC key is for downloading game title updates. See link here for details.

Compiled GUI App: Vita Tools

Type Version HMAC
Title Update 1.00+ E5E278AA1EE34082A088279C83F9BBC806821C52F2AB5D2B4ABD995450355114

PFS Keys

Type Version ERK Usage
PFS EncKey 1.00+ 00298CDF4428E72C8785DAE0923C60BD
PFS Secret 1.00+ 8C5D3A4B9D9BF4B453BCE6CDC34331D8 Check HMAC at position 0x30 of file sealedkey, from the first 0x30 bytes of the file

RSA Rif Keys

Type Version Modulus Usage
0 and 1 1.00+
   9CCCE3A536FA641B2D1354EE98F093C2
   68470F722C024B86CD60274E08E0067A
   3CB0DBA3D33DB2ACE44AA070B10B612A
   C4546E51B5EDFA23F5ED507F23365F9A
   0A09C1807D43E6172225AEB81630AC59
   79C4A534460A41A6207E6B426F3DF8CA
   A0FBA7ED2B6A474C2AAB50A92DC743F2
   232228FAC48FED218A8190F0423AD00C
   595DCB410D18845DA90CCF2FDFD6B90E
   23074B52B57C4866B93DD6A7C7336D74
   D26D9E30D8A1B1C94459F34312AB0A46
   B1B281D22B38809352A487C00D60340F
   EAC1834BCF88DA25D980B37847087574
   27D40948493D2F5A8FEEB5B74B2961FF
   B4E7F3832207CE6481F07E88164E3208
   1801B68F8D141541CED6D7D966A08DCB