Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Vita PSP-Emulator Keys #44

Merged
merged 1 commit into from
Jul 17, 2022
Merged

Add Vita PSP-Emulator Keys #44

merged 1 commit into from
Jul 17, 2022

Conversation

Spenon-dev
Copy link
Contributor

@Spenon-dev Spenon-dev commented Jan 27, 2022

Keys to decrypt all firmware prx files of the Vita PSP emulator found in pcff.elf.
Verified and tested against all retail firmwares.
Should also decrypt all prx files from DEX/TOOL firmwares but not all have been tested.

Closes #40

@LiEnby
Copy link

LiEnby commented Jun 9, 2022

i cant seem to decrypt the os0:kd/pcbc.skprx, which is loaded right after pcff.skprx, (if i had to guess id think its probably the IPL ..?) tried?: pspdecrypt -i psvita.ipl --version 661 -o psvita.ipl.dec
(where psvita.ipl is segment 1 from pcbc.elf)

actually, i cant decrypt IPL from any psp firmware with this?

@John-K John-K merged commit 7af2f3e into John-K:master Jul 17, 2022
@Spenon-dev
Copy link
Contributor Author

i cant seem to decrypt the os0:kd/pcbc.skprx, which is loaded right after pcff.skprx, (if i had to guess id think its probably the IPL ..?) tried?: pspdecrypt -i psvita.ipl --version 661 -o psvita.ipl.dec (where psvita.ipl is segment 1 from pcbc.elf)

actually, i cant decrypt IPL from any psp firmware with this?

Sorry for the late reply,
Yes os0:kd/pcbc.skprx is the IPL. The encryption is unique to the Vita and pspdecrypt does not support it at the moment.
Theres a way to decrypt it however.

  1. Strip the first 304 Bytes of the pcbc.skprx file.

  2. Then use this tool to decrypt it.
    https://github.com/TheOfficialFloW/VitaMips/tree/master/pcbctool

The XOR key in pcbctool must match the firmware version. You can find the keys here
https://playstationdev.wiki/psvitadevwiki/index.php/Keys#ePSP_IPL_Xor_Keys

This functionality could of course be merged into pspdecrypt but I don't know
if it is worth the extra complexity for this niche case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unsupported tags 457b9af0 and 4c94a1f0
3 participants