spacemeshos / smcli

Spacemesh command-line tool
https://spacemesh.io/
MIT License
8 stars 9 forks source link

Specify proper kdfparams.hash #98

Open brusherru opened 5 months ago

brusherru commented 5 months ago

Smcli specifies the wrong crypto.kdfparams.hash property (SHA-256): https://github.com/spacemeshos/smcli/blob/develop/wallet/store.go#L237

While it uses SHA-512: https://github.com/spacemeshos/smcli/blob/develop/wallet/store.go#L142