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

Remove StripeSSLSocketFactory #2599

Merged
merged 1 commit into from
Jun 18, 2020

Conversation

mshafrir-stripe
Copy link
Collaborator

Motivation

The Stripe API requires TLS 1.2 [0].
Android API 20+ have TLS 1.2 enabled by default [1].

Now that minSdkVersion is 21, StripeSSLSocketFactory is
no longer necessary.

[0] https://stripe.com/blog/completing-tls-upgrade
[1] https://developer.android.com/reference/javax/net/ssl/SSLSocket#default-configuration-for-different-android-versions

Testing

Verified on API 21 device

Motivation
The Stripe API requires TLS 1.2 [0].
Android API 20+ have TLS 1.2 enabled by default [1].

Now that `minSdkVersion` is `21`, `StripeSSLSocketFactory` is
no longer necessary.

[0] https://stripe.com/blog/completing-tls-upgrade
[1] https://developer.android.com/reference/javax/net/ssl/SSLSocket#default-configuration-for-different-android-versions

Testing
Verifiy on API 21 device
@mshafrir-stripe mshafrir-stripe merged commit ed99a5a into master Jun 18, 2020
@mshafrir-stripe mshafrir-stripe deleted the remove-stripe-ssl-socket-factory branch June 18, 2020 16:43
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

Successfully merging this pull request may close these issues.

3 participants