Brett T Logan <brett.t.logan@...>
toggle quoted messageShow quoted text
Thank you for letting us know!
Software Engineer, IBM Blockchain
----- Original message -----
Sent by: fabric@...
Subject: [EXTERNAL] [Hyperledger Fabric] #fabric A probable Bug of Fabric 2.1 BCCSP
Date: Thu, Oct 15, 2020 11:19 PM
A probable bug of Fabric 2.1*
There might be a typo in the source code of Fabric release 2.1 /bccsp/sw/fileks.go line 82.
original code "*copy(pk.pwd, pwd)*" should be revised into "*copy(clone, pwd)*", otherwise the *ks.pwd* will be replaced by the empty bytes array clone[ ].
Please correct me if my understanding is wrong.