certificates-generation-tools


Namecertificates-generation-tools JSON
Version 0.0.4 PyPI version JSON
download
home_pagehttps://github.com/LeConTesteur/certificates-generation-tools
Summary
upload_time2023-10-09 09:46:37
maintainer
docs_urlNone
authorLeConTesteur
requires_python>=3.8
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Certificates Generation Tools

![build](https://github.com/LeConTesteur/certificates-generation-tools/actions/workflows/build.yml/badge.svg)


## 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** :
```yaml
---
- 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](https://pip.pypa.io/en/stable/) to install foobar.

```bash
pip install certificates-generation-tools
```

## Usage

```bash
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 :

```bash
tox
tox -e testsacc
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/LeConTesteur/certificates-generation-tools",
    "name": "certificates-generation-tools",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "LeConTesteur",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/22/9b/f32f220db0e95f41ea7e71d16afc053182d4435550ba8d4b3331a393b16f/certificates-generation-tools-0.0.4.tar.gz",
    "platform": null,
    "description": "# Certificates Generation Tools\n\n![build](https://github.com/LeConTesteur/certificates-generation-tools/actions/workflows/build.yml/badge.svg)\n\n\n## Description\n\nThis tools can generate customs certificates for testing. The certificate be able not standard.\n\nThis tools use yaml or json file descriptor for define tasks to execute.\n\n### Example\n\nFor exemple, we can generate certificate with **notAfter** previous to **notBefore** :\n```yaml\n---\n- kind: key\n  name: world\n  bits: 8192\n- kind: cert\n  name: world\n  private_keyid: world\n  autosign: true\n  notBefore: '1990-01-01'\n  notAfter: '2000-11-30'\n  subject:\n    CN: world\n  isCa: false\n  CrlDP:\n    uris:\n    - http://aroundtheworld.cam\n```\n\nAnd the command to run: `certs-gen-tools -f example.yaml -F yaml`.\n\nMore example are present into *examples* directory.\n\n## Installation\n\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install foobar.\n\n```bash\npip install certificates-generation-tools\n```\n\n## Usage\n\n```bash\ncerts-gen-tools --help\nusage: certs-gen-tools [-h] -f FILE [-F {json,yaml}] [-d WORKDIR] [-D] [-C]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -f FILE, --file FILE  Define the file contains actions list\n  -F {json,yaml}, --format {json,yaml}\n                        Define the format of files\n  -d WORKDIR, --workdir WORKDIR\n                        Define the workdir where files will be generating\n  -D, --debug           Activate debug mode\n  -C, --clean-except-keys\n                        Generate all the certificates except not the keys\n```\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first\nto discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## Tests\n\nRun tests with tox command :\n\n```bash\ntox\ntox -e testsacc\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "",
    "version": "0.0.4",
    "project_urls": {
        "Bug Tracker": "https://github.com/LeConTesteur/certificates-generation-tools/issues",
        "Homepage": "https://github.com/LeConTesteur/certificates-generation-tools"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0c3e9acb880b7957fd51c2e43b0a46133e2a88188bdb9b353a67d3425db09fc2",
                "md5": "122f80292fef3f76a706a32235721df5",
                "sha256": "65263ac10c83fc8b52d844ff2768794a3eb58a838feddb66aed684b0c1ee66e9"
            },
            "downloads": -1,
            "filename": "certificates_generation_tools-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "122f80292fef3f76a706a32235721df5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 3230,
            "upload_time": "2023-10-09T09:46:36",
            "upload_time_iso_8601": "2023-10-09T09:46:36.096699Z",
            "url": "https://files.pythonhosted.org/packages/0c/3e/9acb880b7957fd51c2e43b0a46133e2a88188bdb9b353a67d3425db09fc2/certificates_generation_tools-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "229bf32f220db0e95f41ea7e71d16afc053182d4435550ba8d4b3331a393b16f",
                "md5": "7d5b4719282cee0b74db214d27a99bc8",
                "sha256": "42a01e9ba6baa401b124014237ed2761de34ba220c0dadfc12ccf8b7a9b9ee63"
            },
            "downloads": -1,
            "filename": "certificates-generation-tools-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "7d5b4719282cee0b74db214d27a99bc8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 4602,
            "upload_time": "2023-10-09T09:46:37",
            "upload_time_iso_8601": "2023-10-09T09:46:37.308260Z",
            "url": "https://files.pythonhosted.org/packages/22/9b/f32f220db0e95f41ea7e71d16afc053182d4435550ba8d4b3331a393b16f/certificates-generation-tools-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-09 09:46:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "LeConTesteur",
    "github_project": "certificates-generation-tools",
    "github_not_found": true,
    "lcname": "certificates-generation-tools"
}
        
Elapsed time: 3.22102s