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? 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? How is privkey accessed in the network for performing a txn? Or how does the user provide the privkey while performing a txn?
Mar 11, 2022 in Blockchain by Soham
• 9,700 points
331 views

1 answer to this question.

0 votes
It signs the transaction (eg. initiated by an application user, with an associated blockchain identity, issued by his/her org) with its private key and includes its public key in the transaction payload sent to peers and/or orderers. Peers and orderers (part of the Fabric blockchain network) then verify the signatures using the public key in the transaction. 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
answered Mar 24, 2022 by Rahul
• 9,670 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,548 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,171 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,215 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
708 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 with its private key ...READ MORE

answered Apr 11, 2022 in Blockchain by Rahul
• 9,670 points
576 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