d-Rickyy-b / certstream-server-go

This project aims to be a drop-in replacement for the certstream server by Calidog. This tool aggregates, parses, and streams certificate data from multiple certificate transparency logs via websocket connections to the clients.
MIT License
82 stars 9 forks source link

fix: use v3 log list urls #10

Closed d-Rickyy-b closed 1 year ago

github-actions[bot] commented 1 year ago

We couldn't find any modification to the CHANGELOG.md file. If your changes are not suitable for the changelog, that's fine. Otherwise please add them to the changelog!

ld73 commented 1 year ago

Hi I get the following error: [root@comp-kvm-processor-51ad77 certstream-server-go-1.0.0]# ./main 2022/10/21 13:34:38 server.go:160: Starting webserver on 0.0.0.0:8080 2022/10/21 13:34:38 ct-watcher.go:34: failed to download loglist

the format has changed from v1 to v3 _const ( // LogListURL has the master URL for Google Chrome's log list. LogListURL = "https://www.gstatic.com/ct/log_list/log_list.json" // LogListSignatureURL has the URL for the signature over Google Chrome's log list. LogListSignatureURL = "https://www.gstatic.com/ct/log_list/log_list.sig" // AllLogListURL has the URL for the list of all known logs (which isn't signed). AllLogListURL = "https://www.gstatic.com/ct/log_list/all_logs_list.json" )_

https://www.gstatic.com/ct/log_list/v3/log_list.json https://www.gstatic.com/ct/log_list/v3/log_list.sig https://www.gstatic.com/ct/log_list/v3/all_logs_list.json