microsoft / CCF

Confidential Consortium Framework

Home Page:https://microsoft.github.io/CCF/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The restriction on member encryption keys (RSA only) should be checked as early as possible and made clear in the doc

achamayou opened this issue · comments

This restriction is currently raised when a member first tries to active, which is early enough to avoid impact to the consensus, but not user friendly.

Instead, CCF should check (and raise an error if needed) in two places:

  1. In the start config when members are provided there
  2. In the validate() call for set_member

In addition, the doc should make clear why EC keys are not supported for this purpose.