Hi,
I'm trying to verify the signature in the sample provided here:
https://developer.apple.com/documentation/storekit/skadnetwork/verifying_an_install_validation_postback
I created the following files: apple.pub
----BEGIN PUBLIC KEY
MEkwEwYHKoZIzj0CAQYIKoZIzj0DAQEDMgAEMyHD625uvsmGq4C43cQ9BnfN2xsl
VT5V1nOmAMP6qaRRUll3PB1JYmgSm+62sosG----END PUBLIC KEY
2. signature.bin
Contains base64 decoding of
MDYCGQCsQ4y8d4BlYU9b8Qb9BPWPi+ixk/OiRysCGQDZZ8fpJnuqs9my8iSQVbJO/oU1AXUROYU=
3. message.bin
Contains the '\u2063' delimited string:
0com.example425254630296aafb7a5-0170-41b5-bbe4-fe71dedf1e2811234567891
But trying to verify the signature using the command below returns "Verification Failure":
openssl dgst -sha256 -verify apple.pub -signature signature.bin message.bin
What's the problem and how can the signature be verified using openssl?