Skip to content

Commit

Permalink
Update pinned certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
nning committed Jul 20, 2020
1 parent e2cb549 commit e465726
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
Binary file modified app/src/main/assets/net.orgizm.imgshr.bks
Binary file not shown.
Binary file added cert/bcprov-jdk14-166.jar
Binary file not shown.
9 changes: 9 additions & 0 deletions cert/imgshr-space-zertifikatskette.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-----BEGIN CERTIFICATE-----
MIIFUDCCBDigAwIBAgISBAixAfN7XcDiai+DJ6qpVLtNMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MSMwIQYDVQQDExpMZXQncyBFbmNyeXB0IEF1dGhvcml0eSBYMzAeFw0yMDA2MjUyMTI5NDhaFw0yMDA5MjMyMTI5NDhaMBcxFTATBgNVBAMTDGltZ3Noci5zcGFjZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMXcKq20K7u052TzWOh7erjNlNZw7kF3ZKIXExduZqknUORPTpnbTufKPDWIt/YUiz3EWGljYWDz6iTt6HtQ1XbjpSFar7S/L+NZyzs7vxAoPIqBqKct/5O10v11ihPoNh3dnW5wE30VkAyAjcQSI9MMS1VDndnafhJQM19AW4GHRvf0oIo8thJgrS3NDZlYgHi/R8Y1hPFC8fXcz2nvPgVXNRM40NWZNmskspw3WnLhFESk6xmeFpeaAAfyS3UCdsbrI4VgjTr+QFwjJvjF7ehrbvDel8QcQE/G+NDkuPmPCMK2l8zZW5xCG4k2+okM1LUTpz7CwBVUUiI3kAZrVOMCAwEAAaOCAmEwggJdMA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUmw4xjuPbLWEks5xgiDOg/rYwXYwwHwYDVR0jBBgwFoAUqEp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OMxt+/yUFw7BZy1SbsOFU5Q9D8/RhcQPGX69Wam40dutolucbY38EVAjqr2m7xPi71XAicPNaDaeQQmxkqtilX4+U9m5/wAl0CAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFMSnsaR7LHH62+FLkHX/xBVghYkQMA0GCSqGSIb3DQEBBQUAA4IBAQCjGiybFwBcqR7uKGY3Or+Dxz9LwwmglSBd49lZRNI+DT69ikugdB/OEIKcdBodfpga3csTS7MgROSR6cz8faXbauX+5v3gTt23ADq1cEmv8uXrAvHRAosZy5Q6XkjEGB5YGV8eAlrwDPGxrancWYaLbumR9YbK+rlmM6pZW87ipxZzR8srzJmwN0jP41ZL9c8PDHIyh8bwRLtTcm1D9SZImlJnt1ir/md2cXjbDaJWFBM5JDGFoqgCWjBH4d1QB7wCCZAA62RjYJsWvIjJEubSfZGL+T0yjWW06XyxV3bqxbYoOb8VZRzI9neWagqNdwvYkQsEjgfbKbYK7p2CNTUQ
-----END CERTIFICATE-----
15 changes: 15 additions & 0 deletions cert/update-cert-store.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/sh

dir=$(dirname $0)

keytool \
-importcert \
-v \
-trustcacerts \
-alias 0d86a8c1 \
-file $dir/imgshr-space-zertifikatskette.pem \
-keystore $dir/../app/src/main/assets/net.orgizm.imgshr.bks \
-storetype BKS \
-providerclass org.bouncycastle.jce.provider.BouncyCastleProvider \
-providerpath $dir/bcprov-jdk14-166.jar \
-storepass ahw0Iewiefei6jee

0 comments on commit e465726

Please sign in to comment.