Skip to content

Commit

Permalink
Add support for CA Idemix config override
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
  • Loading branch information
jkneubuh committed Jan 5, 2023
1 parent 75d34ad commit bec4cf5
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pkg/apis/ca/v1/ca.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ type CAConfig struct {
CSP *BCCSP `json:"bccsp,omitempty"`
Intermediate IntermediateCA `json:"intermediate,omitempty"`
CRL CRLConfig `json:"crl,omitempty"`
Idemix IdemixConfig `json:"idemix,omitempty"`

// Optional client config for an intermediate server which acts as a client
// of the root (or parent) server
Expand Down Expand Up @@ -343,6 +344,18 @@ type CRLConfig struct {
Expiry commonapi.Duration `json:"expiry,omitempty"`
}

// IdemixConfig encapsulates Idemix related the configuration options
type IdemixConfig struct {
Curve string `json:"curve,omitempty"`
IssuerPublicKeyfile string `json:"issuerpublickeyfile,omitempty"`
IssuerSecretKeyfile string `json:"issuersecretkeyfile,omitempty"`
RevocationPublicKeyfile string `json:"revocationpublickeyfile,omitempty"`
RevocationPrivateKeyfile string `json:"revocationprivatekeyfile,omitempty"`
RHPoolSize int `json:"rhpoolsize,omitempty"`
NonceExpiration string `json:"nonceexpiration,omitempty"`
NonceSweepInterval string `json:"noncesweepinterval,omitempty"`
}

// Options contains configuration for the operations system
type Options struct {
ListenAddress string `json:"listenaddress,omitempty"`
Expand Down
25 changes: 25 additions & 0 deletions release_notes/v1.0.4-2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
v1.0.4-2 Release notes - Jan 5, 2023
------------------------

Release Notes
-------------

v1.0.4-2 is a patch release, providing updates for the following issues in the operator:

- Adds support for [Idemix config](https://github.com/hyperledger/fabric-ca/blob/main/lib/server/idemix/config.go#L29) overrides in CA CRD spec.configoverride

Known Vulnerabilities
---------------------
none

Resolved Vulnerabilities
------------------------
none

Known Issues & Workarounds
--------------------------
none

Change Log
----------
none

0 comments on commit bec4cf5

Please sign in to comment.