File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
app/src/main/java/tech/httptoolkit/pinning_demo Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,9 @@ import javax.net.ssl.*
4646// We check for both the long-term root & intermediate, because some servers don't seem to
4747// include the ISRG in the chain (assuming it's in our trust store). Unfortunately the R3
4848// intermediate cert will expire in September 2025, but we may have our own testserver by then.
49- const val LETS_ENCRYPT_ISRG_X1_ROOT_PK_SHA256 = " NYbU7PBwV4y9J67c4guWTki8FJ+uudrXL0a4V4aRcrg="
50- const val LETS_ENCRYPT_R3_INTERM_PK_SHA256 = " jQJTbIh0grw0/1TkHSumWb+Fs0Ggogr621gT3PvPKG0="
49+ const val LETS_ENCRYPT_ISRG_X1_ROOT_PK_SHA256 = " J2Rs/XhqmFqx7ihj0wVdUwVKMp9txlbWZCUK6zdaylg="
50+ const val LETS_ENCRYPT_R3_INTERM_PK_SHA256 = " y7xVm0TVJNahMr2sZydE2jQH8SquXV9yLF9seROHHHU="
51+
5152
5253@Suppress(" UNUSED_PARAMETER" )
5354@DelicateCoroutinesApi
@@ -575,4 +576,4 @@ class MainActivity : AppCompatActivity() {
575576 val certHash = cert.publicKey.encoded.toByteString().sha256()
576577 return certHash == pin.decodeBase64()
577578 }
578- }
579+ }
You can’t perform that action at this time.
0 commit comments