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

Android SSL-certificate pinning #32

Open
CAMOBAP opened this issue May 11, 2022 · 2 comments
Open

Android SSL-certificate pinning #32

CAMOBAP opened this issue May 11, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@CAMOBAP
Copy link
Collaborator

CAMOBAP commented May 11, 2022

Looks like no third-party libraries need, this can be achieved by a single config https://developer.android.com/training/articles/security-config#CertificatePinning

Upd. We need to be able to update certs: https://github.com/wultra/ssl-pinning-android allow dynamic SSL pinning

@CAMOBAP CAMOBAP self-assigned this May 11, 2022
@e271828-
Copy link
Contributor

This would have the same issue as any naive pin: you can get stuck on an old cert. Their suggestion to expire pins after time X is laughable.

Check out the same source used for the iOS pinning for Android details.

@e271828- e271828- added the enhancement New feature or request label Jul 12, 2022
@androidacy-user
Copy link

androidacy-user commented Aug 15, 2024

This would have the same issue as any naive pin: you can get stuck on an old cert. Their suggestion to expire pins after time X is laughable.

Check out the same source used for the iOS pinning for Android details.

It's much safer and reliable to pin the root cert instead. Almost the same level of peace of mind, without having to stay ahead of the ever shorter expiry dates. Android permits you to specify certain root(s) is/are trusted for a domain.

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

No branches or pull requests

3 participants