Skip to content

Commit

Permalink
fixup! create idemix user folder under root folder
Browse files Browse the repository at this point in the history
Signed-off-by: Angelo De Caro <[email protected]>
  • Loading branch information
adecaro committed Jun 22, 2022
1 parent 20e2d32 commit 7d1b794
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func TestIdemixEnroll(t *testing.T) {
t.Fatalf("Failed to store identity: %s", err.Error())
}

_, err = client.LoadIdentity("", filepath.Join(clientHome, "msp/signcerts/cert.pem"), filepath.Join(clientHome, "msp/user/SignerConfig"))
_, err = client.LoadIdentity("", filepath.Join(clientHome, "msp/signcerts/cert.pem"), filepath.Join(clientHome, "user/SignerConfig"))
assert.NoError(t, err, "Failed to load identity that has both X509 and Idemix credentials")

_, err = client.LoadIdentity("", "", filepath.Join(clientHome, "user/SignerConfig"))
Expand Down
2 changes: 1 addition & 1 deletion scripts/fvt/idemix_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function getIdemixCred() {
$FABRIC_CA_CLIENTEXEC enroll -u "${PROTO}${USERNAME}:$USERPSWD@$CA_HOST_ADDRESS:$PROXY_PORT" -H $CA_CFG_PATH/$USERNAME --enrollment.type idemix -d $TLSOPT
test $? -eq 0 || ErrorMsg "Failed to complete 'enroll' command"

CLIENTCERT="$CA_CFG_PATH/$USERNAME/msp/user/SignerConfig"
CLIENTCERT="$CA_CFG_PATH/$USERNAME/user/SignerConfig"
if [ ! -f $CLIENTCERT ]; then
ErrorMsg "Idemix credential was not stored in the correct location"
fi
Expand Down

0 comments on commit 7d1b794

Please sign in to comment.