You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: java/ql/src/Security/CWE/CWE-295/AndroidMissingCertificatePinning.qhelp
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
<p>
7
7
Certificate pinning is the practice of only trusting a specific set of SSL certificates, rather than those that the device trusts by default.
8
8
In Android applications, it is reccomended to use certificate pinning when communicating over the network,
9
-
in order to minimize the risk of machine-in-the-middle attacks from a comprimised CA.
9
+
in order to minimize the risk of machine-in-the-middle attacks from a compromised CA.
10
10
</p>
11
11
</overview>
12
12
@@ -16,10 +16,10 @@ The easiest way to implement certificate pinning is to declare your pins in a <c
16
16
This will automatically provide certificate pinning for any network connection made by the app.
17
17
</p>
18
18
<p>
19
-
Another way to implement certificate pinning is to use the `CertificatePinner` from the `okhttp` library.
19
+
Another way to implement certificate pinning is to use the `CertificatePinner` class from the `okhttp` library.
20
20
</p>
21
21
<p>
22
-
A final way to implement certificate pinning is to use a <code>TrustManager</code>, initialized from a <code>KeyStore</code> loaded with only the neccesary certificates.
22
+
A final way to implement certificate pinning is to use a <code>TrustManager</code>, initialized from a <code>KeyStore</code> loaded with only the necessary certificates.
23
23
</p>
24
24
25
25
</recommendation>
@@ -36,13 +36,13 @@ The other (good) cases demonstrate the different ways to implement certificate p
36
36
37
37
<references>
38
38
<li>
39
-
OWASP Mobile Security: <ahref="https://mobile-security.gitbook.io/mobile-security-testing-guide/android-testing-guide/0x05g-testing-network-communication#testing-custom-certificate-stores-and-certificate-pinning-mstg-network-4">Testing Custom Certificate Stores and Certificate Pinning (MSTG-NETWORK-4)</a>
39
+
OWASP Mobile Security: <ahref="https://mobile-security.gitbook.io/mobile-security-testing-guide/android-testing-guide/0x05g-testing-network-communication#testing-custom-certificate-stores-and-certificate-pinning-mstg-network-4">Testing Custom Certificate Stores and Certificate Pinning (MSTG-NETWORK-4)</a>.
0 commit comments