spreedly / r2d2

Ruby library for decrypting Google Pay and Android Pay payment tokens
MIT License
8 stars 15 forks source link

#18 Add ECv2 support for google pay tokens #20

Open mlauter opened 4 years ago

mlauter commented 4 years ago

Adds ECv2 support according to https://developers.google.com/pay/api/android/guides/resources/payment-data-cryptography

Testing

We've added tests for google_pay ec_v2.

bundle exec rake passes

mlauter commented 4 years ago

This looks good, thanks for your contribution! I haven't read up on the ECv2 scheme (ECv1 still works so we didn't need an upgrade) so my small comments are mostly on code style.

I'm also not able to merge or release this so I encourage you to reach out to Spreedly for this :)

Thank you so much for the feedback @bdewater, will make some updates and try and reach Spreedly!