Skip to main content

A python utils library

Project description

Python utils library and tools for certificate transparency.


As a tool:

> verify-scts --help

usage: verify-scts [-h] [--short | --debug]
                   [--cert-only | --tls-only | --ocsp-only]
                   hostname [hostname ...]

positional arguments:
  hostname     host name of the server (example: '')

optional arguments:
  -h, --help   show this help message and exit
  --short      show short result and warnings/errors only
  --debug      show more for diagnostic purposes
  --cert-only  only validate SCTs included in the certificate
  --tls-only   only validate SCTs gathered from TLS handshake
  --ocsp-only  only validate SCTs gathered via OCSP status request


# has scts via
#           TLS-extension   OCSP-extension             certificate (precert)

verify-scts --short

# Module entry points:
python -m ctutlz
python -m ctutlz.verify_scts

Import module in your python code:

import ctutlz


Install the latest version of the pypi python package ctutlz:

pip install --process-dependency-links  ctutlz


Clone the source code repository:

git clone

Run unit tests with pytest

pip install --user  pytest  utlz
PYTHONPATH=".:$PYTHONPATH"  python -m pytest

Run unit tests against several pythons with tox:

# install tox
pip install tox

# install and activate different python versions
fab setup.pyenv -H localhost
pyenv install  2.6.9  2.7.13  3.3.6  3.4.6  3.5.3  3.6.0
pyenv local  system  2.6.9  2.7.13  3.3.6  3.4.6  3.5.3  3.6.0

# build and run tests
python -m tox

Build and publish package:

# install pypandoc and twine
pip install  pypandoc  twine

# build package
python sdist

# upload to
twine  upload  dist/ctutlz-<VERSION>.tar.gz

# useful oneliners
rm -rf .tox/; python3.6 -m tox
rm -rf dist/; python3.6 sdist; ls -hal dist/
python3.6 -m twine  upload  dist/ctutlz*

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ctutlz, version 0.5.1
Filename, size File type Python version Upload date Hashes
Filename, size ctutlz-0.5.1.tar.gz (14.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page