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).
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).