Skip to main content

PKI testing tool

Project description

Certomancer

logo

status Language grade: Python

Quickly construct, mock & deploy PKI test configurations using simple declarative configuration. Includes CRL, OCSP and time stamping service provisioning.

Install with python setup.py install, and see example.yml for an example config file. The CLI comes with a built-in help function (although it isn't very helpful at this stage).

Quick start

$ pip install 'certomancer[web-api,pkcs12]' 
$ certomancer --config example.yml animate

This will run the Certomancer Animator WSGI app on your local machine, behind a development web server. Point your browser to http://localhost:9000 and take a look around.

Features

  • Declarative, YAML-based configuration.
  • Minimal input validation, so you can generate deliberately broken certificates if you need to.
  • requests-mock integration.
  • Ultra-lightweight WSGI application to serve CRLs, OCSP responses, timestamps and more. This component requires Werkzeug, and optionally Jinja2 for the index view. There are no external dependencies.
  • Plugin framework to support arbitrary certificate / CRL extensions and additional services. These plugins are compatible with the WSGI and requests-mock integrations without additional configuration.
  • For particularly complicated scenarios where the plugin API or existing integrations aren't sufficient, it is very easy to use Certomancer as a library, or wrap it as a component of some other WSGI application.
  • With pyca/cryptography installed, Certomancer can also output PKCS#12 files if your tests require those.

Non-features

This is a testing tool for developers that write software to interface with public-key infrastructure. It is NOT intended to be used to manage production PKI deployments. Certomancer is very much garbage-in garbage-out, and happily ignores validation & security best practices in favour of allowing you to abuse your codebase in the worst possible ways. Consider yourself warned.

Documentation

Project details


Download files

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

Source Distribution

certomancer-0.3.0.tar.gz (37.3 kB view details)

Uploaded Source

Built Distribution

certomancer-0.3.0-py3-none-any.whl (40.4 kB view details)

Uploaded Python 3

File details

Details for the file certomancer-0.3.0.tar.gz.

File metadata

  • Download URL: certomancer-0.3.0.tar.gz
  • Upload date:
  • Size: 37.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for certomancer-0.3.0.tar.gz
Algorithm Hash digest
SHA256 45189b47d2792f16fcfcd8f63861163cac00fa91ed59b0119dc2da21b721c8f5
MD5 c968aee1430c4baec599da36cf17c2e9
BLAKE2b-256 7ee925d8d419013acf62b8c3f573448b6ebb6b4653e469598559baf0c0cf4d6b

See more details on using hashes here.

File details

Details for the file certomancer-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: certomancer-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 40.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for certomancer-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fe568ab3ddbbb4306e9204a65994b75392388bdefeb69af17710a95fd3c4b51d
MD5 8e2d92ce8b911793b4f1344e248391a6
BLAKE2b-256 2dce011649ccadd5ca0d608adc1258ccc1bce0c3c9c76d94ac9e46ca333aab33

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page