The signature when properly verified and decoded should match the
data.
It does not.
What am I doing wrong? I have literally searched for more than 2 days
and I cannot find “any” documentation that properly explains how to
verify a vendor signature when given only an x509 / pem public key.
There was nothing wrong with my code, thankfully. Rails automatically
decodes all URLs when it builds the params. The signature being
verified kept all of the params encoded.
Here is the working code in its entirety for anyone that wants an
example:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.