command
module
Version:
v0.0.0-...-e388d0d
Opens a new window with list of versions in this module.
Published: Mar 10, 2015
License: MIT
Opens a new window with license information.
Imports: 22
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
wp8_receipt_verify
Windonws phone 8 in-app-purchase receipt verification with Golang
There are 2 problems to verify winodws phone 8 receipt with Golang:
- The serial number of IapReceiptProduction.cer is negative, which will lead to certificate parsing failure with Golang x509 package
- XML Digital Signature is used for receipt verification, which is really complicated, while Golang DO NOT have the related libraries to handle this
For the 1st problem, there are 2 solutions:
- wrap the x509 package to ignore the "negative serial number" error
- extract public key from the certification using openssl or key chain
For the 2nd problem
- I have searched many golang and xml digital signature related repos in github and finally find amdonov/xmlsig, which helps a lot.
Want to know more?
Code says everything
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.