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 Information = | = Useful Information = | ||
Line 22: | Line 19: | ||
= Per-console keys = | = Per-console keys = | ||
== Cmep Keyring 0x600 - Visible ID (Test Subject 9 PS Vita) == | == Cmep Keyring 0x600 - Visible ID (Test Subject 9 PS Vita) == | ||
Line 32: | Line 27: | ||
</pre> | </pre> | ||
See [https://wiki.henkaku.xyz/vita/VisibleId]. | |||
== Cmep Keyring 0x601 - | == Cmep Keyring 0x601 - SceIdStorageSeedValue first half (Test Subject 9 PS Vita) == | ||
* Contains the first half (0x20 bytes) of | * Contains the first half (0x20 bytes) of SceIdStorageSeedValue. | ||
* Warning: the dump presented here is byte-swapped. | * Warning: the dump presented here is byte-swapped. | ||
<pre> | <pre> | ||
B9 18 4E 22 83 8B 91 6D 19 86 72 D5 FB 10 FD A3 | B9 18 4E 22 83 8B 91 6D 19 86 72 D5 FB 10 FD A3 mesh1 | ||
4A 4E 72 CB 02 6E 96 E9 96 B2 C3 23 B9 CF 36 A4 | 4A 4E 72 CB 02 6E 96 E9 96 B2 C3 23 B9 CF 36 A4 mesh0 | ||
</pre> | </pre> | ||
== Cmep Keyring 0x602 - | == Cmep Keyring 0x602 - SceIdStorageSeedValue second half (Test Subject 9 PS Vita) == | ||
* Contains the second half (0x20 bytes) of | * Contains the second half (0x20 bytes) of SceIdStorageSeedValue. | ||
* Warning: the dump presented here is byte-swapped. | * Warning: the dump presented here is byte-swapped. | ||
<pre> | <pre> | ||
85 4B 14 AB 00 00 00 00 00 45 72 AC 01 01 08 10 | 85 4B 14 AB 00 00 00 00 00 45 72 AC 01 01 08 10 mesh3 (8 bytes) fuse_id (8 bytes) | ||
FF 9A 3E E5 A2 B9 F5 25 32 4D E0 2A 8F B1 8F B9 | FF 9A 3E E5 A2 B9 F5 25 32 4D E0 2A 8F B1 8F B9 mesh2 | ||
</pre> | </pre> | ||
== | == Usage == | ||
To generate individual seeds, AES128ECB encrypt and decrypt with constant key ids_master_key (also named idskey0, kirk16key), data: ss->buf (derived from Fuse ID) and mesh data. See [https://www.psdevwiki.com/psp/Kirk]. | |||
<source lang="C"> | |||
< | typedef struct SceIdStorageSeedValue { // size is 0x40 | ||
SceUInt8 aes128cbc_mac_key[0x10]; // used by Kirk command 18 | |||
SceUInt8 aes128cbc_key[0x10]; // used by Kirk command 16 | |||
SceUInt8 derivation_key[0x10]; // used to derive the 2 other keys | |||
SceUInt8 fuse_id[8]; // endianness to precise | |||
</ | SceUInt32 padding; // usually set to zero | ||
SceUInt32 hash; // the hash algorithm is in flashData.prx | |||
} SceIdStorageSeedValue; | |||
</source> | |||
= SUPER KEYS (Dumped by SDBoot glitching) = | = SUPER KEYS (Dumped by SDBoot glitching) = | ||
Line 911: | Line 911: | ||
* Used with other possible keys besides AA key (5 possibilities) | * Used with other possible keys besides AA key (5 possibilities) | ||
* Never seen used | * Never seen used | ||
== Second Loader == | == Second Loader == | ||
Line 942: | Line 944: | ||
1C7FD39E8D63AA32D386413EE6A01C15C4876BF614CA954E36C1602DD7871C4F KEY | 1C7FD39E8D63AA32D386413EE6A01C15C4876BF614CA954E36C1602DD7871C4F KEY | ||
051DFE9D9BEA8087F66EB8F631010D88 IV | 051DFE9D9BEA8087F66EB8F631010D88 IV | ||
</pre> | |||
=== Unknown GCAUTHMGR Key and IV === | |||
<pre> | |||
821C5714415E9804D6AAE324EB3DDDFE7BB73E8EC0F9E04D3D6D60BCD0CF4EE9 | |||
</pre> | |||
<pre> | |||
CEC36FCD7DB3102A80E9C2AA65734FC1 | |||
</pre> | </pre> | ||
Line 967: | Line 978: | ||
=== SMI (Slot 0x213) === | === SMI (Slot 0x213) === | ||
<pre> | <pre> | ||
310D20077AF3BF121F21D9ADAF389CDA IV First Derivation SMI | 310D20077AF3BF121F21D9ADAF389CDA IV First Derivation SMI | ||
Line 1,002: | Line 1,011: | ||
AC78EE86799148699B9CB3F5C6CAB73A6AC45EB11F44E9151232CF8F123C7D88 | AC78EE86799148699B9CB3F5C6CAB73A6AC45EB11F44E9151232CF8F123C7D88 | ||
</pre> | </pre> | ||
== AIMGR == | == AIMGR == | ||
Line 2,110: | Line 2,067: | ||
==== "NSXVID-PSS.VT.WW-GLOBAL.xml" RSA Private ==== | ==== "NSXVID-PSS.VT.WW-GLOBAL.xml" RSA Private ==== | ||
-----BEGIN PRIVATE KEY----- | -----BEGIN PRIVATE KEY----- | ||
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCxl+8fRzDzyWb0 | MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCxl+8fRzDzyWb0 | ||
Line 2,139: | Line 2,096: | ||
rnh1i22Y3zLWChh3swswqgf7 | rnh1i22Y3zLWChh3swswqgf7 | ||
-----END PRIVATE KEY----- | -----END PRIVATE KEY----- | ||
* Used by the PSM Dev Assistant to sign the NSXVID-PSS.VT.WW-GLOBAL.xml file to prevent from modification. | * Used by the PSM Dev Assistant to sign the NSXVID-PSS.VT.WW-GLOBAL.xml file to prevent from modification. | ||
Line 2,200: | Line 2,156: | ||
00000000000000000000000000000000 | 00000000000000000000000000000000 | ||
==== SCE_PSM_HEADER_SIGNATURE_PUB_KEY ==== | |||
3082010A0282010100A98F6B27F5AFF0F96C7411A337DFCF723C37BEF6FF6552B | |||
8E5A3EEE3672CF0366EA0442B7913018C7355C0F2336DE496DCADE8BF5A32D1DB | |||
25705D5A9A11C06FFF6801776BFF871FDDDC4EA4CAF49886E02D4835B3DCC9674 | |||
457E4E66744CB997155271C211E2FAE0ECEA5FABD91719766C488860072E81CCC | |||
7B5DFEA0907D25E60CCB28500D3FDC9CC244DBBAED7A41FDA571C27D87E92B17E | |||
34B0289329EB0FEFED4682F1679D89FF00D2A78F78B8A05A9B4D7306E992AAE7B | |||
7A0E9ADDF4F4BC286E1E52A80AB2DF31012B18B996670446F07AF2307A7FFCBC4 | |||
5ADB3B815B659536A7AADA813FD303156C792E28157001DC7BB9AF93A59A607E4 | |||
F2EE34F88702030100010000 | |||
==== SCE_PSM_WHOLE_SIGNATURE_PUB_KEY ==== | |||
3082010A0282010100D452C18752BDE6289ACEB862AD32145322C13EEC82F5675 | |||
E9DA96B51CCAA68488F2B5E09E1C1DEFE7A27ECB5EACF473A9D15171F43EE32DA | |||
03E7BA07182B408540C37CD8AA357F4DCD12295AD3901D6A0D6D41665BA7084B1 | |||
A98DFE15A1F0B3A2A4B4D0A00A1CD8BA5B09E80BC4E2C588357C0F2E285C05055 | |||
6DC971A43FEA4C056CF2DFD8BB2EE975F67F76878E1FB01E7A23F87FD5732864D | |||
D62B2C3FFD4BCF184923A3706819467723AA508FC53E80F6E5A57CF3E7B1BB0A3 | |||
988037656CBB2FC70BDF344B5683E4943D08C609D44DFDAE90C5300C5CDE7C2D8 | |||
9035B20FC189F9DBC34BEB6478D6B32183FB886133B04C1962EEEDA7FFD47DB80 | |||
655F4CDE0F02030100010000 | |||
==== internalKey (KeyStore) ==== | ==== internalKey (KeyStore) ==== | ||
Line 2,218: | Line 2,198: | ||
=== PSSE (PlayStation Suite Encryption) === | === PSSE (PlayStation Suite Encryption) === | ||
PSSE is the encryption of PSM application files, | PSSE is the encryption of PSM application files, | ||
the whole game is encrypted and | the whole game is encrypted and it server a similar function as PFS for the PSVita. | ||
==== Header IV ==== | |||
000102030405060708090A0B0C0D0E0F | 000102030405060708090A0B0C0D0E0F | ||
==== Header Key ==== | |||
4E298B40F531F469D21F75B133C307BE | 4E298B40F531F469D21F75B133C307BE | ||
==== App Key ==== | |||
For decrypting PSSE files with IP9100-NPXS10074_00-0000000000000000 as content id | For decrypting PSSE files with IP9100-NPXS10074_00-0000000000000000 as content id | ||
A8693C4DF0AEEDBC9ABFD8213692912D | A8693C4DF0AEEDBC9ABFD8213692912D | ||
==== Debug Header Key ==== | |||
When you encrypt files locally for use in PSM Dev Assistant, using PSM SDK's "psm_encryptor64.dll" | When you encrypt files locally for use in PSM Dev Assistant, using PSM SDK's "psm_encryptor64.dll" | ||
the following header key is used INSTEAD of the retail one. | the following header key is used INSTEAD of the retail one. | ||
Line 3,392: | Line 3,273: | ||
! 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,476: | Line 3,357: | ||
! Type !! Version !! Modulus !! Usage || Notes | ! Type !! Version !! Modulus !! Usage || Notes | ||
|- | |- | ||
| PSP || 1.00+ || | | PSP || 1.00+ || | ||
BBDB6AA32E3B51A6D4708D5FC9899919 | BBDB6AA32E3B51A6D4708D5FC9899919 | ||
395A2AAD83E98F4864C3BA43A5D6906F | 395A2AAD83E98F4864C3BA43A5D6906F | ||
Line 3,548: | Line 3,429: | ||
== NID generation suffixes == | == NID generation suffixes == | ||
* | * algo is sha1(name + suffix) | ||
=== No suffix === | === No suffix === | ||
Line 3,554: | Line 3,435: | ||
For some PSP and PS Vita old NIDs, there was no suffix at all: algo was simply sha1(name). | For some PSP and PS Vita old NIDs, there was no suffix at all: algo was simply sha1(name). | ||
=== PS3 NONAME suffix === | === PS3 NONAME default suffix === | ||
<pre> | <pre>bc5eba9e042504905b64274994d9c41f</pre> | ||
To check how to use this suffix (see: [https://www.psdevwiki.com/ps3/Keys#PS3_NONAME_NIDs_Salt]). | |||
=== PS3 default suffix === | === PS3 default suffix === | ||
Line 3,564: | Line 3,445: | ||
<pre>6759659904250490566427499489741A</pre> | <pre>6759659904250490566427499489741A</pre> | ||
=== PS Vita NONAME default suffix === | |||
=== PS Vita NONAME suffix === | |||
<pre>c1b886af5c31846467e7ba5e2cffd64a</pre> | <pre>c1b886af5c31846467e7ba5e2cffd64a</pre> | ||
== SceKrm == | == SceKrm == |