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

Google Pay decrypt. #3

Open
qoyanchoz opened this issue Jul 21, 2023 · 3 comments
Open

Google Pay decrypt. #3

qoyanchoz opened this issue Jul 21, 2023 · 3 comments

Comments

@qoyanchoz
Copy link

Hi everyone!
Maybe you can write some documentation or something.
I've been unable to decrypt the payload Google sent me for 2 weeks now.
I don't understand how to use your library because I can't find any examples. If any of you can help, like write an example to decrypt the payload.
That would be great!

@rafaeleupinheiro
Copy link

Hey, guys!
I'm also finding it difficult to use the library in my projects.
I'm unable to decrypt a payload sent via Google Pay.
If possible someone could write an example to decrypt the payload.
I would be very grateful!

@juergw
Copy link
Contributor

juergw commented Sep 6, 2023

I guess you would like to use GPay integration here:
https://developers.google.com/pay/api/web/guides/resources/payment-data-cryptography
in Go. Unfortunately, this part of Tink is only available in Java, here:
https://github.com/tink-crypto/tink-java-apps/

tink-go does not support this. But you may be able to use this here:
https://github.com/google-pay/tink-jni-examples/
This wraps the Java implementation. Note that this is not maintained by the Tink team and we can't help you with that.

@kgiedrius
Copy link

@juergw It will be useful to have official Google Pay token decryption implementation using this library.

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

4 participants