Editing Talk: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: | ||
= | = 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) = | |||
* 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 = | ||
== Enc Key 0 (SceShell) == | == Enc Key 0 (SceShell) == | ||
* <code> 6AA3C1F8641C9142822BBC7A74CC9241A18CD5B1B9A4B89E472F21EBAA254072 </code> | * <code> 6AA3C1F8641C9142822BBC7A74CC9241A18CD5B1B9A4B89E472F21EBAA254072 </code> | ||