Skip to content

Repository Modernization Plan - Phase 2C: Fix typos and incorrect comments in idemix domain interfaces#71

Open
Soumya8898 wants to merge 1 commit into
IBM:mainfrom
Soumya8898:Soumya8898/phase2/clean-idemix-interfaces
Open

Repository Modernization Plan - Phase 2C: Fix typos and incorrect comments in idemix domain interfaces#71
Soumya8898 wants to merge 1 commit into
IBM:mainfrom
Soumya8898:Soumya8898/phase2/clean-idemix-interfaces

Conversation

@Soumya8898
Copy link
Copy Markdown
Contributor

Fix typos and incorrect comments in idemix domain interfaces

Fixes #63

What

Fixes documentation errors and a type name typo in bccsp/types/.

Fixes in bccsp/types/idemix.go

Line Before After
25 // IssuerPublicKey is the issuer secret key // IssuerSecretKey is the issuer secret key
42 // NewPublicKeyFromBytes converts the passed bytes to an Issuer key // NewKeyFromBytes converts the passed bytes to an Issuer secret key.
42 the so obtained key (double space) the so obtained key
48 committments commitments
97 // CredRequest is a local interface... (on Credential type) // Credential is a local interface...

Fixes in bccsp/types/idemixerrs.go

Before After
IdemixIIssuerPublicKeyImporterErrorType (double-I) IdemixIssuerPublicKeyImporterErrorType

Verification

  • go build ./...
  • go test ./...
  • go vet ./...
  • gofmt -l -s

Fix documentation errors in bccsp/types/:
- idemix.go: Fix wrong type name in IssuerSecretKey comment
- idemix.go: Fix misleading comment on NewKeyFromBytes (was 'NewPublicKeyFromBytes')
- idemix.go: Fix double-space typo in Issuer.NewKeyFromBytes comment
- idemix.go: Fix 'committments' typo (commitments)
- idemix.go: Fix wrong type name in Credential interface comment (was 'CredRequest')
- idemixerrs.go: Fix double-I typo in IdemixIssuerPublicKeyImporterErrorType

Signed-off-by: Soumya Mohapatra <mohapatras@microsoft.com>
@Soumya8898 Soumya8898 force-pushed the Soumya8898/phase2/clean-idemix-interfaces branch from 0fecf11 to a797fa4 Compare May 25, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Idemix Repository Modernization Plan

1 participant