{"id":491899,"date":"2026-08-23T15:06:19","date_gmt":"2026-08-23T15:06:19","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=491899"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=491899","title":{"rendered":"\u041e \u0434\u043e\u0432\u0435\u0440\u0438\u0438 \u043a \u043e\u0442\u0435\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c \u0438 \u043e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0445 CT \u043b\u043e\u0433\u043e\u0432"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u043a \u043c\u043e\u0435\u0439 <a href=\"https:\/\/habr.com\/ru\/articles\/1073252\/\" rel=\"noopener noreferrer nofollow\">\u043d\u0435\u0434\u0430\u0432\u043d\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435<\/a> \u043f\u0440\u043e \u0444\u0435\u0439\u043b \u0441 \u0413\u041e\u0421\u0422 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u043c \u0441\u0430\u0439\u0442\u0430 \u0413\u043e\u0441\u0423\u0441\u043b\u0443\u0433 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u0434\u0438\u0441\u043a\u0443\u0441\u0441\u0438\u044f \u043e \u0434\u043e\u0432\u0435\u0440\u0438\u0438 \u043a \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u043c \u043a\u043e\u0440\u043d\u0435\u0432\u044b\u043c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c \u041c\u0438\u043d\u0446\u0438\u0444\u0440\u044b \u0438 \u043e \u0440\u0438\u0441\u043a\u0430\u0445 \u0438\u0445 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 (\u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0431\u0440\u0430\u0443\u0437\u0435\u0440, \u0438\u043b\u0438 \u0440\u0438\u0441\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u042f\u043d\u0434\u0435\u043a\u0441 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430, \u0433\u0434\u0435 \u043e\u043d\u0438 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u044b).<\/p>\n<p>\u0417\u0434\u0435\u0441\u044c \u0432\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0442\u044c \u0441\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0435 \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437 \u043d\u0435 \u0431\u0443\u0434\u0443, \u0432\u043a\u043b\u044e\u0447\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435\u043a\u043e\u0435 \u0441\u0430\u043c\u043c\u0430\u0440\u0438 \u0438\u0437 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0442\u0435\u0437\u0438\u0441\u043e\u0432 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043d\u0435 \u043f\u043e\u0433\u0440\u0443\u0436\u0435\u043d \u0432 \u0442\u0435\u043c\u0443:<\/p>\n<ol>\n<li>\n<p><strong>\u0421\u0430\u043c\u0438 \u043a\u043e\u0440\u043d\u0435\u0432\u044b\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b <em>\u0443\u0441\u043b\u043e\u0432\u043d\u043e<\/em> \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u044b<\/strong><\/p>\n<p>\u0418\u0437\u0432\u0438\u043d\u0438\u0442\u0435, \u044d\u0442\u043e\u0442 \u043f\u0443\u043d\u043a\u0442 \u0434\u043b\u044f \u0434\u043e\u043c\u043e\u0445\u043e\u0437\u044f\u0435\u043a \u2014 \u0441\u0430\u043c\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b \u0432\u0430\u0448 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u043d\u0435 \u0432\u0437\u043b\u043e\u043c\u0430\u044e\u0442. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438\u0445 \u0432 \u0434\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u043f\u0443\u0442\u044c \u043a \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u043c \u0430\u0442\u0430\u043a\u0430\u043c (\u0441\u043c. \u043d\u0438\u0436\u0435).<\/p>\n<\/li>\n<li>\n<p><strong>\u0415\u0441\u043b\u0438 \u0432\u044b \u0438\u0445 \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u043b\u0438 \u0432 \u0434\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435, \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0432\u0430\u0448 \u0442\u0440\u0430\u0444\u0438\u043a <em>\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u043b\u0438\u0446\u0430<\/em> \u043c\u043e\u0433\u0443\u0442 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0434\u0430\u0436\u0435 \u043f\u043e\u0434\u0434\u0435\u043b\u0430\u0442\u044c<\/strong><\/p>\n<p>\u041f\u043e\u044f\u0441\u043d\u0435\u043d\u0438\u044f: \u043b\u0438\u0446\u0430, \u0438\u043c\u0435\u044e\u0449\u0438\u0435 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0442\u0440\u0430\u0444\u0438\u043a\u0443 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0447\u0435\u0440\u0435\u0437 \u043f\u0435\u0447\u0430\u043b\u044c\u043d\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435 \u0422\u0421\u041f\u0423), \u043c\u043e\u0433\u0443\u0442 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u0423\u0426 (\u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0440\u043d\u0435\u0432\u044b\u043c) \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432 \u043e\u043d\u043b\u0430\u0439\u043d \u0440\u0435\u0436\u0438\u043c\u0435 \u043f\u043e\u0434\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u0430, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0432\u044b \u043d\u0430\u043c\u0435\u0440\u0435\u0432\u0430\u0435\u0442\u0435\u0441\u044c \u0441\u0432\u044f\u0437\u0430\u0442\u044c\u0441\u044f \u2014 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c, gmail.com \u0438\u043b\u0438 telegram.org. \u042d\u0442\u043e \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f MitM-\u0430\u0442\u0430\u043a\u0430, \u043d\u0430 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u043c \u0441\u0435\u0442\u0435\u0432\u043e\u043c \u0443\u0437\u043b\u0435 \u0442\u0440\u0430\u0444\u0438\u043a \u043c\u043e\u0436\u043d\u043e \u0447\u0438\u0442\u0430\u0442\u044c \u0438\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u043f\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044e \u0430\u0442\u0430\u043a\u0443\u044e\u0449\u0435\u0433\u043e.<\/p>\n<p>\u0425\u043e\u0442\u044c \u0438 \u043d\u0435 \u0445\u043e\u0447\u0443 \u0441\u0441\u044b\u043b\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u044d\u0442\u043e\u0433\u043e \u043d\u0435\u0439\u0440\u043e\u0441\u043b\u043e\u043f\u043e\u0432\u043e\u0433\u043e \u0448\u043a\u043e\u043b\u043e\u0442\u0440\u043e\u043d\u0430 (zarazaexe), \u043d\u043e \u0441\u0432\u0435\u0436\u0435\u0435 \u0438 \u0434\u043e\u0445\u043e\u0434\u0447\u0438\u0432\u0435\u0435 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0448\u0435\u043b \u2014 <a href=\"https:\/\/habr.com\/ru\/articles\/968218\/\" rel=\"noopener noreferrer nofollow\">\u043f\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435<\/a>.<\/p>\n<\/li>\n<li>\n<p><strong>\u0417\u0430\u0449\u0438\u0442\u0438\u0442\u044c\u0441\u044f \u043e\u0442 \u0442\u0430\u043a\u043e\u0439 \u0430\u0442\u0430\u043a\u0438 \u0441\u043b\u043e\u0436\u043d\u043e<\/strong><\/p>\n<p>\u041c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0443\u0449\u0435\u0440\u0431. \u0421\u043a\u0430\u0436\u0435\u043c, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043a\u043e\u0440\u043d\u0435\u0432\u044b\u0435 \u043e\u0442\u0435\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0438\u043b\u0438 \u043f\u0440\u043e\u0444\u0438\u043b\u044c \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0442\u043e\u043b\u044c\u043a\u043e, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u043d\u0430 \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0435 \u0441\u0430\u0439\u0442\u044b, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u043d\u0430\u0447\u0435 \u0437\u0430\u0439\u0442\u0438 \u043d\u0435\u043b\u044c\u0437\u044f.<\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/habr.com\/ru\/articles\/1071256\/\" rel=\"noopener noreferrer nofollow\">\u0434\u0438\u043a\u0438\u0445 \u043a\u043e\u0441\u0442\u044b\u043b\u0435\u0439<\/a> (\u0443\u0436 \u043f\u0440\u043e\u0441\u0442\u0438\u0442\u0435, @<a href=\"https:\/\/habr.com\/ru\/users\/outlingo\/\" rel=\"noopener noreferrer nofollow\">outlingo<\/a>) \u043c\u043e\u0436\u043d\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c \u0437\u043e\u043d\u0443 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043a\u043e\u0440\u043d\u0435\u0432\u044b\u0445 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432 (\u0441\u043a\u0430\u0436\u0435\u043c, \u0434\u043e *.ru).<\/p>\n<\/li>\n<li>\n<p><strong>Certificate Transparency \u043b\u043e\u0433\u0438 \u0438 \u042f\u043d\u0434\u0435\u043a\u0441 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u2014 \u043d\u0435\u043f\u043b\u043e\u0445\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0432 \u043f\u043b\u0430\u043d\u0435 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438<\/strong><\/p>\n<p>\u041f\u0440\u043e <a href=\"https:\/\/habr.com\/ru\/articles\/269729\/\" rel=\"noopener noreferrer nofollow\">\u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0442\u0443\u0442<\/a> (\u043d\u0443 \u0438\u043b\u0438 \u0432 \u0432\u0438\u043a\u0438\u043f\u0435\u0434\u0438\u0438). \u0412 \u043a\u0440\u0430\u0446\u0438\u0438: \u0437\u0430\u043f\u0438\u0441\u044c \u043e \u0432\u044b\u0434\u0430\u043d\u043d\u043e\u043c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u0438\u043f\u0430-\u0431\u043b\u043e\u043a\u0447\u0435\u0439\u043d, \u0430 \u0432 \u0441\u0430\u043c \u0441\u0435\u0440\u0442 \u2014 \u043f\u043e\u043c\u0435\u0442\u043a\u0438 \u043e\u0431 \u044d\u0442\u043e\u043c.<\/p>\n<p>\u0423 \u043c\u0435\u043d\u044f \u043c\u0430\u043b\u043e \u0445\u043e\u0440\u043e\u0448\u0438\u0445 \u0441\u043b\u043e\u0432 \u0432 \u0430\u0434\u0440\u0435\u0441 \u042f\u043d\u0434\u0435\u043a\u0441 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0438 \u042f\u043d\u0434\u0435\u043a\u0441\u0430 \u0432\u043e\u043e\u0431\u0449\u0435, \u043d\u043e \u0442\u0443\u0442 \u0438\u043c \u043d\u0430\u0434\u043e \u043e\u0442\u0434\u0430\u0442\u044c \u0434\u043e\u043b\u0436\u043d\u043e\u0435: \u043e\u043d\u0438 \u0438\u043d\u0438\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0438 \u043f\u0440\u043e\u0434\u0430\u0432\u0438\u043b\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0432\u0441\u0435 \u0432\u044b\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u044b\u0435 \u043e\u0442\u0435\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0441 CT-\u043b\u043e\u0433\u0438 (<a href=\"https:\/\/habr.com\/ru\/companies\/yandex\/articles\/667300\/\" rel=\"noopener noreferrer nofollow\">https:\/\/habr.com\/ru\/companies\/yandex\/articles\/667300\/<\/a>).<\/p>\n<p>\u042f\u043d\u0434\u0435\u043a\u0441 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 (\u0435\u0441\u043b\u0438 \u043d\u0435 \u0432\u0440\u0451\u0442) \u0431\u0435\u0437 \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 CT-\u043b\u043e\u0433\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u043d\u0435 \u043f\u0440\u0438\u043c\u0435\u0442. \u042d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u043e\u0441\u043b\u043e\u0436\u043d\u044f\u0435\u0442 \u043e\u043d\u043b\u0430\u0439\u043d MitM-\u0430\u0442\u0430\u043a\u0438 \u0438 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043b\u0435\u0434\u044b \u043e\u0442 \u043f\u043e\u043f\u044b\u0442\u043e\u043a.<\/p>\n<p>\u0414\u0440\u0443\u0433\u0438\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u043f\u0440\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u043a\u043e\u0440\u043d\u0435\u0432\u044b\u0445 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 CT-\u043b\u043e\u0433\u043e\u0432 \u0434\u043b\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0446\u0435\u043f\u043e\u0447\u0435\u043a <strong>\u043e\u0442\u043a\u043b\u044e\u0447\u0430\u044e\u0442 <\/strong>(\u043d\u0443 \u0442\u0438\u043f\u0430 \u0434\u0443\u043c\u0430\u044e\u0442, \u0447\u0442\u043e \u043e\u043d\u0438 \u0432 \u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u0435).<\/p>\n<\/li>\n<\/ol>\n<p>\u0426\u0435\u043b\u044c \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u2014 \u043a\u0440\u0430\u0442\u043a\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e\u0431 CT-\u043b\u043e\u0433\u0430\u0445 \u0434\u043b\u044f \u043e\u0442\u0435\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432 \u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0445 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043d\u0438\u043c\u0438.<\/p>\n<h2>CT-\u043b\u043e\u0433 \u043e\u0442\u0435\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439<\/h2>\n<p>\u041d\u0443 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438\u0445 \u0442\u0440\u0438:<\/p>\n<ul>\n<li>\n<p>Yandex Agate Log<\/p>\n<\/li>\n<li>\n<p>VK NCA Log<\/p>\n<\/li>\n<li>\n<p>The Ministry of Digital Development and Communications Log<\/p>\n<\/li>\n<\/ul>\n<p>(\u043c\u043e\u0436\u0435\u0442 \u0435\u0441\u0442\u044c \u0438 \u0434\u0440\u0443\u0433\u0438\u0435, \u043d\u043e \u042f\u043d\u0434\u0435\u043a\u0441 \u0434\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u044d\u0442\u0438\u043c).<\/p>\n<p>\u0422\u0443\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u0445 \u043b\u043e\u0433\u043e\u0432 \u042f\u043d\u0434\u0435\u043a\u0441 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0441\u043e \u0441\u0441\u044b\u043b\u043a\u0430\u043c\u0438 \u0438 \u0445\u0435\u0448\u0430\u043c\u0438 \u043a\u043b\u044e\u0447\u0435\u0439 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 JSON \u2014 <a href=\"https:\/\/browser-resources.s3.yandex.net\/ctlog\/ctlog.json\" rel=\"noopener noreferrer nofollow\">https:\/\/browser-resources.s3.yandex.net\/ctlog\/ctlog.json<\/a>.<\/p>\n<p>\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0439 \u0444\u0430\u043a\u0442 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u043b\u043e\u0433\u0438 \u043d\u0435 \u0441\u0442\u0430\u0442\u0438\u0447\u043d\u044b, \u0438 \u0438\u0445 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u044e\u0442 \u043a\u0430\u0436\u0434\u044b\u0439 \u0433\u043e\u0434.<\/p>\n<h2>\u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 CT-\u043b\u043e\u0433\u0430\u043c\u0438<\/h2>\n<p>\u0422\u043e, \u0447\u0442\u043e \u042f\u043d\u0434\u0435\u043a\u0441 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 \u043b\u043e\u0433\u0430\u0445, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0445\u043e\u0440\u043e\u0448\u043e&#8230; \u0410 \u0432\u043e\u0442 \u043a\u0430\u043a \u0431\u044b \u0441\u0430\u043c\u043e\u043c\u0443 \u0440\u0443\u043a\u0430\u043c\u0438 \u0432\u0441\u0435 \u044d\u0442\u043e \u043f\u043e\u0449\u0443\u043f\u0430\u0442\u044c?<\/p>\n<p>\u0421\u0430\u043c\u0438 \u043b\u043e\u0433\u0438 \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u044b \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e\u043d\u0435\u043d\u0430\u0432\u0438\u0441\u0442\u043d\u0438\u0447\u0435\u0441\u043a\u0438, \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043f\u043e \u0441\u0441\u044b\u043b\u043e\u0447\u043a\u0435, \u0432\u0441\u0435 \u043b\u0438 \u0445\u043e\u0440\u043e\u0448\u043e \u0443 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u0441 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0432 \u043b\u043e\u0433, \u043d\u0435\u043b\u044c\u0437\u044f.<\/p>\n<p>\u0412\u043e\u043e\u0431\u0449\u0435, \u0434\u043e\u0431\u0440\u044b\u0435 \u043b\u044e\u0434\u0438 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 (\u043d\u0430\u043f\u043e\u0434\u043e\u0431\u0438\u0435 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u0432 \u0431\u043b\u043e\u043a\u0447\u0435\u0439\u043d\u0430), \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0430\u0440\u0441\u044f\u0442 \u044d\u0442\u0438 \u043b\u043e\u0433\u0438 \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u043f\u043e\u0438\u0441\u043a\u0430\u0442\u044c \u0438 \u043f\u043e\u043a\u043b\u0438\u043a\u0430\u0442\u044c. \u041d\u043e \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0441 \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u043c\u0438 \u043b\u043e\u0433\u0430\u043c\u0438 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 (\u0430 \u0441\u0430\u043c\u044b\u0439 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 <a href=\"https:\/\/crt.sh\/\" rel=\"noopener noreferrer nofollow\">https:\/\/crt.sh\/<\/a> \u2014 \u0442\u0430\u043a \u043f\u043e-\u043c\u043e\u0435\u043c\u0443 \u0432\u043e\u043e\u0431\u0449\u0435 \u0441\u0434\u043e\u0445). \u0415\u0441\u0442\u044c \u043e\u0442\u0435\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0430\u043d\u0430\u043b\u043e\u0433 \u2014 <a href=\"https:\/\/ct.tlscc.ru\/\" rel=\"noopener noreferrer nofollow\">https:\/\/ct.tlscc.ru\/<\/a>. \u0418 \u0441\u043d\u043e\u0432\u0430 &#171;\u043d\u043e&#187; \u2014 \u043f\u043e\u0445\u043e\u0436\u0435, \u0447\u0442\u043e \u043e\u043d \u0442\u043e\u0436\u0435 \u0441\u043b\u0435\u0433\u043a\u0430 \u0437\u0430\u0431\u0440\u043e\u0448\u0435\u043d: \u0442\u0430\u043a, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u0434\u043b\u044f db.vtb.ru) \u044f \u0442\u0430\u043c \u043d\u0435 \u043d\u0430\u0448\u0435\u043b, \u0438 \u0432\u043e\u043e\u0431\u0449\u0435, \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043e\u043d \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0441 \u043d\u043e\u0432\u044b\u043c\u0438 \u0430\u0434\u0440\u0435\u0441\u0430\u043c\u0438 CT-\u043b\u043e\u0433\u043e\u0432 2027 \u0433\u043e\u0434\u0430 (\u0441\u043c. \u0432\u044b\u0448\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: <a href=\"https:\/\/ct-agate.yandex.net\/2027\/\" rel=\"noopener noreferrer nofollow\">https:\/\/ct-agate.yandex.net\/2027\/<\/a>).<\/p>\n<p>\u0422\u0430\u043a \u0447\u0442\u043e \u044f, \u0441\u043c\u0438\u0440\u0438\u0432 \u0441\u0442\u044b\u0434, \u043f\u043e\u043c\u0443\u0447\u0438\u043b ChatGPT \u0438 \u0440\u043e\u0434\u0438\u043b \u043e\u0442 \u043d\u0435\u0433\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432 \u043f\u043e \u0432\u0441\u0435\u043c \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u043c \u043b\u043e\u0433\u0430\u043c:<\/p>\n<details class=\"spoiler\">\n<summary>\u041a\u043e\u0434 (\u0443\u0431\u0440\u0430\u043b \u043f\u043e\u0434 \u0441\u043f\u043e\u0439\u043b\u0435\u0440)<\/summary>\n<div class=\"spoiler__content\">\n<pre><code>#!\/usr\/bin\/env python3import sysimport jsonimport base64import hashlibimport structimport requestsfrom asn1crypto import x509, pem# ============================================================# Yandex CT log list# Static snapshot:#   version: 1.229#   log_list_timestamp: 2026-08-12T22:00:21Z# ============================================================REMOTE_LOG_LIST_URL = \\    \"https:\/\/browser-resources.s3.yandex.net\/ctlog\/ctlog.json\"STATIC_LIST_VERSION = \"1.229\"STATIC_LIST_TIMESTAMP = \"2026-08-12T22:00:21Z\"LOGS = [    {        \"operator\": \"Yandex\",        \"description\": \"Yandex Agate-2026 log\",        \"url\": \"https:\/\/ct-agate.yandex.net\/2026\/\",        \"log_id\": \"Vh7HRN8a9wLmJoOt38SVz3WjGwxs6KDH6gEDMJC3SIU=\",        \"start\": \"2026-01-01T00:00:00Z\",        \"end\": \"2027-01-01T00:00:00Z\",    },    {        \"operator\": \"Yandex\",        \"description\": \"Yandex Agate-2027 log\",        \"url\": \"https:\/\/ct-agate.yandex.net\/2027\/\",        \"log_id\": \"GukWh2bX94qcsIb4xJw8Xc64yZMAqa9L\/7CbB0+BLBc=\",        \"start\": \"2027-01-01T00:00:00Z\",        \"end\": \"2028-01-01T00:00:00Z\",    },    {        \"operator\": \"VK LLC\",        \"description\": \"VK 'NCA2026' Log\",        \"url\": \"https:\/\/ctlog2026.mail.ru\/nca2026\/\",        \"log_id\": \"eNkSvkIKwAIcul2iVDKRU9tIywYr\/EMBJB4Qq8cWnmc=\",        \"start\": \"2026-01-01T00:00:00Z\",        \"end\": \"2027-01-01T00:00:00Z\",    },    {        \"operator\": \"VK LLC\",        \"description\": \"VK 'NCA2027' Log\",        \"url\": \"https:\/\/ctlog2027.mail.ru\/nca2027\/\",        \"log_id\": \"1LN\/8nNPJvHlUHXlhVtwT95xu30Fx1fT3OsTf2JDrSQ=\",        \"start\": \"2027-01-01T00:00:00Z\",        \"end\": \"2028-01-01T00:00:00Z\",    },    {        \"operator\":            \"The Ministry of Digital Development and Communications\",        \"description\":            \"The Ministry of Digital Development and Communications \"            \"'2026' Log\",        \"url\": \"https:\/\/26.ctlog.digital.gov.ru\/2026\/\",        \"log_id\": \"ybgRvMAcYl3KJ\/TWxEfLX34Ov3LLWZGoMy+Zv5oqPko=\",        \"start\": \"2026-01-01T00:00:00Z\",        \"end\": \"2027-01-01T00:00:00Z\",    },    {        \"operator\":            \"The Ministry of Digital Development and Communications\",        \"description\":            \"The Ministry of Digital Development and Communications \"            \"'2027' Log\",        \"url\": \"https:\/\/27.ctlog.digital.gov.ru\/2027\/\",        \"log_id\": \"TJig3bv0dZNmDDboZiaHFAn5fnh4TpGeqWr4HFMnXNY=\",        \"start\": \"2027-01-01T00:00:00Z\",        \"end\": \"2028-01-01T00:00:00Z\",    },]SCT_OID = \"1.3.6.1.4.1.11129.2.4.2\"# ============================================================# Helpers# ============================================================def read_cert(path):    with open(path, \"rb\") as f:        data = f.read()    if pem.detect(data):        _, _, data = pem.unarmor(data)    return x509.Certificate.load(data)def u16(b, off):    return struct.unpack(\"&gt;H\", b[off:off + 2])[0]def u64(b, off):    return struct.unpack(\"&gt;Q\", b[off:off + 8])[0]def uint24(n):    return n.to_bytes(3, \"big\")def b64(data):    return base64.b64encode(data).decode(\"ascii\")# ============================================================# Check remote log list for updates# ============================================================def flatten_remote_logs(data):    result = []    for operator in data.get(\"operators\", []):        operator_name = operator.get(\"name\", \"?\")        for log in operator.get(\"logs\", []):            interval = log.get(\"temporal_interval\", {})            result.append({                \"operator\": operator_name,                \"description\": log.get(\"description\", \"?\"),                \"url\": log.get(\"url\"),                \"log_id\": log.get(\"log_id\"),                \"start\": interval.get(\"start_inclusive\"),                \"end\": interval.get(\"end_exclusive\"),            })    return resultdef log_identity(log):    return log.get(\"log_id\")def check_log_list_update():    \"\"\"    Check Yandex ctlog.json.    Failure to download the list is NOT fatal.    The embedded static list will still be used.    \"\"\"    print(\"Checking CT log list...\")    print(\"  URL:\", REMOTE_LOG_LIST_URL)    try:        r = requests.get(            REMOTE_LOG_LIST_URL,            timeout=5,        )        r.raise_for_status()        data = r.json()    except Exception as e:        print(\"  Remote list unavailable:\", e)        print(            \"  Using built-in list version\",            STATIC_LIST_VERSION        )        return    remote_version = str(data.get(\"version\", \"?\"))    remote_timestamp = data.get(\"log_list_timestamp\", \"?\")    print(\"  Built-in version:\", STATIC_LIST_VERSION)    print(\"  Remote version:  \", remote_version)    print(\"  Remote timestamp:\", remote_timestamp)    remote_logs = flatten_remote_logs(data)    static_by_id = {        log_identity(x): x        for x in LOGS    }    remote_by_id = {        log_identity(x): x        for x in remote_logs    }    changed = False    # --------------------------------------------------------    # Added logs    # --------------------------------------------------------    added = (        set(remote_by_id)        - set(static_by_id)    )    if added:        changed = True        print()        print(\"  NEW LOGS in remote list:\")        for log_id in sorted(added):            x = remote_by_id[log_id]            print()            print(\"    +\", x[\"description\"])            print(\"      URL:   \", x[\"url\"])            print(\"      Log ID:\", x[\"log_id\"])    # --------------------------------------------------------    # Removed logs    # --------------------------------------------------------    removed = (        set(static_by_id)        - set(remote_by_id)    )    if removed:        changed = True        print()        print(\"  LOGS REMOVED from remote list:\")        for log_id in sorted(removed):            x = static_by_id[log_id]            print()            print(\"    -\", x[\"description\"])            print(\"      URL:   \", x[\"url\"])            print(\"      Log ID:\", x[\"log_id\"])    # --------------------------------------------------------    # Changed properties for same LogID    # --------------------------------------------------------    common = (        set(static_by_id)        &amp; set(remote_by_id)    )    fields = [        \"url\",        \"description\",        \"operator\",        \"start\",        \"end\",    ]    for log_id in sorted(common):        old = static_by_id[log_id]        new = remote_by_id[log_id]        differences = []        for field in fields:            if old.get(field) != new.get(field):                differences.append(                    (                        field,                        old.get(field),                        new.get(field),                    )                )        if differences:            changed = True            print()            print(                \"  CHANGED:\",                old[\"description\"]            )            print(                \"    Log ID:\",                log_id            )            for field, old_value, new_value in differences:                print(                    f\"    {field}:\"                )                print(                    f\"      built-in: {old_value}\"                )                print(                    f\"      remote:   {new_value}\"                )    # --------------------------------------------------------    # Version itself changed    # --------------------------------------------------------    if remote_version != STATIC_LIST_VERSION:        changed = True    print()    if changed:        print(            \"  *** WARNING: built-in CT log list \"            \"may be outdated ***\"        )        print(            \"  The script will continue using the \"            \"built-in list.\"        )    else:        print(            \"  CT log list is up to date.\"        )# ============================================================# SCT parsing# ============================================================def parse_sct(sct):    if len(sct) &lt; 43:        raise RuntimeError(\"SCT is too short\")    p = 0    version = sct[p]    p += 1    log_id = sct[p:p + 32]    p += 32    timestamp = u64(sct, p)    p += 8    ext_len = u16(sct, p)    p += 2    if p + ext_len &gt; len(sct):        raise RuntimeError(            \"Malformed SCT extensions\"        )    extensions = sct[p:p + ext_len]    p += ext_len    signature = sct[p:]    return {        \"version\": version,        \"log_id\": log_id,        \"timestamp\": timestamp,        \"extensions\": extensions,        \"signature\": signature,        \"raw\": sct,    }def get_scts(cert):    extensions = cert[\"tbs_certificate\"][\"extensions\"]    raw = None    for ext in extensions:        if ext[\"extn_id\"].dotted == SCT_OID:            raw = ext[\"extn_value\"].native            break    if raw is None:        raise RuntimeError(            \"Certificate has no embedded SCT extension\"        )    if len(raw) &lt; 2:        raise RuntimeError(\"Malformed SCT list\")    list_len = u16(raw, 0)    if list_len != len(raw) - 2:        raise RuntimeError(            f\"Bad SCT list length: \"            f\"declared={list_len}, \"            f\"actual={len(raw) - 2}\"        )    pos = 2    result = []    while pos &lt; len(raw):        if pos + 2 &gt; len(raw):            raise RuntimeError(                \"Malformed SCT list\"            )        sct_len = u16(raw, pos)        pos += 2        if pos + sct_len &gt; len(raw):            raise RuntimeError(                \"Malformed SCT length\"            )        sct = raw[pos:pos + sct_len]        pos += sct_len        result.append(            parse_sct(sct)        )    return result# ============================================================# Match LogID -&gt; CT log# ============================================================def find_log_by_id(log_id_bytes):    wanted = b64(log_id_bytes)    for log in LOGS:        if log[\"log_id\"] == wanted:            return log    return None# ============================================================# Reconstruct precertificate# ============================================================def remove_sct_extension(cert):    tbs_der = cert[\"tbs_certificate\"].dump()    tbs = x509.TbsCertificate.load(tbs_der)    extensions = tbs[\"extensions\"]    found_index = None    for i, ext in enumerate(extensions):        if ext[\"extn_id\"].dotted == SCT_OID:            found_index = i            break    if found_index is None:        raise RuntimeError(            \"SCT extension not found\"        )    del extensions[found_index]    return tbs.dump()def issuer_key_hash(issuer):    spki = (        issuer[\"tbs_certificate\"]        [\"subject_public_key_info\"]        .dump()    )    return hashlib.sha256(spki).digest()def make_precert_leaf(cert, issuer, sct):    tbs = remove_sct_extension(cert)    ikh = issuer_key_hash(issuer)    leaf = bytearray()    # Version v1    leaf += b\"\\x00\"    # MerkleLeafType = timestamped_entry    leaf += b\"\\x00\"    # timestamp    leaf += struct.pack(        \"&gt;Q\",        sct[\"timestamp\"]    )    # LogEntryType = precert_entry    leaf += struct.pack(\"&gt;H\", 1)    # issuer_key_hash    leaf += ikh    # TBSCertificate    leaf += uint24(len(tbs))    leaf += tbs    # CtExtensions    leaf += struct.pack(        \"&gt;H\",        len(sct[\"extensions\"])    )    leaf += sct[\"extensions\"]    return bytes(leaf)# ============================================================# Merkle hashing# ============================================================def leaf_hash(leaf):    return hashlib.sha256(        b\"\\x00\" + leaf    ).digest()def node_hash(left, right):    return hashlib.sha256(        b\"\\x01\" + left + right    ).digest()def verify_inclusion(    leaf_hash_value,    index,    tree_size,    audit_path,):    if tree_size &lt;= 0:        return None    if index &lt; 0 or index &gt;= tree_size:        return None    fn = index    sn = tree_size - 1    r = leaf_hash_value    for p in audit_path:        if fn == sn or (fn &amp; 1):            r = node_hash(p, r)            while (                fn != 0                and (fn &amp; 1) == 0            ):                fn &gt;&gt;= 1                sn &gt;&gt;= 1        else:            r = node_hash(r, p)        fn &gt;&gt;= 1        sn &gt;&gt;= 1    if sn != 0:        return None    return r# ============================================================# CT HTTP API# ============================================================def api_url(log_url, endpoint):    return (        log_url.rstrip(\"\/\")        + \"\/ct\/v1\/\"        + endpoint    )def get_sth(log_url):    r = requests.get(        api_url(log_url, \"get-sth\"),        timeout=20,    )    r.raise_for_status()    return r.json()def get_proof(log_url, h, tree_size):    return requests.get(        api_url(            log_url,            \"get-proof-by-hash\"        ),        params={            \"hash\": b64(h),            \"tree_size\": tree_size,        },        timeout=20,    )def get_entry(log_url, index):    r = requests.get(        api_url(            log_url,            \"get-entries\"        ),        params={            \"start\": index,            \"end\": index,        },        timeout=20,    )    r.raise_for_status()    data = r.json()    entries = data.get(        \"entries\",        []    )    if len(entries) != 1:        raise RuntimeError(            f\"Expected 1 entry, \"            f\"got {len(entries)}\"        )    return entries[0]# ============================================================# Check a matched SCT# ============================================================def check_sct(    log,    cert,    issuer,    sct,):    print(\"  Getting STH...\")    sth = get_sth(log[\"url\"])    tree_size = sth[\"tree_size\"]    advertised_root = base64.b64decode(        sth[\"sha256_root_hash\"]    )    print(        \"  tree_size:\",        tree_size    )    leaf = make_precert_leaf(        cert,        issuer,        sct    )    h = leaf_hash(leaf)    print(        \"  Leaf hash:\",        b64(h)    )    response = get_proof(        log[\"url\"],        h,        tree_size,    )    print(        \"  get-proof-by-hash HTTP:\",        response.status_code    )    if response.status_code != 200:        print(\"  NOT FOUND\")        text = response.text.strip()        if text:            print(                \"  Response:\",                text[:500]            )        return False    proof = response.json()    index = proof[\"leaf_index\"]    path = [        base64.b64decode(x)        for x in proof[\"audit_path\"]    ]    print(\"  FOUND\")    print(        \"  leaf_index:\",        index    )    print(        \"  proof nodes:\",        len(path)    )    calculated_root = verify_inclusion(        h,        index,        tree_size,        path,    )    if calculated_root is None:        print(            \"  Merkle proof: INVALID\"        )        return False    if calculated_root != advertised_root:        print(            \"  Merkle root: MISMATCH\"        )        print(            \"    calculated:\",            calculated_root.hex()        )        print(            \"    advertised:\",            advertised_root.hex()        )        return False    print(        \"  Merkle proof: VALID\"    )    # --------------------------------------------------------    # Fetch actual CT entry    # --------------------------------------------------------    entry = get_entry(        log[\"url\"],        index    )    server_leaf = base64.b64decode(        entry[\"leaf_input\"]    )    if server_leaf != leaf:        print(            \"  leaf_input comparison: DIFFERENT\"        )        print(            \"    local length: \",            len(leaf)        )        print(            \"    server length:\",            len(server_leaf)        )        return False    print(        \"  leaf_input comparison: IDENTICAL\"    )    print()    print(        \"  *** INCLUSION FULLY VERIFIED ***\"    )    return True# ============================================================# Main# ============================================================def main():    if len(sys.argv) != 3:        print(            f\"Usage: {sys.argv[0]} \"            \"cert.pem issuer.pem\",            file=sys.stderr,        )        sys.exit(2)    # --------------------------------------------------------    # Check whether embedded CT log list is current    # --------------------------------------------------------    check_log_list_update()    print()    print(\"=\" * 72)    cert = read_cert(        sys.argv[1]    )    issuer = read_cert(        sys.argv[2]    )    print()    print(\"Reading SCTs...\")    scts = get_scts(cert)    print(        f\"Found {len(scts)} \"        \"embedded SCT(s)\"    )    verified = 0    for n, sct in enumerate(scts):        print()        print(\"=\" * 72)        print(f\"SCT #{n}\")        print(\"=\" * 72)        log_id = b64(            sct[\"log_id\"]        )        print(            \"Log ID:\",            log_id        )        print(            \"Timestamp:\",            sct[\"timestamp\"]        )        # ----------------------------------------------------        # Find CT log from LogID        # ----------------------------------------------------        log = find_log_by_id(            sct[\"log_id\"]        )        if log is None:            print()            print(                \"CT log: UNKNOWN\"            )            print(                \"This LogID is not present \"                \"in the built-in Yandex CT log list.\"            )            continue        print()        print(            \"CT log:\",            log[\"description\"]        )        print(            \"Operator:\",            log[\"operator\"]        )        print(            \"URL:\",            log[\"url\"]        )        print(            \"Temporal interval:\",            log[\"start\"],            \"..\",            log[\"end\"]        )        try:            ok = check_sct(                log,                cert,                issuer,                sct,            )        except Exception as e:            print()            print(                \"ERROR:\",                type(e).__name__ + \":\",                e            )            ok = False        if ok:            verified += 1    # --------------------------------------------------------    # Summary    # --------------------------------------------------------    print()    print(\"=\" * 72)    print(\"FINAL RESULT\")    print(\"=\" * 72)    print(        \"Embedded SCTs:\",        len(scts)    )    print(        \"Fully verified:\",        verified    )    if verified == len(scts):        print(            \"All SCT log entries were \"            \"successfully verified.\"        )        sys.exit(0)    elif verified:        print(            \"Some SCT log entries were \"            \"successfully verified.\"        )        sys.exit(0)    else:        print(            \"No SCT log entry was \"            \"successfully verified.\"        )        sys.exit(1)if __name__ == \"__main__\":    main()<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:87px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<p>\u0421\u043a\u0440\u0438\u043f\u0442 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438:<\/p>\n<pre><code class=\"bash\">pip install requests asn1crypto<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0435\u043c\u0443 \u043d\u0443\u0436\u0435\u043d \u0441\u0430\u043c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0438 \u0432\u044b\u043f\u0443\u0441\u043a\u0430\u044e\u0449\u0438\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 CA (\u043f\u043e\u0434\u043e\u0439\u0434\u0443\u0442 \u0444\u0430\u0439\u043b\u044b \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0445 CA \u0438\u0437 \u0430\u0440\u0445\u0438\u0432\u0430 \u2014 <a href=\"https:\/\/gu-st.ru\/content\/lending\/russian_trusted_sub_ca.zip\" rel=\"noopener noreferrer nofollow\">https:\/\/gu-st.ru\/content\/lending\/russian_trusted_sub_ca.zip<\/a>).<\/p>\n<p>\u041a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c:<\/p>\n<pre><code class=\"bash\"># ct.py - \u0441\u0430\u043c \u0441\u043a\u0440\u0438\u043f\u0442 (\u0434\u043b\u044f Python 3)# cert.pem - \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u0434\u043e\u043c\u0435\u043d\u0430 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 PEM (\u0444\u0430\u0439\u043b\u044b .crt \u0432\u043d\u0443\u0442\u0440\u0438 \u0447\u0430\u0441\u0442\u043e \u0442\u043e\u0436\u0435 \u0438\u0434\u0443\u0442 \u0441 PEM)# subca.pem - \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0433\u043e CApython ct.py cert.pem subca.pem<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0440\u0430\u0431\u043e\u0442\u044b:<\/p>\n<pre><code class=\"bash\">python ct.py _.online.sberbank.ru.crt subca.pem<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/8f0\/2cd\/d1e\/8f02cdd1e65d621324045cd02e6a15a6.png\" width=\"951\" height=\"913\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/8f0\/2cd\/d1e\/8f02cdd1e65d621324045cd02e6a15a6.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/8f0\/2cd\/d1e\/8f02cdd1e65d621324045cd02e6a15a6.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/be4\/7c8\/72b\/be47c872bc27239230a60eac44dfc939.png\" width=\"939\" height=\"176\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/be4\/7c8\/72b\/be47c872bc27239230a60eac44dfc939.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/be4\/7c8\/72b\/be47c872bc27239230a60eac44dfc939.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<h2>\u041b\u043e\u0436\u043a\u0430 \u0434\u0451\u0433\u0442\u044f<\/h2>\n<p>\u0418\u043b\u0438 \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0435\u0434\u0440\u043e \u043f\u043e\u043c\u043e\u0435\u0432.<\/p>\n<p><strong>\u0421 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c\u0438 \u0413\u041e\u0421\u0422 \u0432\u0441\u0435 \u044d\u0442\u043e \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/strong><\/p>\n<p>\u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u043f\u043e\u0447\u0435\u043c\u0443-\u0442\u043e \u0432 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u0445 \u0413\u041e\u0421\u0422 \u0447\u0430\u0441\u0442\u043e (\u0432\u0441\u0435\u0433\u0434\u0430?) \u043d\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u0441\u044f \u0437\u0430\u043f\u0438\u0441\u0438 SCT (\u044d\u0442\u043e \u043f\u043e\u043c\u0435\u0442\u043a\u0438 \u043e \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u0432 CT-\u043b\u043e\u0433\u0438, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043f\u043e\u0442\u043e\u043c \u0438 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430). \u0422\u0430\u043a, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0437\u043b\u043e\u0441\u0447\u0430\u0441\u0442\u043d\u044b\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0441\u0430\u0439\u0442\u0430 \u0413\u043e\u0441\u0443\u0441\u043b\u0443\u0433 \u0438\u0437 \u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u0438\u0445 \u043d\u0435 \u0438\u043c\u0435\u0435\u0442:<\/p>\n<pre><code>Reading SCTs...Traceback (most recent call last):  File \"\/***\/ct.py\", line 998, in &lt;module&gt;    main()  File \"\/***\/ct.py\", line 852, in main    scts = get_scts(cert)  File \"\/***\/ct.py\", line 381, in get_scts    raise RuntimeError(RuntimeError: Certificate has no embedded SCT extension<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u0447\u0442\u043e-\u0442\u043e \u044f \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u043b\u0438\u043b \u042f\u043d\u0434\u0435\u043a\u0441 \u0431\u0440\u0430\u0443\u0437\u0435\u0440: \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432 \u0413\u041e\u0421\u0422 \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u0445 \u043a\u043e\u0440\u043d\u0435\u0432\u044b\u0445 \u0443 \u043d\u0435\u0433\u043e \u043d\u0435\u043f\u0440\u043e\u0437\u0440\u0430\u0447\u0435\u043d \u0438 \u044f\u0432\u043d\u043e \u043d\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c\u0438 \u041c\u0438\u043d\u0446\u0438\u0444\u0440\u044b:<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/6ed\/c2e\/8f4\/6edc2e8f4df85eec779ee78cede33707.png\" width=\"1235\" height=\"1359\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/6ed\/c2e\/8f4\/6edc2e8f4df85eec779ee78cede33707.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/6ed\/c2e\/8f4\/6edc2e8f4df85eec779ee78cede33707.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0431\u044b\u043b\u043e \u043d\u0435\u0431\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u043d\u043e.<\/p>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1073480\/\">https:\/\/habr.com\/ru\/articles\/1073480\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u043a \u043c\u043e\u0435\u0439 \u043d\u0435\u0434\u0430\u0432\u043d\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u0440\u043e \u0444\u0435\u0439\u043b \u0441 \u0413\u041e\u0421\u0422 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u043c \u0441\u0430\u0439\u0442\u0430 \u0413\u043e\u0441\u0423\u0441\u043b\u0443\u0433 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u0434\u0438\u0441\u043a\u0443\u0441\u0441\u0438\u044f \u043e \u0434\u043e\u0432\u0435\u0440\u0438\u0438 \u043a \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u043c \u043a\u043e\u0440\u043d\u0435\u0432\u044b\u043c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c \u041c\u0438\u043d\u0446\u0438\u0444\u0440\u044b \u0438 \u043e \u0440\u0438\u0441\u043a\u0430\u0445 \u0438\u0445 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 (\u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0431\u0440\u0430\u0443\u0437\u0435\u0440, \u0438\u043b\u0438 \u0440\u0438\u0441\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u042f\u043d\u0434\u0435\u043a\u0441 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430, \u0433\u0434\u0435 \u043e\u043d\u0438 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u044b).\u0417\u0434\u0435\u0441\u044c \u0432\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0442\u044c \u0441\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0435 \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437 \u043d\u0435 \u0431\u0443\u0434\u0443, \u0432\u043a\u043b\u044e\u0447\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435\u043a\u043e\u0435 \u0441\u0430\u043c\u043c\u0430\u0440\u0438 \u0438\u0437 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0442\u0435\u0437\u0438\u0441\u043e\u0432 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043d\u0435 \u043f\u043e\u0433\u0440\u0443\u0436\u0435\u043d \u0432 \u0442\u0435\u043c\u0443:\u0421\u0430\u043c\u0438 \u043a\u043e\u0440\u043d\u0435\u0432\u044b\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b \u0443\u0441\u043b\u043e\u0432\u043d\u043e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u044b\u0418\u0437\u0432\u0438\u043d\u0438\u0442\u0435, \u044d\u0442\u043e\u0442 \u043f\u0443\u043d\u043a\u0442 \u0434\u043b\u044f \u0434\u043e\u043c\u043e\u0445\u043e\u0437\u044f\u0435\u043a \u2014 \u0441\u0430\u043c\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b \u0432\u0430\u0448 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u043d\u0435 \u0432\u0437\u043b\u043e\u043c\u0430\u044e\u0442. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438\u0445 \u0432 \u0434\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u043f\u0443\u0442\u044c \u043a \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u043c \u0430\u0442\u0430\u043a\u0430\u043c (\u0441\u043c. \u043d\u0438\u0436\u0435).\u0415\u0441\u043b\u0438 \u0432\u044b \u0438\u0445 \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u043b\u0438 \u0432 \u0434\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435, \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0432\u0430\u0448 \u0442\u0440\u0430\u0444\u0438\u043a \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u043b\u0438\u0446\u0430 \u043c\u043e\u0433\u0443\u0442 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0434\u0430\u0436\u0435 \u043f\u043e\u0434\u0434\u0435\u043b\u0430\u0442\u044c\u041f\u043e\u044f\u0441\u043d\u0435\u043d\u0438\u044f: \u043b\u0438\u0446\u0430, \u0438\u043c\u0435\u044e\u0449\u0438\u0435 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0442\u0440\u0430\u0444\u0438\u043a\u0443 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0447\u0435\u0440\u0435\u0437 \u043f\u0435\u0447\u0430\u043b\u044c\u043d\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435 \u0422\u0421\u041f\u0423), \u043c\u043e\u0433\u0443\u0442 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u0423\u0426 (\u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0440\u043d\u0435\u0432\u044b\u043c) \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432 \u043e\u043d\u043b\u0430\u0439\u043d \u0440\u0435\u0436\u0438\u043c\u0435 \u043f\u043e\u0434\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u0430, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0432\u044b \u043d\u0430\u043c\u0435\u0440\u0435\u0432\u0430\u0435\u0442\u0435\u0441\u044c \u0441\u0432\u044f\u0437\u0430\u0442\u044c\u0441\u044f \u2014 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c, gmail.com \u0438\u043b\u0438 telegram.org. \u042d\u0442\u043e \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f MitM-\u0430\u0442\u0430\u043a\u0430, \u043d\u0430 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u043c \u0441\u0435\u0442\u0435\u0432\u043e\u043c \u0443\u0437\u043b\u0435 \u0442\u0440\u0430\u0444\u0438\u043a \u043c\u043e\u0436\u043d\u043e \u0447\u0438\u0442\u0430\u0442\u044c \u0438\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u043f\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044e \u0430\u0442\u0430\u043a\u0443\u044e\u0449\u0435\u0433\u043e.\u0425\u043e\u0442\u044c \u0438 \u043d\u0435 \u0445\u043e\u0447\u0443 \u0441\u0441\u044b\u043b\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u044d\u0442\u043e\u0433\u043e \u043d\u0435\u0439\u0440\u043e\u0441\u043b\u043e\u043f\u043e\u0432\u043e\u0433\u043e \u0448\u043a\u043e\u043b\u043e\u0442\u0440\u043e\u043d\u0430 (zarazaexe), \u043d\u043e \u0441\u0432\u0435\u0436\u0435\u0435 \u0438 \u0434\u043e\u0445\u043e\u0434\u0447\u0438\u0432\u0435\u0435 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0448\u0435\u043b \u2014 \u043f\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435.\u0417\u0430\u0449\u0438\u0442\u0438\u0442\u044c\u0441\u044f \u043e\u0442 \u0442\u0430\u043a\u043e\u0439 \u0430\u0442\u0430\u043a\u0438 \u0441\u043b\u043e\u0436\u043d\u043e\u041c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0443\u0449\u0435\u0440\u0431. \u0421\u043a\u0430\u0436\u0435\u043c, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043a\u043e\u0440\u043d\u0435\u0432\u044b\u0435 \u043e\u0442\u0435\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0438\u043b\u0438 \u043f\u0440\u043e\u0444\u0438\u043b\u044c \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0442\u043e\u043b\u044c\u043a\u043e, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u043d\u0430 \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0435 \u0441\u0430\u0439\u0442\u044b, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u043d\u0430\u0447\u0435 \u0437\u0430\u0439\u0442\u0438 \u043d\u0435\u043b\u044c\u0437\u044f.\u0422\u0430\u043a\u0436\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0434\u0438\u043a\u0438\u0445 \u043a\u043e\u0441\u0442\u044b\u043b\u0435\u0439 (\u0443\u0436 \u043f\u0440\u043e\u0441\u0442\u0438\u0442\u0435, @outlingo) \u043c\u043e\u0436\u043d\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c \u0437\u043e\u043d\u0443 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043a\u043e\u0440\u043d\u0435\u0432\u044b\u0445 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432 (\u0441\u043a\u0430\u0436\u0435\u043c, \u0434\u043e *.ru).Certificate Transparency \u043b\u043e\u0433\u0438 \u0438 \u042f\u043d\u0434\u0435\u043a\u0441 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u2014 \u043d\u0435\u043f\u043b\u043e\u0445\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0432 \u043f\u043b\u0430\u043d\u0435 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438\u041f\u0440\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0442\u0443\u0442 (\u043d\u0443 \u0438\u043b\u0438 \u0432 \u0432\u0438\u043a\u0438\u043f\u0435\u0434\u0438\u0438). \u0412 \u043a\u0440\u0430\u0446\u0438\u0438: \u0437\u0430\u043f\u0438\u0441\u044c \u043e \u0432\u044b\u0434\u0430\u043d\u043d\u043e\u043c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u0438\u043f\u0430-\u0431\u043b\u043e\u043a\u0447\u0435\u0439\u043d, \u0430 \u0432 \u0441\u0430\u043c \u0441\u0435\u0440\u0442 \u2014 \u043f\u043e\u043c\u0435\u0442\u043a\u0438 \u043e\u0431 \u044d\u0442\u043e\u043c.\u0423 \u043c\u0435\u043d\u044f \u043c\u0430\u043b\u043e \u0445\u043e\u0440\u043e\u0448\u0438\u0445 \u0441\u043b\u043e\u0432 \u0432 \u0430\u0434\u0440\u0435\u0441 \u042f\u043d\u0434\u0435\u043a\u0441 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0438 \u042f\u043d\u0434\u0435\u043a\u0441\u0430 \u0432\u043e\u043e\u0431\u0449\u0435, \u043d\u043e \u0442\u0443\u0442 \u0438\u043c \u043d\u0430\u0434\u043e \u043e\u0442\u0434\u0430\u0442\u044c \u0434\u043e\u043b\u0436\u043d\u043e\u0435: \u043e\u043d\u0438 \u0438\u043d\u0438\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0438 \u043f\u0440\u043e\u0434\u0430\u0432\u0438\u043b\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0432\u0441\u0435 \u0432\u044b\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u044b\u0435 \u043e\u0442\u0435\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0441 CT-\u043b\u043e\u0433\u0438 (https:\/\/habr.com\/ru\/companies\/yandex\/articles\/667300\/).\u042f\u043d\u0434\u0435\u043a\u0441 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 (\u0435\u0441\u043b\u0438 \u043d\u0435 \u0432\u0440\u0451\u0442) \u0431\u0435\u0437 \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 CT-\u043b\u043e\u0433\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u043d\u0435 \u043f\u0440\u0438\u043c\u0435\u0442. \u042d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u043e\u0441\u043b\u043e\u0436\u043d\u044f\u0435\u0442 \u043e\u043d\u043b\u0430\u0439\u043d MitM-\u0430\u0442\u0430\u043a\u0438 \u0438 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043b\u0435\u0434\u044b \u043e\u0442 \u043f\u043e\u043f\u044b\u0442\u043e\u043a.\u0414\u0440\u0443\u0433\u0438\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u043f\u0440\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u043a\u043e\u0440\u043d\u0435\u0432\u044b\u0445 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 CT-\u043b\u043e\u0433\u043e\u0432 \u0434\u043b\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0446\u0435\u043f\u043e\u0447\u0435\u043a \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u044e\u0442 (\u043d\u0443 \u0442\u0438\u043f\u0430 \u0434\u0443\u043c\u0430\u044e\u0442, \u0447\u0442\u043e \u043e\u043d\u0438 \u0432 \u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u0435).\u0426\u0435\u043b\u044c \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u2014 \u043a\u0440\u0430\u0442\u043a\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e\u0431 CT-\u043b\u043e\u0433\u0430\u0445 \u0434\u043b\u044f \u043e\u0442\u0435\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432 \u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0445 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043d\u0438\u043c\u0438.CT-\u043b\u043e\u0433 \u043e\u0442\u0435\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439\u041d\u0443 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438\u0445 \u0442\u0440\u0438:Yandex Agate LogVK NCA LogThe Ministry of Digital Development and Communications Log(\u043c\u043e\u0436\u0435\u0442 \u0435\u0441\u0442\u044c \u0438 \u0434\u0440\u0443\u0433\u0438\u0435, \u043d\u043e \u042f\u043d\u0434\u0435\u043a\u0441 \u0434\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u044d\u0442\u0438\u043c).\u0422\u0443\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u0445 \u043b\u043e\u0433\u043e\u0432 \u042f\u043d\u0434\u0435\u043a\u0441 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0441\u043e \u0441\u0441\u044b\u043b\u043a\u0430\u043c\u0438 \u0438 \u0445\u0435\u0448\u0430\u043c\u0438 \u043a\u043b\u044e\u0447\u0435\u0439 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 JSON \u2014 https:\/\/browser-resources.s3.yandex.net\/ctlog\/ctlog.json.\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0439 \u0444\u0430\u043a\u0442 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u043b\u043e\u0433\u0438 \u043d\u0435 \u0441\u0442\u0430\u0442\u0438\u0447\u043d\u044b, \u0438 \u0438\u0445 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u044e\u0442 \u043a\u0430\u0436\u0434\u044b\u0439 \u0433\u043e\u0434.\u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 CT-\u043b\u043e\u0433\u0430\u043c\u0438\u0422\u043e, \u0447\u0442\u043e \u042f\u043d\u0434\u0435\u043a\u0441 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 \u043b\u043e\u0433\u0430\u0445, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0445\u043e\u0440\u043e\u0448\u043e&#8230; \u0410 \u0432\u043e\u0442 \u043a\u0430\u043a \u0431\u044b \u0441\u0430\u043c\u043e\u043c\u0443 \u0440\u0443\u043a\u0430\u043c\u0438 \u0432\u0441\u0435 \u044d\u0442\u043e \u043f\u043e\u0449\u0443\u043f\u0430\u0442\u044c?\u0421\u0430\u043c\u0438 \u043b\u043e\u0433\u0438 \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u044b \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e\u043d\u0435\u043d\u0430\u0432\u0438\u0441\u0442\u043d\u0438\u0447\u0435\u0441\u043a\u0438, \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043f\u043e \u0441\u0441\u044b\u043b\u043e\u0447\u043a\u0435, \u0432\u0441\u0435 \u043b\u0438 \u0445\u043e\u0440\u043e\u0448\u043e \u0443 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u0441 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0432 \u043b\u043e\u0433, \u043d\u0435\u043b\u044c\u0437\u044f.\u0412\u043e\u043e\u0431\u0449\u0435, \u0434\u043e\u0431\u0440\u044b\u0435 \u043b\u044e\u0434\u0438 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 (\u043d\u0430\u043f\u043e\u0434\u043e\u0431\u0438\u0435 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u0432 \u0431\u043b\u043e\u043a\u0447\u0435\u0439\u043d\u0430), \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0430\u0440\u0441\u044f\u0442 \u044d\u0442\u0438 \u043b\u043e\u0433\u0438 \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u043f\u043e\u0438\u0441\u043a\u0430\u0442\u044c \u0438 \u043f\u043e\u043a\u043b\u0438\u043a\u0430\u0442\u044c. \u041d\u043e \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0441 \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u043c\u0438 \u043b\u043e\u0433\u0430\u043c\u0438 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 (\u0430 \u0441\u0430\u043c\u044b\u0439 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 https:\/\/crt.sh\/ \u2014 \u0442\u0430\u043a \u043f\u043e-\u043c\u043e\u0435\u043c\u0443 \u0432\u043e\u043e\u0431\u0449\u0435 \u0441\u0434\u043e\u0445). \u0415\u0441\u0442\u044c \u043e\u0442\u0435\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0430\u043d\u0430\u043b\u043e\u0433 \u2014 https:\/\/ct.tlscc.ru\/. \u0418 \u0441\u043d\u043e\u0432\u0430 &#171;\u043d\u043e&#187; \u2014 \u043f\u043e\u0445\u043e\u0436\u0435, \u0447\u0442\u043e \u043e\u043d \u0442\u043e\u0436\u0435 \u0441\u043b\u0435\u0433\u043a\u0430 \u0437\u0430\u0431\u0440\u043e\u0448\u0435\u043d: \u0442\u0430\u043a, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u0434\u043b\u044f db.vtb.ru) \u044f \u0442\u0430\u043c \u043d\u0435 \u043d\u0430\u0448\u0435\u043b, \u0438 \u0432\u043e\u043e\u0431\u0449\u0435, \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043e\u043d \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0441 \u043d\u043e\u0432\u044b\u043c\u0438 \u0430\u0434\u0440\u0435\u0441\u0430\u043c\u0438 CT-\u043b\u043e\u0433\u043e\u0432 2027 \u0433\u043e\u0434\u0430 (\u0441\u043c. \u0432\u044b\u0448\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: https:\/\/ct-agate.yandex.net\/2027\/).\u0422\u0430\u043a \u0447\u0442\u043e \u044f, \u0441\u043c\u0438\u0440\u0438\u0432 \u0441\u0442\u044b\u0434, \u043f\u043e\u043c\u0443\u0447\u0438\u043b ChatGPT \u0438 \u0440\u043e\u0434\u0438\u043b \u043e\u0442 \u043d\u0435\u0433\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432 \u043f\u043e \u0432\u0441\u0435\u043c \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u043c \u043b\u043e\u0433\u0430\u043c:\u041a\u043e\u0434 (\u0443\u0431\u0440\u0430\u043b \u043f\u043e\u0434 \u0441\u043f\u043e\u0439\u043b\u0435\u0440)#!\/usr\/bin\/env python3import sysimport jsonimport base64import hashlibimport structimport requestsfrom asn1crypto import x509, pem# ============================================================# Yandex CT log list# Static snapshot:#   version: 1.229#   log_list_timestamp: 2026-08-12T22:00:21Z# ============================================================REMOTE_LOG_LIST_URL = \\    &#171;https:\/\/browser-resources.s3.yandex.net\/ctlog\/ctlog.json&#187;STATIC_LIST_VERSION = &#171;1.229&#187;STATIC_LIST_TIMESTAMP = &#171;2026-08-12T22:00:21Z&#187;LOGS = [    {        &#171;operator&#187;: &#171;Yandex&#187;,        &#171;description&#187;: &#171;Yandex Agate-2026 log&#187;,        &#171;url&#187;: &#171;https:\/\/ct-agate.yandex.net\/2026\/&#187;,        &#171;log_id&#187;: &#171;Vh7HRN8a9wLmJoOt38SVz3WjGwxs6KDH6gEDMJC3SIU=&#187;,        &#171;start&#187;: &#171;2026-01-01T00:00:00Z&#187;,        &#171;end&#187;: &#171;2027-01-01T00:00:00Z&#187;,    },    {        &#171;operator&#187;: &#171;Yandex&#187;,        &#171;description&#187;: &#171;Yandex Agate-2027 log&#187;,        &#171;url&#187;: &#171;https:\/\/ct-agate.yandex.net\/2027\/&#187;,        &#171;log_id&#187;: &#171;GukWh2bX94qcsIb4xJw8Xc64yZMAqa9L\/7CbB0+BLBc=&#187;,        &#171;start&#187;: &#171;2027-01-01T00:00:00Z&#187;,        &#171;end&#187;: &#171;2028-01-01T00:00:00Z&#187;,    },    {        &#171;operator&#187;: &#171;VK LLC&#187;,        &#171;description&#187;: &#171;VK &#8216;NCA2026&#8217; Log&#187;,        &#171;url&#187;: &#171;https:\/\/ctlog2026.mail.ru\/nca2026\/&#187;,        &#171;log_id&#187;: &#171;eNkSvkIKwAIcul2iVDKRU9tIywYr\/EMBJB4Qq8cWnmc=&#187;,        &#171;start&#187;: &#171;2026-01-01T00:00:00Z&#187;,        &#171;end&#187;: &#171;2027-01-01T00:00:00Z&#187;,    },    {        &#171;operator&#187;: &#171;VK LLC&#187;,        &#171;description&#187;: &#171;VK &#8216;NCA2027&#8217; Log&#187;,        &#171;url&#187;: &#171;https:\/\/ctlog2027.mail.ru\/nca2027\/&#187;,        &#171;log_id&#187;: &#171;1LN\/8nNPJvHlUHXlhVtwT95xu30Fx1fT3OsTf2JDrSQ=&#187;,        &#171;start&#187;: &#171;2027-01-01T00:00:00Z&#187;,        &#171;end&#187;: &#171;2028-01-01T00:00:00Z&#187;,    },    {        &#171;operator&#187;:            &#171;The Ministry of Digital Development and Communications&#187;,        &#171;description&#187;:            &#171;The Ministry of Digital Development and Communications &#187;            &#171;&#8216;2026&#8217; Log&#187;,        &#171;url&#187;: &#171;https:\/\/26.ctlog.digital.gov.ru\/2026\/&#187;,        &#171;log_id&#187;: &#171;ybgRvMAcYl3KJ\/TWxEfLX34Ov3LLWZGoMy+Zv5oqPko=&#187;,        &#171;start&#187;: &#171;2026-01-01T00:00:00Z&#187;,        &#171;end&#187;: &#171;2027-01-01T00:00:00Z&#187;,    },    {        &#171;operator&#187;:            &#171;The Ministry of Digital Development and Communications&#187;,        &#171;description&#187;:            &#171;The Ministry of Digital Development and Communications &#187;            &#171;&#8216;2027&#8217; Log&#187;,        &#171;url&#187;: &#171;https:\/\/27.ctlog.digital.gov.ru\/2027\/&#187;,        &#171;log_id&#187;: &#171;TJig3bv0dZNmDDboZiaHFAn5fnh4TpGeqWr4HFMnXNY=&#187;,        &#171;start&#187;: &#171;2027-01-01T00:00:00Z&#187;,        &#171;end&#187;: &#171;2028-01-01T00:00:00Z&#187;,    },]SCT_OID = &#171;1.3.6.1.4.1.11129.2.4.2&#187;# ============================================================# Helpers# ============================================================def read_cert(path):    with open(path, &#171;rb&#187;) as f:        data = f.read()    if pem.detect(data):        _, _, data = pem.unarmor(data)    return x509.Certificate.load(data)def u16(b, off):    return struct.unpack(&#171;&gt;H&#187;, b[off:off + 2])[0]def u64(b, off):    return struct.unpack(&#171;&gt;Q&#187;, b[off:off + 8])[0]def uint24(n):    return n.to_bytes(3, &#171;big&#187;)def b64(data):    return base64.b64encode(data).decode(&#171;ascii&#187;)# ============================================================# Check remote log list for updates# ============================================================def flatten_remote_logs(data):    result = []    for operator in data.get(&#171;operators&#187;, []):        operator_name = operator.get(&#171;name&#187;, &#171;?&#187;)        for log in operator.get(&#171;logs&#187;, []):            interval = log.get(&#171;temporal_interval&#187;, {})            result.append({                &#171;operator&#187;: operator_name,                &#171;description&#187;: log.get(&#171;description&#187;, &#171;?&#187;),                &#171;url&#187;: log.get(&#171;url&#187;),                &#171;log_id&#187;: log.get(&#171;log_id&#187;),                &#171;start&#187;: interval.get(&#171;start_inclusive&#187;),                &#171;end&#187;: interval.get(&#171;end_exclusive&#187;),            })    return resultdef log_identity(log):    return log.get(&#171;log_id&#187;)def check_log_list_update():    &#171;&#187;&#187;    Check Yandex ctlog.json.    Failure to download the list is NOT fatal.    The embedded static list will still be used.    &#171;&#187;&#187;    print(&#171;Checking CT log list&#8230;&#187;)    print(&#187;  URL:&#187;, REMOTE_LOG_LIST_URL)    try:        r = requests.get(            REMOTE_LOG_LIST_URL,            timeout=5,        )        r.raise_for_status()        data = r.json()    except Exception as e:        print(&#187;  Remote list unavailable:&#187;, e)        print(            &#187;  Using built-in list version&#187;,            STATIC_LIST_VERSION        )        return    remote_version = str(data.get(&#171;version&#187;, &#171;?&#187;))    remote_timestamp = data.get(&#171;log_list_timestamp&#187;, &#171;?&#187;)    print(&#187;  Built-in version:&#187;, STATIC_LIST_VERSION)    print(&#187;  Remote version:  &#171;, remote_version)    print(&#187;  Remote timestamp:&#187;, remote_timestamp)    remote_logs = flatten_remote_logs(data)    static_by_id = {        log_identity(x): x        for x in LOGS    }    remote_by_id = {        log_identity(x): x        for x in remote_logs    }    changed = False    # &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;    # Added logs    # &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;    added = (        set(remote_by_id)        &#8212; set(static_by_id)    )    if added:        changed = True        print()        print(&#187;  NEW LOGS in remote list:&#187;)        for log_id in sorted(added):            x = remote_by_id[log_id]            print()            print(&#187;    +&#187;, x[&#171;description&#187;])            print(&#187;      URL:   &#171;, x[&#171;url&#187;])            print(&#187;      Log ID:&#187;, x[&#171;log_id&#187;])    # &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;    # Removed logs    # &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;    removed = (        set(static_by_id)        &#8212; set(remote_by_id)    )    if removed:        changed = True        print()        print(&#187;  LOGS REMOVED from remote list:&#187;)        for log_id in sorted(removed):            x = static_by_id[log_id]            print()            print(&#187;    -&#171;, x[&#171;description&#187;])            print(&#187;      URL:   &#171;, x[&#171;url&#187;])            print(&#187;      Log ID:&#187;, x[&#171;log_id&#187;])    #&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-491899","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/491899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=491899"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/491899\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=491899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=491899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=491899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}