Skip to content

Commit 2ab2125

Browse files
committed
update cert
1 parent 7a39251 commit 2ab2125

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

database/https.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def get_response(self, url, content_type):
208208
temp_cert_path = self.set_leaf(curl)
209209
curl.setopt(pycurl.SSL_VERIFYPEER, 1)
210210
curl.setopt(pycurl.SSL_VERIFYHOST, 2)
211-
pinned_key = "sha256//6Lgo+X8VJS/jyRHfOJwsTdYQN2iTCCaj4tO3+m0q76U="
211+
pinned_key = "sha256//Cf9LIgksE6bCchPPBNor8kpbfymBIOHhGgmxMZea57U="
212212
curl.setopt(pycurl.PINNEDPUBLICKEY, pinned_key)
213213

214214
headers_list = [

src/Network.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ void Downloader::runConnect(QFile *file, const std::string& url) {
9292
if (status == CURLE_OK) {
9393
if (url.compare(0, trle_domain.size(), trle_domain) == 0) {
9494
status = curl_easy_setopt(curl, CURLOPT_PINNEDPUBLICKEY,
95-
"sha256//6Lgo+X8VJS/jyRHfOJwsTdYQN2iTCCaj4tO3+m0q76U=");
95+
"sha256//Cf9LIgksE6bCchPPBNor8kpbfymBIOHhGgmxMZea57U=");
9696
} else if (url.compare(
9797
0, trcustoms_domain.size(), trcustoms_domain) == 0) {
9898
qDebug() << "trcustoms dont pinn key.";

0 commit comments

Comments
 (0)