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
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
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 0the rap file is correctly recognized, I get the output
However, concerning the verification, I get the output
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:toand "EXT_HDR_HASH" in header_fields:not 100% sure if this fix is "correct" but seems to work fine so far