DZhangLab / HIDe-infrastructure

2 stars 0 forks source link

Research if a Fabric CA can be customized to use an open public CA #21

Open zhangpn opened 1 year ago

zhangpn commented 1 year ago

Any public CA in the family of keccak256

Keccak: https://www.npmjs.com/package/keccak

Keccak256 (specific implementation): https://www.npmjs.com/package/keccak256

Wyntuition commented 1 year ago
    - It appears Fabric can be pointed to a public CA via fabric ca client CLI commands, but we haven't tested it yet, and it is not normally done. Should we spend time doing that?
            - What are needs for a public CA vs private single CA? Same roles, more trusted? 
                - all orgs can use 1 CA. But not normal to use a public one as not needed and not private 
                - How important for testing purposes?
Wyntuition commented 1 year ago

Notes - steps to configuring an open public CA

You can use a non-Fabric CA -

Note, Fabric CA performs these functions:

Some key terms:

Some key workflow steps:

./fabric-ca-client register -d --id.name <ID_NAME> --id.secret <ID_SECRET> -u <CA_URL> --mspdir <CA_ADMIN> --id.type <ID_TYPE> --id.attrs $ID_ATTRIBUTE --tls.certfiles <TLSCERT>

Configuring a CA in HLF:

Image

Wyntuition commented 1 year ago

Closing this, as for now we are planning to create private-public key pairs using keccak256 on the device and into an ethereum address, to act as a public CA.