I am trying to verify receipt from Windows Store using Ruby. I'am using the xmldsig gem as follows:
certificate = OpenSSL::X509::Certificate.new(cert)
signed_document = Xmldsig::SignedDocument.new(xml)
signed_document.validate(certificate)
but it fails using the data taken from MS example (which is working in C#).
I've also asked for help on SO, if you would like to contribute to the discussion there.