KarthikKavinA / fabric-idemix-identity-demo

Demo Application for using Identity Mixer Identity in Fabric with Fabric Gateway Client API for Java and Fabric Gateway SDK for Java
6 stars 2 forks source link

not able to generate identity mixer user. #1

Open PadaliaIsha opened 1 year ago

PadaliaIsha commented 1 year ago

I'm working on an identity mixer demo But getting errors at the time of generating an identity user using the following command.

idemixgen signerconfig --ca-input=idemixmsp --admin --enrollmentId=appUser --org-unit=org1

Error: command not found: idemixgen

KarthikKavinA commented 1 year ago

I'm working on an identity mixer demo But getting errors at the time of generating an identity user using the following command.

idemixgen signerconfig --ca-input=idemixmsp --admin --enrollmentId=appUser --org-unit=org1

Error: command not found: idemixgen

idemixgen binary was not available on PATH. Please download the binary from the following link, extract it and export the path of the binary to PATH. https://github.com/hyperledger/fabric/releases/download/v2.2.9/hyperledger-fabric-linux-amd64-2.2.9.tar.gz For example:

export PATH=$PATH:/home/path/to/idemixgen/binary

Then, try running the command which was mentioned by you.

PadaliaIsha commented 1 year ago

Set idemixgen into PATH. But still not working!

/Users/home/.nvm/versions/node/v16.19.0/bin:/Users/home/Downloads/hyperledger-fabric-linux-amd64-2.2.9/idemixgen

Getting the same error.

vidhi2704 commented 1 year ago

Hi, I am Prof. Vidhi. Can you please provide your email id.

KarthikKavinA commented 1 year ago

Hi, I am Prof. Vidhi. Can you please provide your email id.

a.kavin24@gmail.com is my email id. Also, you can join in the Hyperledger Discord in the following link and send DM for my username KArumugam#1934 https://discord.com/invite/hyperledger

KarthikKavinA commented 1 year ago

Set idemixgen into PATH. But still not working!

/Users/home/.nvm/versions/node/v16.19.0/bin:/Users/home/Downloads/hyperledger-fabric-linux-amd64-2.2.9/idemixgen

Getting the same error.

Please execute the steps sequentially and before executing the above mentioned command, execute the following command.

export PATH=$PATH:$FABRIC_PATH/idemix-demo-fabric-samples/test-network/bin

Note: The command will append the above path to the particular terminal session. If you need to persist the change, then add the same command in bashrc file. Then, open the new terminal and try in it.

vidhi2704 commented 1 year ago

Hi I and Isha both are working on this identity mixer. Is it possible for you to give me video of the working code or screenshot of the same.

On Tue, 7 Feb 2023 at 10:04 AM, KarthikKavinA @.***> wrote:

Set idemixgen into PATH. But still not working!

/Users/home/.nvm/versions/node/v16.19.0/bin:/Users/home/Downloads/hyperledger-fabric-linux-amd64-2.2.9/idemixgen

Getting the same error.

Please execute the steps sequentially and before executing the above mentioned command, execute the following command.

export PATH=$PATH:$FABRIC_PATH/idemix-demo-fabric-samples/test-network/bin

Note: The command will append the above path to the particular terminal session. If you need to persist the change, then add the same command in bashrc file. Then, open the new terminal and try in it.

— Reply to this email directly, view it on GitHub https://github.com/KarthikKavinA/fabric-idemix-identity-demo/issues/1#issuecomment-1420188373, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVACWJT3PKNXKQOID4WUAX3WWHGGTANCNFSM6AAAAAAUPAFOAQ . You are receiving this because you commented.Message ID: @.***>

KarthikKavinA commented 1 year ago

You can get all details (Demo Application & Video) in the following link: https://wiki.hyperledger.org/display/INTERN/Project+Plan+-+Identity+Mixer+Support+for+both+Fabric+Gateway+SDK+for+Java+and+Fabric+Gateway+Client+API+for+Java

isha-padalia commented 1 year ago

Is there any specific fabric version that supports the identity mixer concept?

As currently getting error: exec format error: idemixgen

Already set idemixgen binary path.