spacemeshos / app

[DEPRECATED] The cosmic Spacemesh App containing the Spacemesh Wallet and the Spacemesh Dashboard 🏦📊
MIT License
20 stars 12 forks source link

Specify algorithm for ed25519 key derivation #50

Closed avive closed 5 years ago

avive commented 5 years ago

Given a random seed and and integer index i - specify an algorithm to create a unique derived private key in a deterministic manner per the BIP32 standard.

avive commented 5 years ago

@jlspacemesh @iddo333 @tal-m - research task we need for the Spacemesh wallet.

avive commented 5 years ago

We need to figure out the PKDF algo for the wallet for Ed25519.

avive commented 5 years ago

Need research to provide guidance and research direction. @iddo333

avive commented 5 years ago

We have this bip as an example for such an algorithm https://cardanolaunch.com/assets/Ed25519_BIP.pdf

avive commented 5 years ago

Related https://forum.web3.foundation/t/key-recovery-attack-on-bip32-ed25519/44

avive commented 5 years ago

Need feedback from @iddo333 regarding which BIP to use or implement.

avive commented 5 years ago

@ barakshani this is obviously based on what signatures we are going to use.

avive commented 5 years ago

We also need to consider Julian's paper here. It will be great if we can get 1 recommendation from the research team after they debated this between them and reached a recommendation.

avive commented 5 years ago

Implemented for the testnet timeframe. See: https://github.com/spacemeshos/ed25519/pull/4