Where does Hyperledger fabric store the public key and private key of the user

0 votes

What is the role of pubkey & privkey in fabric networks and how are they stored and accessed?

1. In org1.yaml, we have mentioned paths for credentialStore and cryptoStore. what type of files for the user gets stored here? Isn't it the pubkey and privkey of the user stored in cryptoStore? 

2. How is privkey accessed in the network for performing a txn? Or how does the user provide the privkey while performing a txn?


 

Apr 7, 2022 in Blockchain by Soham
• 9,710 points
847 views

1 answer to this question.

0 votes

It signs the transaction with its private key and includes its public key in the transaction payload sent to peers and/or orderers. Peers and orderers, then verify the signatures using the public key in the transaction.

  1. A state/credential store would be used to store the public certificates for enrolled identities that the application needs to use, whereas the crypto store would be used to store the private keys of identities and there are different types of stores available when using the client SDK - for SDK info and perspective, see https://fabric-sdk-node.github.io/release-1.4/tutorial-network-config.html#Setup-the-stores

answered Apr 11, 2022 by Rahul
• 9,680 points

Related Questions In Blockchain

+1 vote
4 answers

Where does hyperledger fabric store the database for the blockchain?

The data of the Hyperledger Blockchain is ...READ MORE

answered Apr 29, 2019 in Blockchain by Tina
2,863 views
0 votes
1 answer

Where does Hyperledger Fabric store the database for the Blockchain?

The Hyperledger Fabric stores the database in ...READ MORE

answered Jul 13, 2018 in Blockchain by Perry
• 17,100 points
2,347 views
+1 vote
7 answers
+1 vote
1 answer
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,432 views
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,740 points
974 views
+1 vote
1 answer
0 votes
1 answer

Where does Hyperledger fabric store the public key and private key of the user?

It signs the transaction (eg. initiated by ...READ MORE

answered Mar 24, 2022 in Blockchain by Rahul
• 9,680 points
590 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP