Since his recent
PS4 Orbis 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.
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:
pkgdec.rar (86 KB) /
Usage Details from Robbie Luong with
Something Sinister's Tool
Also from him are some PS4 private and public key SHA-256 hashes, as the PlayStation 4 v1.76+ scene eagerly 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))
Code:
Private key SHA-256: a9ac2702937c953ce42a85fae1d3914443a4859fed76140126d8d52ab2778caf
Public key SHA-256: c80fecd0f96b5f06135505d9056794117697c3b2848c89fdf370e087ea3e6237
And from
@RedEyeX32 on Discord: This is the most important entry types since those are the encrypted ones:
Code:
ENTRY_TYPE_ENTRY_KEYS = 0x0010
ENTRY_TYPE_IMAGE_KEY = 0x0020
ENTRY_TYPE_GENERAL_HASHES = 0x0080
...