Crunch Certificate Tool
This Python library is designed for the CrunchDAO Platform, exposing the certificate tools in a very small CLI.
Installation
Use pip to install the crunch-certificate package.
pip install --upgrade crunch-certificate
Usage
Enroll as a Coordinator
You can quickly enroll as a coordinator by doing the following:
crunch-certificate enroll
This will:
- generate a TLS certificate ready to be used,
- prompt you to sign the message directly from your browser.
[!WARNING] You must first register as a Coordinator on the blockchain.
Generate a Key and a Certificate for the CA
crunch-certificate ca generate
Generate a Key and a Certificate for the TLS Connection
crunch-certificate tls generate
[!NOTE] The certificate will be issued by the CrunchDAO Issuer API.
Only the public key is sent through the network, not the private key.
Sign a Message
You will be prompted to sign the message using your browser extension. A web page with instructions will open.
crunch-certificate sign
[!TIP] You can specify a hot key using
--hot-key <address>.
You can specify a wallet using--wallet-path <path-to-json-file>.
Contributing
Pull requests are always welcome! If you find any issues or have suggestions for improvements, please feel free to submit a pull request or open an issue in the GitHub repository.
License
Metadata
Release files for crunch-certificate 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| crunch_certificate-0.3.0.tar.gz | 14.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| crunch_certificate-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.1 kB
Release files / crunch_certificate-0.3.0.tar.gz
| Download URL | crunch_certificate-0.3.0.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f31533966cd0c763b21cd6923f8a2a6f9e54ff6e121568fe392c392578536047
|
|
BLAKE2b-256 checksum How to use checksums |
3b928fc38f88da35249add7a322c3bf45ecb275f4975be744d3cb84b12d63066
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / crunch_certificate-0.3.0-py3-none-any.whl
| Download URL | crunch_certificate-0.3.0-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8daea54fa97da385e3f77fd5ad0f824ff2210fe046c37aafbca5dd1abe783d0
|
|
BLAKE2b-256 checksum How to use checksums |
42d3ecf1e26f1845d7747b1ee944feb0b2bd1b051e352b864a1edc6429196f08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|