Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible error in decrypt method (main.java) #9

Open
mishrsud opened this issue Jul 13, 2015 · 0 comments
Open

Possible error in decrypt method (main.java) #9

mishrsud opened this issue Jul 13, 2015 · 0 comments

Comments

@mishrsud
Copy link

Hi,

I noticed that in the public static byte[] decrypt... method in main.java, the partyV is set to the merchantIdentifier whereas as per Apple spec (https://developer.apple.com/library/ios/documentation/PassKit/Reference/PaymentTokenJSON/PaymentTokenJSON.html), it should be the SHA256 hash of the merchant identifier. Has this been observed or I've misunderstood the spec?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant