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 2,886: Line 2,886:


= EMC Keys =
= EMC Keys =
See also [https://github.com/TeamFAPS/PS4-RE-tools/tree/master/ps4-emc-ipl-eap-kbl-tool PS4 EMC IPL and EAP KBL Tool] for usage.


== EMC Fuse Key for Aeolia ==
== EMC Fuse Key for Aeolia ==
Line 2,938: Line 2,936:


= EAP Keys =
= EAP Keys =
See also [https://github.com/TeamFAPS/PS4-RE-tools/tree/master/ps4-emc-ipl-eap-kbl-tool PS4 EMC IPL and EAP KBL Tool] for usage.


== EAP KBL Cipher Key for Aeolia ==
== EAP KBL Cipher Key for Aeolia ==
Line 2,960: Line 2,956:
* It hashes the header (size 0x6C) of EAP KBL.
* It hashes the header (size 0x6C) of EAP KBL.


= EMC/EAP/Kernel shared keys =
== EMC/EAP/KERNEL shared keys ==


== portability_seed_key ==
=== portability_seed_key ===


<pre>
<pre>
Line 2,968: Line 2,964:
</pre>
</pre>


== portability_seed ==
=== portability_seed ===


<pre>
<pre>
Line 2,974: Line 2,970:
</pre>
</pre>


== eap_hdd_key_blob_key1_seed ==
=== eap_hdd_key_blob_key1_seed ===


<pre>
<pre>
Line 2,981: Line 2,977:
</pre>
</pre>


== eap_hdd_key_blob_key2_seed ==
=== eap_hdd_key_blob_key2_seed ===


<pre>
<pre>
Line 2,988: Line 2,984:
</pre>
</pre>


== use_new_blob = Y ==
=== use_new_blob = Y ===


* Encryption Key:
* Encryption Key:
Line 3,013: Line 3,009:
</pre>
</pre>


== use_new_blob = N ==
=== use_new_blob = N ===


* Encryption Key:
* Encryption Key:
Line 3,038: Line 3,034:
</pre>
</pre>


== EAP_HDD_KEY_BLOB ==
=== EAP_HDD_KEY_BLOB ===


<pre>
<pre>
Line 3,051: Line 3,047:
</pre>
</pre>


== PS4-PS5 USB Extended Storage Key ==
=== PS4-PS5 USB Extended Storage Key ===


Used for USB Extended Storage encryption that was introduced in PS4 System Software 4.50.
Used for USB Extended Storage encryption that was introduced in PS4 System Software 4.50.
Line 3,065: Line 3,061:
</pre>
</pre>


Usage (to be rewritten in a more understandable way):
# Step 1: Decrypt the 64 first bytes of sector 0 of the storage with AES-XTS-128 using Data and Tweak.
# Step 1: Decrypt the 64 first bytes of sector 0 of the storage with AES-XTS-128 using Data and Tweak.
# Step 2: Compute HMAC-SHA256 of decrypted 0x20 bytes from offset 0x20 with Tweak and Data, appended together in this order, as key.
# Step 2: Compute HMAC-SHA256 of decrypted 0x20 bytes from offset 0x20 with Tweak+Data appended together as key.
# Step 3: In the resulting digest, swap 16 first bytes with 16 last bytes. This forms the final key: new Data key followed by new Tweak key.
# Step 3: In the resulting digest, swap 16 first bytes with 16 last bytes. This forms the final key: new Data key followed by new Tweak key.
# Step 4: Use the final keys with AES-XTS-128 to fully decrypt the PS4-PS5 USB Extended Storage.
# Step 4: Use the final keys with AES-XTS-128 to fully decrypt the PS4-PS5 USB Extended Storage.
* Source: https://pastebin.com/WfE50xw0


= Syscon Keys =
= Syscon Keys =
Line 3,256: Line 3,250:


= SceShellCore Keys =
= SceShellCore Keys =
=== param.sfo OpenPSID HMAC-SHA256 Key ===
<pre>
13D1DF0675C9FD950A17E564C2777F2C
</pre>
* In [[Save Data]], a digest of the OpenPSID of the PS4 must be present in the [[Param.sfo#PARAMS|PARAMS]] field of the [[Param.sfo#PARAMS|param.sfo]] file.
* This hash makes the savedata per-console. When the savedata is imported to another PS4/PS5, the hash has to be recomputed and overwritten by the new PS4/PS5 or manually before import.


=== Trophy Key ===
=== Trophy Key ===
Please note that all contributions to PS4 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS4 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)

Template used on this page: