Skip to content

Commit

Permalink
Revert "fixup! create idemix user folder under root folder"
Browse files Browse the repository at this point in the history
This reverts commit 77c54da.

Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
  • Loading branch information
jkneubuh authored and denyeart committed Jul 8, 2022
1 parent 77c54da commit fac0ce6
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
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, "user/SignerConfig"))
_, err = client.LoadIdentity("", filepath.Join(clientHome, "msp/signcerts/cert.pem"), filepath.Join(clientHome, "msp/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
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/user/SignerConfig"
CLIENTCERT="$CA_CFG_PATH/$USERNAME/msp/user/SignerConfig"
if [ ! -f $CLIENTCERT ]; then
ErrorMsg "Idemix credential was not stored in the correct location"
fi
Expand Down

0 comments on commit fac0ce6

Please sign in to comment.