google / certificate-transparency

Auditing for TLS certificates.
https://certificate.transparency.dev
Apache License 2.0
869 stars 283 forks source link

IllegalFlagValue in /certificate-transparency/python/ct/client/tools/print_log_list.py #174

Closed seroscar2 closed 9 years ago

seroscar2 commented 10 years ago

If launch the tool "python print_log_list.py" I get the following error:

Traceback (most recent call last): File "print_log_list.py", line 155, in sys.argv = FLAGS(sys.argv) File "/usr/local/lib/python2.7/dist-packages/gflags.py", line 1333, in call self._AssertAllValidators() File "/usr/local/lib/python2.7/dist-packages/gflags.py", line 1074, in _AssertAllValidators self._AssertValidators(all_validators) File "/usr/local/lib/python2.7/dist-packages/gflags.py", line 1093, in _AssertValidators raise IllegalFlagValue('%s: %s' % (message, str(e))) gflags.IllegalFlagValue: flag --log_list=None: Flag --log_list must be specified.

I think I fulfill all requirements, according to "pip install -r requirements.txt" output. Thanks

pphaneuf commented 10 years ago

This is just a required flag. It should contain the filename of a file containing JSON, but I'm not sure what format it should be in... @eranmes would know.

eranmes commented 9 years ago

FYI that's how you'd run this command: First, from www.certificate-transparency.org/known-logs, download log_list.json, log_list.sig, log_list_pubkey.pem and log_list_schema.json

Then: python print_log_list.py --log_list=log_list.json --signature=log_list.sig --signer_key=log_list_pubkey.pem --log_list_schema=log_list_schema.json