Editing Keys

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 406: Line 406:


* Location: vshmain.sprx / vsh.self
* Location: vshmain.sprx / vsh.self
* Warning: this is for index.dat format, not EDAT/SDAT nor DOCUMENT.DAT format.
Warning: this is for index.dat format, not EDAT/SDAT nor DOCUMENT.DAT format.


== PS3 Minis ISO.BIN.EDAT ==
== PS3 Minis ISO.BIN.EDAT ==
Line 2,922: Line 2,922:
Algorithm:
Algorithm:


1) Get AES-CMAC Key: (NPD Header Hash AES-CMAC key = npd_header_hash_xor_key XOR devklic). Warning: devklic is an hardcoded klicensee that is not necessarily the klicensee when DRM Type is not Free.
1) Get AES-CMAC Key: (NPD Header Hash AES-CMAC key = npd_header_hash_xor_key XOR klicensee).
2) Compute AES-CMAC on first 0x60 bytes of NPD Header.
2) Compute AES-CMAC on first 0x60 bytes of NPD Header.


Line 3,003: Line 3,003:


Temp name was ps3_klic_free_key, npdrm-omac1-key-1, but it is not even an AES-CMAC key, just a licensee key.
Temp name was ps3_klic_free_key, npdrm-omac1-key-1, but it is not even an AES-CMAC key, just a licensee key.
It is maybe a dev klicensee, i.e. xored AES CMAC key used for [[NPD]] header verification.


  klic_ps3_free: 72F990788F9CFF745725F08E4C128387
  klic_ps3_free: 72F990788F9CFF745725F08E4C128387


==== PSP dev klicensee ====
==== PSP klicensee ====


Used as dev klicensee for PSP ISO.BIN.EDAT and for Minis ISO.BIN.EDAT.
Used as klicensee for PSP ISO.BIN.EDAT and for Minis ISO.BIN.EDAT.


  devklic_psp: 2A6AFBCF43D1579F7D738741A13BD42E
  klic_psp: 2A6AFBCF43D1579F7D738741A13BD42E


* Location: ?PS3 psp_emulator.self?
Location: ?PS3 psp_emulator.self?


==== PS1 dev klicensee ====
==== PS1 klicensee ====


Used as dev klicensee for PS1 ISO.BIN.EDAT.
Used as klicensee for PS1 ISO.BIN.EDAT.


  devklic_ps1: 52C0B5CA76D6134BB45FC66CA637F2C1
  klic_ps1: 52C0B5CA76D6134BB45FC66CA637F2C1


* Location: PS3 ps1_netemu.self
* Location: PS3 ps1_netemu.self


==== PSP Remasters dev klicensee ====
==== PSP Remasters klicensee ====


  devklic_pe: 0DB85732366CD734FC879E743343BB4F
  klic_pe: 0DB85732366CD734FC879E743343BB4F


* Location: PS3 psp_emulator.self
* Location: PS3 psp_emulator.self
Line 3,379: Line 3,377:
* Named idskey0 in Despertar Del Cementerio source code.
* Named idskey0 in Despertar Del Cementerio source code.


=== PSP DOCUMENT.DAT Keys ===
=== DOCUMENT.DAT ===
 
hmac key psp: 4D1B6B1269DDD22FAAE1F54207E798B5
hmac key ps3: EF690EC0E0BFA41F08455BD038EB8762
des key: DA3923EF9C61B930
des iv: 2DEE8950969112D9
 
* Location: PEmuCoreLib.sprx(ps3) / vshmain.prx(psp)
* It was believed to be a 3DES key but appears to be simple DES along with a HMAC key (There are 2 hmac keys, and 2 different hashes for same data. Psp is used first hash, ps3 - second one).
 
=== PS1 DOCUMENT.DAT Keys ===


  des key: 39F7EFA16CCE5F4C
  des key: 39F7EFA16CCE5F4C
Line 3,396: Line 3,384:
* Location: ps1_netemu.self
* Location: ps1_netemu.self


=== CHNNLSV SaveData Keys ===
=== CHNNLSV SaveData keys ===


  sdHashKey1 = 40E6533F05113A4EA14BDAD6727C534C
  sdHashKey1 = 40E6533F05113A4EA14BDAD6727C534C
Line 3,413: Line 3,401:
  amHashKey4 = 135FA47CAB395BA476B8CCA98F3A0445
  amHashKey4 = 135FA47CAB395BA476B8CCA98F3A0445
  amHashKey5 = 678D7FA32A9CA0D1508AD8385E4B017E
  amHashKey5 = 678D7FA32A9CA0D1508AD8385E4B017E
== PEmuCoreLib Key (3DES) ==
erk: EF690EC0E0BFA41F08455BD038EB8762DA3923EF9C61B930
riv: 2DEE8950969112D9


== Idpstealer Key? ==
== Idpstealer Key? ==
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)