crunch-certificate - Certificate module for the CrunchDAO Platform
Project description
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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crunch_certificate-0.3.0.tar.gz.
File metadata
- Download URL: crunch_certificate-0.3.0.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f31533966cd0c763b21cd6923f8a2a6f9e54ff6e121568fe392c392578536047
|
|
| MD5 |
76306da05c0eef4d39a5ae20600bf78e
|
|
| BLAKE2b-256 |
3b928fc38f88da35249add7a322c3bf45ecb275f4975be744d3cb84b12d63066
|
File details
Details for the file crunch_certificate-0.3.0-py3-none-any.whl.
File metadata
- Download URL: crunch_certificate-0.3.0-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8daea54fa97da385e3f77fd5ad0f824ff2210fe046c37aafbca5dd1abe783d0
|
|
| MD5 |
19afc10d2fd1fd87ee990f409b035574
|
|
| BLAKE2b-256 |
42d3ecf1e26f1845d7747b1ee944feb0b2bd1b051e352b864a1edc6429196f08
|