Editing Talk: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 1: Line 1:
= OpenSSL usage =
= Database Reconstruction Magic =
<pre>
BEBAFECA (or CAFEBABE byteswapped)
</pre>


== PFS HMAC Usage (Vitashell Example) ==
= PSP/PSP2/PS3 NID Suffixes =
 
== PS3 noname exports ==
 
<pre>
bc5eba9e042504905b64274994d9c41f
</pre>
 
* algo is sha1 (name+0xsuffix) where name+suffix is all ascii
 
== PSVITA noname exports ==
 
<pre>
c1b886af5c31846467e7ba5e2cffd64a
</pre>
 
* algo is sha1(name + suffix) where name + suffix is hex
 
= PFS HMAC Usage (Vitashell Example) =


* input : <code> echo -n '706673534b4b657902000000000000008cf037f28ea485a53610a0e2b0c57c4d704bfdae23f27bdb82be52bbcee7220f' | xxd -r -p | openssl dgst -sha256 -mac hmac -macopt hexkey:8c5d3a4b9d9bf4b453bce6cdc34331d8 </code>
* input : <code> echo -n '706673534b4b657902000000000000008cf037f28ea485a53610a0e2b0c57c4d704bfdae23f27bdb82be52bbcee7220f' | xxd -r -p | openssl dgst -sha256 -mac hmac -macopt hexkey:8c5d3a4b9d9bf4b453bce6cdc34331d8 </code>
Line 7: Line 28:
* output : <code> dad6825c22e67e45ed29ea8d16d32b6bc16d513210007df4cb23e723e4494bca </code>
* output : <code> dad6825c22e67e45ed29ea8d16d32b6bc16d513210007df4cb23e723e4494bca </code>


== PFS CBC Usage (Vitashell Example) ==
= PFS CBC Usage (Vitashell Example) =


* input : <code> openssl aes-128-cbc -d -in encrypted_key.bin -out key.bin -nosalt -K 00298CDF4428E72C8785DAE0923C60BD -iv 8CF037F28EA485A53610A0E2B0C57C4D -p -nopad </code>
* input : <code> openssl aes-128-cbc -d -in encrypted_key.bin -out key.bin -nosalt -K 00298CDF4428E72C8785DAE0923C60BD -iv 8CF037F28EA485A53610A0E2B0C57C4D -p -nopad </code>
Line 14: Line 35:


= Portability Keysets =
= Portability Keysets =
To do: verify all these keys (most can be found in SceShell), and add the master keys (from encdec_w_portability_sm).


== Enc Key 0 (SceShell) ==
== Enc Key 0 (SceShell) ==
Line 54: Line 73:


* <code> CD5BD9489D49E31E0D3F5989590BBEF4 </code>
* <code> CD5BD9489D49E31E0D3F5989590BBEF4 </code>
== Keyset 10 (SceShell) ==
* <code> 6F6A3466697168657379752B51346453 </code>
* also read as <code>ASCII: oj4fiqhesyu+Q4dS </code>
== Keyset 11 (SceShell) ==
* <code>716D616B656C7A637A39696A6772654470666A7964297265736C396F6C624E64</code>
* also read as <code>ASCII: qmakelzcz9ijgreDpfjyd)resl9olbNd </code>
== Keyset 12 (SceShell) ==
* <code>616675746579712D426D687A6D676738793648616C75666574676661756D6661</code>
* also read as <code>ASCII: afuteyq-Bmhzmgg8y6Halufetgfaumfa</code>
== Keyset 13 (PostSsMgr) (Internal) ==
* <code>985AB256F18C336A8CDE05F1FF08D73615A5710F62CA4DA9B4671F2CABAE4720</code>
== Keyset 14 (PostSsMgr) (External) ==
* <code>706673534B4B65795F5F456E634B657900298CDF4428E72C8785DAE0923C60BD</code>
* ASCII: <code>pfsSKKey__EncKey</code> followed by the key
== Keyset 15 (PostSsMgr) (External) ==
* <code> 706673534B4B65795F5F5365637265748C5D3A4B9D9BF4B453BCE6CDC34331D8 </code>
* ASCII: <code> pfsSKKey__Secret </code> followed by the key
== Keyset 16 (PostSsMgr) (Internal) ==
* <code> 1A2F5EBC915D58983884751FB8193A8450F2FA50FA11A80298BFC32664BE37FE </code>
Please note that all contributions to Vita Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see Vita 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)