No project description provided
Project description
Certificates Generation Tools
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file certificates-generation-tools-0.0.4.tar.gz
.
File metadata
- Download URL: certificates-generation-tools-0.0.4.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42a01e9ba6baa401b124014237ed2761de34ba220c0dadfc12ccf8b7a9b9ee63 |
|
MD5 | 7d5b4719282cee0b74db214d27a99bc8 |
|
BLAKE2b-256 | 229bf32f220db0e95f41ea7e71d16afc053182d4435550ba8d4b3331a393b16f |
File details
Details for the file certificates_generation_tools-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: certificates_generation_tools-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65263ac10c83fc8b52d844ff2768794a3eb58a838feddb66aed684b0c1ee66e9 |
|
MD5 | 122f80292fef3f76a706a32235721df5 |
|
BLAKE2b-256 | 0c3e9acb880b7957fd51c2e43b0a46133e2a88188bdb9b353a67d3425db09fc2 |