Skip to main content

No project description provided

Project description

Certificates Generation Tools

build

Description

This tools can generate customs certificates for testing. The certificate be able not standard.

This tools use yaml or json file descriptor for define tasks to execute.

Example

For exemple, we can generate certificate with notAfter previous to notBefore :

---
- kind: key
  name: world
  bits: 8192
- kind: cert
  name: world
  private_keyid: world
  autosign: true
  notBefore: '1990-01-01'
  notAfter: '2000-11-30'
  subject:
    CN: world
  isCa: false
  CrlDP:
    uris:
    - http://aroundtheworld.cam

And the command to run: certs-gen-tools -f example.yaml -F yaml.

More example are present into examples directory.

Installation

Use the package manager pip to install foobar.

pip install certificates-generation-tools

Usage

certs-gen-tools --help
usage: certs-gen-tools [-h] -f FILE [-F {json,yaml}] [-d WORKDIR] [-D] [-C]

optional arguments:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  Define the file contains actions list
  -F {json,yaml}, --format {json,yaml}
                        Define the format of files
  -d WORKDIR, --workdir WORKDIR
                        Define the workdir where files will be generating
  -D, --debug           Activate debug mode
  -C, --clean-except-keys
                        Generate all the certificates except not the keys

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Tests

Run tests with tox command :

tox
tox -e testsacc

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

certificates-generation-tools-0.0.4.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file certificates-generation-tools-0.0.4.tar.gz.

File metadata

File hashes

Hashes for certificates-generation-tools-0.0.4.tar.gz
Algorithm Hash digest
SHA256 42a01e9ba6baa401b124014237ed2761de34ba220c0dadfc12ccf8b7a9b9ee63
MD5 7d5b4719282cee0b74db214d27a99bc8
BLAKE2b-256 229bf32f220db0e95f41ea7e71d16afc053182d4435550ba8d4b3331a393b16f

See more details on using hashes here.

File details

Details for the file certificates_generation_tools-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for certificates_generation_tools-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 65263ac10c83fc8b52d844ff2768794a3eb58a838feddb66aed684b0c1ee66e9
MD5 122f80292fef3f76a706a32235721df5
BLAKE2b-256 0c3e9acb880b7957fd51c2e43b0a46133e2a88188bdb9b353a67d3425db09fc2

See more details on using hashes here.

Supported by

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