Skip to main content

gwcert

PyPI Status Python Version License

Read the documentation at https://gridworks-cert.readthedocs.io/ Tests Codecov

pre-commit Black

Tools for creating TLS certificates for use with, e.g. MQTT and RabbitMQ.

NOTE: these are temporary tools for non-production deployments. This library is more or less equivalent to a README containing OpenSSL commands, but less manual.

This library is a thin wrapper around ownca, which wraps pyca/cryptography, which wraps the OpenSSL C library. See also tls-gen, a repo from rabbitmq, which performs a similar task using a stack of make/python/OpenSSL CLI.

Features

  • Create a local Certificate Authority directory with a self-signed certificate, via gwcert ca create.
  • Create named key pairs, CSRs and certificates with arbitrary input and output paths, via gwcert key add.
  • Build cli commands visually with gwcert tui.

Installation

The recommended way to install gwcert is with pipx from PyPI:

$ pipx install gridworks-cert

Usage

Get help with any of:

gwcert
gwcert ca
gwcert key

Create a Certificate Authority directory with a self-signed certificate via:

gwcert ca create

Show information about the locally created ca and keys with:

gwcert ca info

Add a named set of keys (public, private, certificate) via, for example:

gwcert key add KEY_NAME

Show information about a certificate:

gwcert key info KEY_NAME

Build CLI commands visually:

gwcert tui

Please see the Command-line Reference for more details.

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the MIT license, gwcert is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Credits

This project was generated from @cjolowicz's Hypermodern Python Cookiecutter template.

Metadata

Release files for gridworks-cert 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gridworks-cert 0.5.0
File Size Uploaded Provenance Actions
gridworks_cert-0.5.0.tar.gz 12.0 kB Without provenance Details for gridworks_cert-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gridworks-cert 0.5.0
File Interpreter ABI Platform Actions
gridworks_cert-0.5.0-py3-none-any.whl Python 3 none any Details for gridworks_cert-0.5.0-py3-none-any.whl

Total release size: 24.8 kB

Release files / gridworks_cert-0.5.0.tar.gz

Download URL gridworks_cert-0.5.0.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f0ddf0fbad44692373a2c8d6cdc808af853a1af2d16c90dc88ccfbdf40b52ca0
BLAKE2b-256 checksum
How to use checksums
c4488bbcaf6bcbcc2f8e6dc3cd240b6a46447738b65fba6dda42e72e45c6aee9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / gridworks_cert-0.5.0-py3-none-any.whl

Download URL gridworks_cert-0.5.0-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c369a2880cf067c3d12db042d2c0e5ce89ae3505a657fec13eb65b916d9e7852
BLAKE2b-256 checksum
How to use checksums
a5678105c0e6f3e28db43962b8c4b39a1a6f38aaf8feb956ee5a786bf03cd453
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Security for gridworks-cert 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page