deca

module
v0.0.0-...-1e55c69 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2024 License: Apache-2.0

README

CA

DeCA

DeCA is a decentralized PKI framework compatible with X.509

DeCA can perform all the key functions of X.509 PKI standard, namely, registering, confirming, revoking and verifying TLS certificates.

DeCA is compatible with the existing PKI standard, namely X.509 It stores, issues and verifies the certificate content in X.509 format instead of creating its custom implementation.

Background

The security of PKI largely depends on the reliability of these third-party CAs, which is a single point of failure for PKI. There have been many popular CA violations in the past, among which the centralized operation mode of CA was triggered by the spread of rogue certificates.

Our goal is to completely decentralize the CA pool, and at the same time build our decentralized solution and the established PKI standard (i.e. X.509) to achieve effective real-world integration.

System architecture

DeCA proposed a decentralized PKI framework named DeCA by using IPFS and FVM technology,This framework provides data synchronization, hidden synchronization strategy and low-latency synchronization of basic data among decentralized CA groups.

The certificate is stored in decentralize storage by using the characteristics of IPFS and FVM, and cannot be tampered with, thus effectively preventing the third party from attacking.

CA

Get Start

$ go get github.com/FlowShield/deca
$ make
$ bin/ca tls -c configs/config.toml
SDK Installation
$ go get github.com/FlowShield/deca

The classic usage of CA SDK is that the client and the server use the certificate issued by CA Center for encrypted communication. The following is the usage of sdk between client and server.

See:Demo

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL