
Hello CC, Since his recent PS4Orbis Title Metadata Database release, PlayStation 4 developer @RedEyeX32 made available on Twitter a PS4 PKGDec homebrew tool used to decrypt encrypted entries within a package file container.
:ninjaxf2:
In his Tweets below, he notes "The keys to decrypt these entry files are encrypted with RSA. I've provided the necessary keys but you will need to calculate the rest to make the tool useful."
Download
Code
Private key SHA-256: a9ac2702937c953ce42a85fae1d3914443a4859fed76140126d8d52ab2778caf
Public key SHA-256: c80fecd0f96b5f06135505d9056794117697c3b2848c89fdf370e087ea3e6237
Public key SHA-256: c80fecd0f96b5f06135505d9056794117697c3b2848c89fdf370e087ea3e6237
Code:
ENTRY_TYPE_ENTRY_KEYS = 0x0010
ENTRY_TYPE_IMAGE_KEY = 0x0020 ENTRY_TYPE_GENERAL_HASHES = 0x0080
ENTRY_TYPE_IMAGE_KEY = 0x0020 ENTRY_TYPE_GENERAL_HASHES = 0x0080
Also from him are some PS4 private and public key SHA-256 hashes, as the PlayStation 4 v1.76+ sceneeagerly awaits further word of SpecterDev's progress on a public v4.05 kernel exploit that can be used to jailbreak newer PS4 console models.
Remove the last 16 bytes from the included keys within the source to get the actual 'key' of E, P, & Q.
To calculate public key: n = q * p
To calculate private key: d = e^-1 mod ((p - 1) * (q - 1))
/spoiler]
Remove the last 16 bytes from the included keys within the source to get the actual 'key' of E, P, & Q.
To calculate public key: n = q * p
To calculate private key: d = e^-1 mod ((p - 1) * (q - 1))
/spoiler]
