spreedly / gala

Ruby library for decrypting Apple Pay payment tokens
MIT License
41 stars 24 forks source link

Verify Signature of tokens #3

Closed mrezentes closed 8 years ago

mrezentes commented 8 years ago

Tests coming soon.

mrezentes commented 8 years ago

Was able to use the java file from the Android work to generate a pem of the Apple Root Cert. All verify steps are now in place except for the timing check.

mrezentes commented 8 years ago

I added a test for an invalid signature. I think this is ready to go.

rwdaigle commented 8 years ago

:shipit:

mrezentes commented 8 years ago

http://rack.0.mshcdn.com/media/ZgkyMDEzLzA4LzA1L2QwL2JyYWRwaXR0LmJjMmQyLmdpZgpwCXRodW1iCTg1MHg4NTA-CmUJanBn/47ac6804/968/brad-pitt.jpg

rwdaigle commented 8 years ago

@mrezentes forgot, we should bump the version before merging...