Editing Keys
Jump to navigation
Jump to search
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 1: | Line 1: | ||
[[Category:Software]] | [[Category:Software]]<noinclude>[[Category:Main]]</noinclude> | ||
<noinclude> | |||
[[Category:Main]] | |||
</noinclude> | |||
= | == Usefull information == | ||
PSVita uses F00D and KIRK for high security of keys. | |||
F00D keys have not be shared publicly yet but have certainly been found by a F00D hack. | |||
KIRK have been hacked on PSP and almost fully reversed in 2008. | |||
The KIRK keys are mainly the same than on PSP but some have been changed past 3.60 (before 3.67). | |||
KIRK10 (used in IDStorage) explanation: [http://www.lolhax.org/2011/07/06/kirk-0x10-private-key/] | |||
Save Data Source: [http://pastebin.com/RFDXKCAf] | |||
Kirk Engine source (there exists other version of kirk-engine): [https://github.com/tpunix/kirk_engine/blob/master/kirk/kirk_engine.c] | |||
== Location == | == Location == | ||
keyfiles should be placed in ~/.vita or %userprofile%\vitakeys <br /> | |||
== Naming | == Naming == | ||
naming: | naming: | ||
Line 21: | Line 32: | ||
* priv file (private): %s-priv-%s | * priv file (private): %s-priv-%s | ||
= | == 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. | |||
{| class="wikitable sortable" | |||
{| class="wikitable" | |||
|- | |- | ||
! Type !! Version !! ERK | |||
|- | |- | ||
| | | PSP || 1.00+ || <code>07F2C68290B50D2C33818D709B60E62B</code> | ||
|- | |- | ||
| | | Vita || 1.00+ Type 2 || <code>E31A70C9CE1DD72BF3C0622963F2ECCB</code> | ||
|- | |- | ||
| | | Vita || 1.00+ Type 3 || <code>423ACA3A2BD5649F9686ABAD6FD8801F</code> | ||
|- | |- | ||
| | | Vita || 1.00+ Type 4 || <code>AF07FD59652527BAF13389668B17D9EA</code> | ||
|- | |- | ||
|} | |} | ||
* Type 4 is (exclusively?) for PSM packages | |||
== index.dat keysets == | |||
These AES-CBC 256-bit keys are used in [[index.dat]] file decryption. | |||
== | |||
These | |||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
! Type !! Version !! RIV || ERK | |||
|- | |- | ||
| | | index.dat || 1.00-1.691 || <code>37FA4ED2B6618B59B34F770FBB92947B</code> || <code>06CC2E8FD40805A736F17CF2C13D58A6C8CF107E9E4A66AE25D39CA21C2531CC</code> | ||
| | |||
|- | |- | ||
| index.dat || | | index.dat || 1.80+ || <code>37FA4ED2B6618B59B34F770FBB92947B</code> || <code>272AE4378CB06BF3F658F51C77ACA2769BE87FB19BBF3D4D6B1B0ED226E39CC6</code> | ||
|| <code> | |||
|- | |- | ||
|} | |} | ||
== Title Update Download Link keyset == | == Title Update Download Link keyset == | ||
This HMAC key is for downloading game title updates. See link [http://wololo.net/talk/viewtopic.php?f=54&t=44091 here] for details. | This HMAC key is for downloading game title updates. See link [http://wololo.net/talk/viewtopic.php?f=54&t=44091 here] for details. | ||
Compiled GUI App: [http://www. | Compiled GUI App: [http://www.vitadevwiki.com/index.php?title=Tools#Vita_Title_Update_HMAC_Tool Vita Tools] | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |||
! Type !! Version !! HMAC | ! Type !! Version !! HMAC | ||
|- | |- | ||
| Title Update || 1.00+ || <code>E5E278AA1EE34082A088279C83F9BBC806821C52F2AB5D2B4ABD995450355114</code> | | Title Update || 1.00+ || <code>E5E278AA1EE34082A088279C83F9BBC806821C52F2AB5D2B4ABD995450355114</code> | ||
|- | |||
|} | |} | ||
== PFS Keys == | == PFS Keys == | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |||
! Type !! Version !! ERK !! Usage | ! Type !! Version !! ERK !! Usage | ||
|- | |- | ||
Line 3,293: | Line 86: | ||
|- | |- | ||
| 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 | ||
|- | |- | ||
| Keystone HMAC Key || 1.00+ || <code>310C2F2D70A62226F4582B4FF03E24196EEF01EF73A8981F2504BD50549A478F</code> || | | Keystone HMAC Key || 1.00+ || <code>310C2F2D70A62226F4582B4FF03E24196EEF01EF73A8981F2504BD50549A478F</code> || | ||
|- | |- | ||
| Passcode HMAC Key || 1.00+ || <code>543E368DF6629D682CD5A43644B1B2D733F0F2964DCD2CE8E9CB95D76C9DD928</code> || | | Passcode HMAC Key || 1.00+ || <code>543E368DF6629D682CD5A43644B1B2D733F0F2964DCD2CE8E9CB95D76C9DD928</code> || | ||
|- | |||
|} | |} | ||
== | == RSA Rif Keys == | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |||
! Type !! Version !! Modulus !! Usage || Notes | ! Type !! Version !! Modulus !! Usage || Notes | ||
|- | |- | ||
| 0 and 1 || 1.00+ || | | 0 and 1 || 1.00+ || | ||
9CCCE3A536FA641B2D1354EE98F093C2 | 9CCCE3A536FA641B2D1354EE98F093C2 | ||
68470F722C024B86CD60274E08E0067A | 68470F722C024B86CD60274E08E0067A | ||
Line 3,392: | Line 175: | ||
|| || Inside SceNpDrm | || || Inside SceNpDrm | ||
|} | |} | ||
* RSA Exponent is 0x10001 | |||
* RSA Exponent is | |||
== RSA PKG Keys == | == RSA PKG Keys == | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |||
! Type !! Version !! Modulus !! Usage || Notes | ! Type !! Version !! Modulus !! Usage || Notes | ||
|- | |- | ||
| PSP || 1.00+ || | | PSP || 1.00+ || | ||
BBDB6AA32E3B51A6D4708D5FC9899919 | BBDB6AA32E3B51A6D4708D5FC9899919 | ||
395A2AAD83E98F4864C3BA43A5D6906F | 395A2AAD83E98F4864C3BA43A5D6906F | ||
Line 3,458: | Line 240: | ||
|} | |} | ||
* | * Exponent is 65537 | ||
== Registry.db0 XOR Key == | |||
89FA9548CB6D779DA22534FDA935596E | |||