Skip to content
No description, website, or topics provided.
Shell JavaScript Go TSQL Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
base
bin
blockchain-explorer
browser-extensions/firefox
caliper
chaincode/ctb
channel_config_server
docs
explorer
net_testing
new_org
ocsp
scripts
server
sign
test_app
.env.sample
.gitignore
README.md
crypto-config.yaml
ctb.sh
docker-compose-ca-sample.yaml
docker-compose-cli.yaml
docker-compose-explorer.yaml
docker-compose-org-sample.yaml
docker-compose-sql.yaml
patch_certs_ip.sh
pm2.json
server.js
template-configtx.yaml
transfer_assets.sh

README.md

CTB Using Hyperledger fabric

This is based on paper Certificate Transparency Using Blockchain.

Architecture of HLCTB network

Generate crypto-config and transactions

./ctb.sh generate

Starting network and testing

./ctb.sh up

Create channel and join peers

./ctb.sh channel

Note: Single command ./ctb.sh generate <<< "Y" && ./ctb.sh up <<< "Y" && ./ctb.sh channel <<< "Y"

Structure

Certificates are available in scripts/certs. There are:

  • domain.*: domain related crypto material
  • ca.*: CA related crypto material
  • d2.*: new crypto material for same domain signed by current cert

chaincode/main.go contains chaincode CTB described in above paper.

I have modified byfn scripts and config files to incorporate CTB architecture.

Demo

This project contains a sample server/client application for testing different scenarios on HLCTB network. Code for sample application is available under test_app folder.

For more information, refer run_demo.md.

Hosting HLCTB on cloud

As the end product, this network would be running on cloud. And its service will be used for adding the necessary layer of security for certificate verification in SSL/TLS PKI communications.

On how to deploy HLCTB on a server, refer deploying_to_cloud.md.

You can’t perform that action at this time.