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/ARM NID Suffixes =


* input : <code> echo -n '706673534b4b657902000000000000008cf037f28ea485a53610a0e2b0c57c4d704bfdae23f27bdb82be52bbcee7220f' | xxd -r -p | openssl dgst -sha256 -mac hmac -macopt hexkey:8c5d3a4b9d9bf4b453bce6cdc34331d8 </code>
== PS3 noname exports ==


* output : <code> dad6825c22e67e45ed29ea8d16d32b6bc16d513210007df4cb23e723e4494bca </code>
<pre>
bc5eba9e042504905b64274994d9c41f
</pre>


== PFS CBC Usage (Vitashell Example) ==
* algo is sha1 (name+0xsuffix) where name+suffix is all ascii


* input : <code> openssl aes-128-cbc -d -in encrypted_key.bin -out key.bin -nosalt -K 00298CDF4428E72C8785DAE0923C60BD -iv 8CF037F28EA485A53610A0E2B0C57C4D -p -nopad </code>
== PSVITA _M (module?) exports ==


* output : <code> 42B015D142B0F35F8251607A0AE87A0F </code>
<pre>
c1b886af5c31846467e7ba5e2cffd64a
</pre>


= Portability Keysets =
* algo is sha1(name + suffix) where name + suffix is hex


To do: verify all these keys (most can be found in SceShell), and add the master keys (from encdec_w_portability_sm).
= PFS HMAC Usage (Vitashell Example) =


== Enc Key 0 (SceShell) ==
* input : <code> echo -n '706673534b4b657902000000000000008cf037f28ea485a53610a0e2b0c57c4d704bfdae23f27bdb82be52bbcee7220f' | xxd -r -p | openssl dgst -sha256 -mac hmac -macopt hexkey:8c5d3a4b9d9bf4b453bce6cdc34331d8 </code>


* <code> 6AA3C1F8641C9142822BBC7A74CC9241A18CD5B1B9A4B89E472F21EBAA254072 </code>
* output : <code> dad6825c22e67e45ed29ea8d16d32b6bc16d513210007df4cb23e723e4494bca </code>


== Dec Key 0 (SceShell) ==
= PFS CBC Usage (Vitashell Example) =


* <code> 454250564C34350A8C3AA565A6DD8F41F61F794D65B870D0D07A58D8420FC9EA </code>
* input : <code> openssl aes-128-cbc -d -in encrypted_key.bin -out key.bin -nosalt -K 00298CDF4428E72C8785DAE0923C60BD -iv 8CF037F28EA485A53610A0E2B0C57C4D -p -nopad </code>
* Starts With EBP Magic!


== Keyset 3 (SceShell) ==
* output : <code> 42B015D142B0F35F8251607A0AE87A0F </code>
 
* <code> A9138DADE0F2C77DB24BF111ED8D16B9 </code>
 
== Keyset 4 (SceShell) ==
 
* <code> 65848998426DD3E96636616436313035 </code>
 
== Keyset 5 (SceShell) ==
 
* <code> 6DBA79D496009D32D47D8F89B815ECC38A8D1734B0912E3529A11DFC1E72AF32</code>
 
== PSN X-PassPhrase (SceShell) ==
 
* <code> 65848998426DD3E9663731616165323733656435653136303165326661383430 </code>
* Magic 65 84 89 98 42 6D D3 E9
 
== Keyset 7 (SceShell) ==
 
* <code> 30D3E17C0A295898690459CB5A42FE0AA16FFDB373FF2E55CA1A58D695762604 </code>
 
== Keyset 8 (SceShell) ==
 
* <code> 0772879FED34D12910C53B8608C42755392B0E084A9568F5A5B16F4C50939E81 </code>
 
== Keyset 9 (SceShell) ==
 
* <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)