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> | |||
= Useful | == Useful 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 == | ||
Line 21: | Line 32: | ||
* priv file (private): %s-priv-%s | * priv file (private): %s-priv-%s | ||
= | == Screaming VITA Key == | ||
<pre> | <pre> | ||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | |||
</pre> | </pre> | ||
* master key that decrypts everything in vita | |||
* algo is cbc 128 | |||
* iv is random and located in bootrom | |||
* decrypts second_loader.enc and secure_kernel.enc located in package_0.pkg (must use a vita to decrypt and then fetch the result, bls2 is located in nand also but perconsole encrypted, so no way from there) | |||
== F00D keys == | == F00D keys == | ||
{| class="wikitable" style="font-size: 90%;" | {| class="wikitable" style="font-size: 90%;" | ||
! Module | ! Module !! Keyset (Internal, Prototype, External) !! Version !! Comments !! ERK !! RIV !! PUBLIC | ||
|- | |- | ||
| | | Update Packages PUP<br /> || Internal <br /> (System Debugger) || 0.940+ || n/a || <code>23F1D525244266E6DA7A52DA94463183 01EE8CC58D54901AE94D93010F7DEE6B</code> || <code>3721F7C05DE5F55ECC39BDDB4A6C585D</code> || <code>BD824E911F2F61AEC796A1B930D181A5 27B49C798F46945982603ED32FFE0AAA 3DBF62E85858589D81A92917F8CCF139 0E6537D83DFC56DCC17D81EBE5F7FCE8 AF002397F9EBF1867EB4A461ADF5E8AB FF2127CBA6467EAACC5E19ADBD1290BA 824E14D1443A438DFD19AD0A189C8F3C B641731DA5175D0F4D1804C0D74DF334 C1C9D53BB8DFE89258F70957E30DB72B 39404A68B8C547BCEC7A93E18E40BD1C CD3B3F4488F8E39C222E25CC37D40D0B 9AE63E86F9EDB26F1E24A05DB3AE683A 56FD5FD62FB530ED5F891B4E546A5B20 4CB4E9E478C89E849C33110B8C88A1FD 125E83D5CA1452248AF145F68150B122 FE308F579A450220875C4747A94952E1</code> | ||
< | |||
</ | |||
|- | |- | ||
| | | kernel_boot_loader<br /> || Internal <br /> (System Debugger) || 0.940+ || n/a || <code>9D3F28DE30DED1D503DB6FA762A571C4 22A88D0F361899EF36D357059C72EC43</code> || <code>30E43CFB57D418A5A0D32A9939D23501</code> || <code>C8195172CB70B06A29FAEF059251754B 87DEE210A6C35CBA5367D5965BAD4A43 06F7E5B1CB2B135CB240349CAB66B5F2 208F3FBBFB3B2D01E0059BF64C4DE894 F716F8AB18057F52ACE45940A7D67604 80B4E9E993E5010AFD5492028BBCA663 D3E59032AD52D0712CDF169274798323 52855F4688420157D02B28DB22E760CD 81DEAA802BE2D1E5A33FB51F6B3713E8 F524F34CFEAB50C5593366657C3C7090 7516B0227E93672FB4D5E3A3D64A0743 6B5A6CC514F2D76F3AC5BDF38DC08D6A 007336A88690EFF5BCA98DCB13B52E2B 713CBFECDA9825AAD6BBE41EE4BB1A5A AA052741E71586CBF5BAB7670F997B0D 23E43C08C6A1313E6A3E52A5E714D01B</code> | ||
< | |||
</ | |||
|- | |- | ||
| | | Secure Modules<br /> || Internal <br /> (System Debugger) || 0.940+ || n/a || <code>AED9D76EE1E29290002BFF32D4B0656E EE40FBDA4F8B55BE5BE0ED83530F27D2</code> || <code>DB50912F2416B54F7F36227169ECE500</code> || <code>D970E1ECEE27CBA9EACA424950D74C43 90022429265D38FD0AC1ADC2FDC9C569 F696A857F2E86D609F448611C1E2FFAB 2CEF575B92DF78182B2F0BBF3EFBA62F 5800B22EC649E2870E6B0829EC9BB4C9 04D24A99F269C960FA3E12314D8F08D5 124C671F7C92900DE0EF45CBB4415C2D 1AFE74A40633804A05D9A789916EDAB5 2A71B6DDCB0AE21B810C4FA69CE5AE59 0250747394F88E3A711A9A1D92E65857 383EB0F6D81D7ACD003EB2033B7029AE 44E500ED82179F3B1DC37EE89E2D6DF5 A5784339F714C1281392BADEC780F569 CB0D8AD41CF1568D7B7DFD96F975C07C F53615766E6ACB7C70C5125BFCD9E9ED 219BBCDC34BF4B420ECF4A62AA185D47</code> | ||
< | |||
</ | |||
|- | |- | ||
| | | prog rvk<br /> || Internal <br /> (System Debugger) || 0.940+ || n/a || <code>EAB14F9BE15EAEC1603BE63C9FCDE409 9D601FB0E9FC4DF250B8DEC635987A1C</code> || <code>30B9E61707993B635D0E182446DB0B8D</code> || <code>9C8F5072013F914C15408EDE85D37E4C 0B6CEA08AAA321680C0E11DD299D2A45 0671B8247E8405F58EC0DCB33E1BCD8D 40E790650149E6DD2C62FEBA196FE4FE AAD72E69CF22D217294F61E1A88FF33F 45255E853D0C2E1D206287ED76DB1C8C D75812DD7C36CFAC0A97F30F07F02ED3 E8A79A7780696EB4FD24829E0D7FD054 1FE4BF490415D9E0CC2116B703E2947E 5269B63941FF511C183E4D2A0818F931 988DF36EF8DC972EE2709336018C9ED5 B7ED68341FFB229E82C97E5CE900ACF3 E5EA2E86BFD32A4BD0D6DBE17713DA78 3626911CF92C05EA5AE879A3272134CF 35D567D5FBC159DEA20A1B0550A12F11 E9E54DAA84889CF10B72C59E7569DDC1</code> | ||
</ | |||
</ | |||
|- | |- | ||
| | | Applier/KPRX AUTH - kernel prx || Internal <br /> (System Debugger) || 0.940+ || n/a || <code>74F6D2A1D2A093AE32B83337E0AE4AD2 E6D93B034F5BF3B68DB77131883310D4</code> || <code>926AB55BDADC45DBB610E90E56A0368C</code> || <code>C2F385A70C3ABA5BEF408374C29CB022 DDB2B1E24C4F06174AA37EFC38AAEF4B D1813C86500B1BB8E7C6FD13FD3EE071 2BC384C43488F67D1239B088D34C7263 8612F7402B218E733D02939FEB3EF087 604F481BD17821258585FE52DFDC9047 98396F34DC69CBCA782D8A3BBEB1AB49 80DC0004435E77BDDDFEC9D6BB80FA06 5E0B5751416C23EFBEC40DFC42B05086 CC1CCE7AF7CFC2404DFCCE05F5BFD56F 3FEAA9738536AC356E0D028B4098C449 12E096CB3575D2900F06DB5DDED3B36B 6844F4860B9753BA9981ECB74EDB3828 476DED1BD9A9784D3B69C801688C3DE5 8325CA05160CD9C362BEF13740E0E5B9 2C14A62B925FCDA754B2B106BA42EF1D</code> | ||
</ | |||
|- | |- | ||
| | | Applier/KPRX AUTH - userland prx || Internal <br /> (System Debugger) || 0.940+ || n/a || <code>322D706CB6EBEA14DEF7BFE45F812971 347DC95CD7697C16A71EA4B2A1E12C0D</code> || <code>31FA2E606031EDF39665B5616E9F937D</code> || <code>ADF0C3B17044488306735EDC7A0B326F 3BAD99AF586B233958B82C921DDE3EC5 67B69DAB66FC674F7C4E99DD49679244 8F012C7136E68E21CFEFDA257D4D18EC A7040BB9972C5AB9B30BCEE77C3C9AAD 6CBB34B7A83766159B041DD02EBD4AEA CB491F1818E640FCB1C145A14993B92C 05D5207D6B9FEF460E621A48403438DD 25CAE7A8934001BC89EC98ADBB1436C3 1AC0D4EBB5592BB548AEF8A2585585BC 1B3F4625E35BE3B85930B7E36FAA38E4 B1B21D1960D66376FAB1CF6F0ECB3364 3BD5B4D8DF8323634F7B61AFBCF8928F C07893F10C1485C315961A76C25B49C2 D0EC8348F3F67405687270FCA1CC2B50 C0B8CF62DE5D852B61ADE9DEE8F17CB3</code> | ||
|- | |- | ||
| | | PUP watermark SCEWM (AES128-CBC on the whole block)|| Internal <br /> (System Debugger) || 0.940+ || n/a || <code>AB7097356FDD49D83878540167F0C4AD</code> || <code>85537C5A56BD15DF0EB5F7F0D9E276E6</code> || <code></code> | ||
|- | |- | ||
| | | Compat SM IPL XOR key || Internal <br /> (System Debugger) || 0.940+ || n/a || <code>8241A9C6421299C50EE399BA66327D73 1451D946F7325358B1AE297DF603911A 3A5B717506680D4B67EBD0F97D79C055 0674090D425A9541AA2B0F17985D5C21</code> || <code>n/a</code> || <code></code> | ||
|- | |- | ||
| | | Act_sm CMAC 1 || ALL <br /> (System Debugger/DEM/PDEL/PTEL) || 0.940+ || 2.10+ require an additional RSA signature as act.sig || <code>846D2DFD77D3C2E5F0E17EB18CC78692 8B881E2E17AE0CD8FDE88809D0D033C5</code> || <code>C8A040662B10A1986A1894E94FBEFCF0</code> || <code></code> | ||
|- | |- | ||
| | | Act_sm CMAC 2 || ALL <br /> (System Debugger/DEM/PDEL/PTEL) || 0.940+ || 2.10+ require an additional RSA signature as act.sig || <code>3D1EFB3CFED42A5F871213D4CF1E3B7A 65F927E23811B594215D616BE59DA4D8</code> || <code>D57E3699983302611632DE33B197A43C</code> || <code></code> | ||
< | |||
</ | |||
|} | |} | ||
== | == Content PKG Keys == | ||
These AES-CTR 128-bit keys are used in Content PKG file decryption. | |||
PSVita 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 sortable" | ||
! Type !! Version !! ERK | ! Type !! Version !! ERK | ||
|- | |- | ||
| PSP || 1.00+ || <code>07F2C68290B50D2C33818D709B60E62B</code> | | PSP / soonest PSVita || 1.00+ || <code>07F2C68290B50D2C33818D709B60E62B</code> | ||
|- | |- | ||
| | | PSVita || 1.00+ Type 2 || <code>E31A70C9CE1DD72BF3C0622963F2ECCB</code> | ||
|- | |- | ||
| | | ? || 1.00+ Type 3 || <code>423ACA3A2BD5649F9686ABAD6FD8801F</code> | ||
|- | |- | ||
| PSM || 1.00+ Type 4 || <code>AF07FD59652527BAF13389668B17D9EA</code> | | PSM || 1.00+ Type 4 || <code>AF07FD59652527BAF13389668B17D9EA</code> | ||
|} | |} | ||
== index.dat | == index.dat keysets == | ||
These AES-CBC 256-bit keys are used in <code>vs0:vsh/etc/[[index.dat]]</code> file decryption. | These AES-CBC 256-bit keys are used in <code>vs0:vsh/etc/[[index.dat]]</code> file decryption. | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
! Type !! Version !! | ! Type !! Version !! RIV || ERK | ||
|- | |- | ||
| index.dat || | | index.dat || 1.00-1.691 || <code>37FA4ED2B6618B59B34F770FBB92947B</code> | ||
|| <code>06CC2E8FD40805A736F17CF2C13D58A6C8CF107E9E4A66AE25D39CA21C2531CC</code> | || <code>06CC2E8FD40805A736F17CF2C13D58A6C8CF107E9E4A66AE25D39CA21C2531CC</code> | ||
|- | |- | ||
| index.dat || 1. | | index.dat || 1.80+ || <code>37FA4ED2B6618B59B34F770FBB92947B</code> || | ||
<code>272AE4378CB06BF3F658F51C77ACA2769BE87FB19BBF3D4D6B1B0ED226E39CC6</code> | <code>272AE4378CB06BF3F658F51C77ACA2769BE87FB19BBF3D4D6B1B0ED226E39CC6</code> | ||
|} | |} | ||
Line 3,271: | Line 105: | ||
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" | ||
Line 3,278: | Line 112: | ||
| Title Update || 1.00+ || <code>E5E278AA1EE34082A088279C83F9BBC806821C52F2AB5D2B4ABD995450355114</code> | | Title Update || 1.00+ || <code>E5E278AA1EE34082A088279C83F9BBC806821C52F2AB5D2B4ABD995450355114</code> | ||
|} | |} | ||
== PFS Keys == | == PFS Keys == | ||
Line 3,293: | Line 121: | ||
|- | |- | ||
| 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 | ||
|- | |||
|} | |} | ||
Line 3,305: | Line 134: | ||
|} | |} | ||
== | == 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 215: | ||
|| || Inside SceNpDrm | || || Inside SceNpDrm | ||
|} | |} | ||
* RSA Exponent is 65537 (0x10001) | * RSA Exponent is 65537 (0x10001) | ||
== 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 279: | ||
|} | |} | ||
* RSA | * RSA Exponent is 65537 (0x10001) | ||
== PSMDA "protected_kconsole_cache.dat" HMAC Key == | |||
B70x390x660x320x0E0x280x6A0xDC0x030xF00x540x650xCA0x9E0x2F0x920x380x8A0xEE0x230x6D0x430x880x310x350xBA0xB00xA50xBD0x500x430xEA | |||
== PSMDA "NSXVID-PSS.VT.WW-GLOBAL.xml" RSA Private == | |||
-----BEGIN PRIVATE KEY----- | |||
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T3wWd | |||
3AJ25l0BP3NGnbEtGwv6It+VnUULr964vOUv/bl4UMQs52JsnxURts+GPZ3gAF1S | |||
U2AVxvVej9sCgYBAk7Yhb99RTKjJRGhfqvbvpIeIkivI4CUaDx85KcrMHfydig0F | |||
UFXntj36j6W7YH8HX3v7qhM8pfuJNBzze7vtUT96I8hh5HOBJ0nwqQtUFtSrD/AX | |||
RZsOcv8K/coDGGHTvHtfXlFqfCJM85L6vcB7nokpGVFtqCFqdLQ+Ht9JAQKBgQCU | |||
Ao/0dCLs5xPrDE7ePk6FmVavxlui9Eh2XI7qQlSmxdIhfGLAEHIIdFlwZOq076Hk | |||
JCFwLfcA7vIklI1m6RVNYMiVlWxa+L2CD5HtOMbFumbCJyh2Z2gSZ18SnPme4x30 | |||
ga1DhRu9JcRBXodqueCqa0qIdgTYdbpsVkyU2gEGLQKBgGotuH/yrXNfifTc6Y24 | |||
TSaqk/Dq6OvQOEFSIzgOzaQhWvwZjlz3uOnmi3vUo/guG9q/J1JWucWoXNXkkcmb | |||
trc3RYwzy6Rn+0uGHGA91e2bn6vT6PLNOgNUE7YCRDJe5DsDYHtUNILNbRVdSvNs | |||
rnh1i22Y3zLWChh3swswqgf7 | |||
-----END PRIVATE KEY----- | |||
Used by the Playstation Mobile development assistant to sign the NSXVID-PSS.VT.WW-GLOBAL.xml file to prevent you from modifying it. | |||
== registry.db0 XOR Key == | == registry.db0 XOR Key == | ||
Line 3,470: | Line 324: | ||
<pre>BEBAFECA (or CAFEBABE byteswapped)</pre> | <pre>BEBAFECA (or CAFEBABE byteswapped)</pre> | ||
== | == PSP/PSP2/PS3 NID Suffixes == | ||
=== PS3 | === PS3 noname exports === | ||
<pre> | <pre>bc5eba9e042504905b64274994d9c41f</pre> | ||
* | * algo is sha1(name + 0xsuffix) where name+suffix is all ascii | ||
=== | === PSVITA noname exports === | ||
<pre>c1b886af5c31846467e7ba5e2cffd64a</pre> | <pre>c1b886af5c31846467e7ba5e2cffd64a</pre> | ||
* | * algo is sha1(name + suffix) where name + suffix is hex | ||