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 3,316: | 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,400: | 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,472: | Line 3,429: | ||
== NID generation suffixes == | == NID generation suffixes == | ||
* | * algo is sha1(name + suffix) | ||
=== No suffix === | === No suffix === | ||
Line 3,478: | 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,488: | 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 == |