
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
This python library contains common Blockcerts models and accessors used by other Blockcerts python libraries.
Subpackages:
Parses different versions of Blockcerts JSON files into a common Certificate model.
Blockchain certificate storage. This is used as a library in the cert-viewer project.
The certificate storage interface is simplekv. The default configurations use the FilesystemStore, which is highly recommended if you are getting started. This makes it easier to issue, copy, and view your Blockchain Certificates.
The certificate storage location can be modified with the following configuration entries in your conf.ini
file:
cert_store_type
: which key-value backing store to use. Current supported values are:
simplekv_fs
: (Default) file system storesimplekv_gridfs
: (Advanced) gridfs storecert_store_path
: file system path if using simplekv_fs
mongodb_uri
: mongo db uri (including db name) if using simplekv_gridfs
Example File System config:
cert_store_type = simplekv_fs
cert_store_path = ./cert_data
Example GridFS config (Advanced):
cert_store_type = simplekv_gridfs
mongodb_uri = mongodb://localhost:27017/test
Warning
Most users should ignore these instructions, which are only included as a temporary bridge for earlier users of blockcerts. We recommend migrating to the latest version of Blockcerts.
Warning: avoid this option unless you are sure you need it. Earlier versions of the Blockchain Certificate
required a separate storage of the certificate transaction id. That was managed in a certificates
mongo db table.
The --v1_aware
flag allows support for these certificates.
Ensure you have an python environment. Recommendations
Git clone the repository and change to the directory
git clone https://github.com/blockchain-certificates/cert-core.git && cd cert-core
pip install .
This project uses tox to validate against several python environments.
Ensure you have an python environment. Recommendations
Run tests
./run_tests.sh
./release_package.sh
Contact us at the Blockcerts community forum.
FAQs
Blockcerts core models for python
We found that cert-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.