zom-ponks / rpcs3-gameupdater

Fetches game updates for the RPCS3 emulator
MIT License
2 stars 1 forks source link

Cannot match the sha1sum provided #14

Closed John-Gee closed 4 years ago

John-Gee commented 4 years ago

As explained in PR#12:

I can't get the SHA-1 given by Sony to match the one I compute myself in the go code, or even with sha1sum. I'm not sure what's the problem. Maybe it's not the checksum for the pkg file but something in it?

Hopefully you'll have better luck than me in finding what the issue is here, but if not we'll have to forgo the comparison for now. It always makes the code uglier I think (because of the various checks).

John-Gee commented 4 years ago

Alright got it, the last 0x20 bytes contain the sha1 and should be read to match it but not compute it.