CaliDog / Axeman

Axeman is a utility to retrieve certificates from Certificate Transparency Lists (CTLs)
MIT License
217 stars 71 forks source link

Axeman is only pulling from one log #6

Open hailnick opened 5 years ago

hailnick commented 5 years ago

Hi I have set up Axeman on a Google Compute Engine machine running Ubuntu 16.04 LTS server. When I run the program: axeman -c 16 The program downloads 32GB of data from https://ct.googleapis.com/logs/argon2019/ct/v1 and haults. If I try to download a specific log: Axeman -c 16 -u ‘https://ct.googleapis.com/logs/argon2019/ct/v1‘ The program outputs [INFO:root] - the current time - Starting... Although no files are downloaded and the console allows input as if the program didn’t begin properly.

Fitblip commented 5 years ago

Hey sorry for the delay here, I don't have time to check into this, but if you wanted to submit a PR to remedy that'd be great!

wizche commented 4 years ago

Hey @hailnick, it looks like the format must match the one returned by the CTL list (-l)

> python3 -m axeman.core -l
Found 48 CTLs...
Google 'Argon2019' log
    \- URL:            ct.googleapis.com/logs/argon2019
    \- Owner:          Google
    \- Cert Count:     854,510,771
    \- Max Block Size: 128
...

So passing ct.googleapis.com/logs/argon2019 will do the job.

> python3 -m axeman.core -u ct.googleapis.com/logs/argon2019
[INFO:root] 2019-11-05 21:34:13,495 - Starting...
[INFO:root] 2019-11-05 21:34:13,614 - Downloading certificates for Google 'Argon2019' log
...