Skip to main content

crunch-certificate - Certificate module for the CrunchDAO Platform

Project description

Crunch Certificate Tool

PyTest

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

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crunch_certificate-0.3.0.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crunch_certificate-0.3.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

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

Hashes for crunch_certificate-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f31533966cd0c763b21cd6923f8a2a6f9e54ff6e121568fe392c392578536047
MD5 76306da05c0eef4d39a5ae20600bf78e
BLAKE2b-256 3b928fc38f88da35249add7a322c3bf45ecb275f4975be744d3cb84b12d63066

See more details on using hashes here.

File details

Details for the file crunch_certificate-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for crunch_certificate-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8daea54fa97da385e3f77fd5ad0f824ff2210fe046c37aafbca5dd1abe783d0
MD5 19afc10d2fd1fd87ee990f409b035574
BLAKE2b-256 42d3ecf1e26f1845d7747b1ee944feb0b2bd1b051e352b864a1edc6429196f08

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page