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
Metadata
Release files for certificates-generation-tools 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| certificates-generation-tools-0.0.4.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| certificates_generation_tools-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / certificates-generation-tools-0.0.4.tar.gz
| Download URL | certificates-generation-tools-0.0.4.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42a01e9ba6baa401b124014237ed2761de34ba220c0dadfc12ccf8b7a9b9ee63
|
|
BLAKE2b-256 checksum How to use checksums |
229bf32f220db0e95f41ea7e71d16afc053182d4435550ba8d4b3331a393b16f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / certificates_generation_tools-0.0.4-py3-none-any.whl
| Download URL | certificates_generation_tools-0.0.4-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
65263ac10c83fc8b52d844ff2768794a3eb58a838feddb66aed684b0c1ee66e9
|
|
BLAKE2b-256 checksum How to use checksums |
0c3e9acb880b7957fd51c2e43b0a46133e2a88188bdb9b353a67d3425db09fc2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|