Skip to content

Verification of rap #6

Description

@Qubits01

Hi,

I try to verify a rap for a pkg using this command:
PSN_get_pkg_info.py --rapkey <path-to-rapfile> <path-to-pkg> -f 50 -f 0

the rap file is correctly recognized, I get the output

>>>>> EDAT RAP #1
rap["TYPE"  ]: RAP
rap["RAPKEY"]: d43acf36d6a49215b04e845b537ebc5e
rap["RIFKEY"]: 0c2f93838d117506ce5be5594e94bf11

However, concerning the verification, I get the output

RAP Key:      None

I know the rap file is valid, so what do I do wrong?

Could you maybe also elaborate what is done for the verification process?
My understanding was that you need to decrypt the eboot to test the validity and that would require the idps and act.dat info.

Edit:
I debugged the code a bit and got it working.
Change line 2517 from
and "EXT_HDR_HASH" in Results: to and "EXT_HDR_HASH" in header_fields:

not 100% sure if this fix is "correct" but seems to work fine so far

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions