Keys

From Vita Developer wiki
Jump to navigation Jump to search


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.

PSP2 PKG Keys

These AES-CBC 128-bit keys are used in PKG file decryption.

// Used on PS Vita for Beta < 1.00 packages
private byte[] PSP2AesKey = new byte[16] {
  0x07, 0xF2, 0xC6, 0x82, 0x90, 0xB5, 0x0D, 0x2C, 0x33, 0x81, 0x8D, 0x70, 0x9B, 0x60, 0xE6, 0x2B
};

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 37FA4ED2B6618B59B34F77FBB92947B 06CC2E8FD40805A736F17CF2C13D58A6C8CF107E9E4A66AE25D39CA21C2531CC
index.dat 1.80+ 37FA4ED2B6618B59B34F77FBB92947B 272AE4378CB06BF3F658F51C77ACA2769BE87FB19BBF3D4D6B1B0ED226E39CC6