Skip to content

Commit bec4cf5

Browse files
committed
Add support for CA Idemix config override
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
1 parent 75d34ad commit bec4cf5

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

pkg/apis/ca/v1/ca.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ type CAConfig struct {
8888
CSP *BCCSP `json:"bccsp,omitempty"`
8989
Intermediate IntermediateCA `json:"intermediate,omitempty"`
9090
CRL CRLConfig `json:"crl,omitempty"`
91+
Idemix IdemixConfig `json:"idemix,omitempty"`
9192

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

347+
// IdemixConfig encapsulates Idemix related the configuration options
348+
type IdemixConfig struct {
349+
Curve string `json:"curve,omitempty"`
350+
IssuerPublicKeyfile string `json:"issuerpublickeyfile,omitempty"`
351+
IssuerSecretKeyfile string `json:"issuersecretkeyfile,omitempty"`
352+
RevocationPublicKeyfile string `json:"revocationpublickeyfile,omitempty"`
353+
RevocationPrivateKeyfile string `json:"revocationprivatekeyfile,omitempty"`
354+
RHPoolSize int `json:"rhpoolsize,omitempty"`
355+
NonceExpiration string `json:"nonceexpiration,omitempty"`
356+
NonceSweepInterval string `json:"noncesweepinterval,omitempty"`
357+
}
358+
346359
// Options contains configuration for the operations system
347360
type Options struct {
348361
ListenAddress string `json:"listenaddress,omitempty"`

release_notes/v1.0.4-2.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
v1.0.4-2 Release notes - Jan 5, 2023
2+
------------------------
3+
4+
Release Notes
5+
-------------
6+
7+
v1.0.4-2 is a patch release, providing updates for the following issues in the operator:
8+
9+
- 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
10+
11+
Known Vulnerabilities
12+
---------------------
13+
none
14+
15+
Resolved Vulnerabilities
16+
------------------------
17+
none
18+
19+
Known Issues & Workarounds
20+
--------------------------
21+
none
22+
23+
Change Log
24+
----------
25+
none

0 commit comments

Comments
 (0)