File: README

package info (click to toggle)
golang-github-google-certificate-transparency 0.0~git20160709.0.0f6e3d1~ds1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 5,676 kB
  • sloc: cpp: 35,278; python: 11,838; java: 1,911; sh: 1,885; makefile: 950; xml: 520; ansic: 225
file content (34 lines) | stat: -rw-r--r-- 1,269 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
To run the python scripts

1. Install the following additional packages
gflags (python_gflags if using easy_install)
gviz-api-py (easy_install 'https://google-visualization-python.googlecode.com/files/gviz_api_py-1.8.2.tar.gz')
requests (at least version 1.0)
protobuf
ecdsa
mock
twisted (at least 12.1; tested with 13.2)
pycrypto (at least 2.5; tested with 2.6.1)

If you use pip, simply run `pip install -r requirements.txt`

2. Install the protoc compiler from https://github.com/google/protobuf/

3. Run 'make' in the parent python/ directory to
generate the Python versions of CT protocol buffers.

4. Make sure the python/ directory is on your Python path

5. Run 'make test' in the parent python/ directory to run unit tests.

6. Try out the client tools:

 a. Choose a location for your SQLite database. The default location is
    "/tmp/ct". If you prefer another location then you have to modify
    command line flags accordingly when launching the scripts.

 b. Launch ct/dashboard/dashboard.py
    This launches a simple web server for displaying log data, and a
    background process for probing the log(s) periodically. The default
    output is at http://127.0.0.1:8000 and the default configuration
    file for logs to probe is at config/logs.config