You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/services/identity.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -268,6 +268,14 @@ To accommodate different deployment structures, the Key Manager performs directo
268
268
1. It first attempts to load the files directly from the configured directory (`<dir>`).
269
269
2. If this fails, it appends an extra `msp` path element to the directory (i.e., `<dir>/msp/`) and tries again (e.g. searching for `<dir>/msp/msp/IssuerPublicKey` and `<dir>/msp/user/SignerConfig`).
270
270
271
+
##### Credential Verification at Load Time
272
+
When the loaded signer configuration carries secret key material (user secret key plus credential),
273
+
the Idemix Key Manager verifies the credential against the issuer public key while it is being
274
+
constructed. A credential that does not verify — whether the underlying BCCSP reports the failure as
275
+
an error or simply as a negative verification result — makes construction fail with
276
+
`credential is not cryptographically valid`; no key manager is returned. Configurations without
277
+
secret key material are loaded as verify-only (remote) key managers and skip this check.
278
+
271
279
#### 3. IdemixNym (Idemix with Pseudonym-based Identity)
272
280
An extension of Idemix that uses a **commitment to the Enrollment ID (EID)** as the identity instead of the full Idemix signature.
273
281
***Identity (Payload)**: A small **Nym EID** (a cryptographic commitment to the enrollment ID, $g^{sk} \cdot h^{r_{eid}}$).
logger.Debugf("the signer does not contain full key material, it will be considered remote [cred=%d,sk=%d]", len(conf.Signer.Cred), len(conf.Signer.Sk))
0 commit comments