oysterprotocol / brokernode

Server that connects to the Tangle to enable the Oyster Protocol
36 stars 9 forks source link

[Broker] Securely store ETH private seed #232

Open AaronVasquez opened 6 years ago

AaronVasquez commented 6 years ago

We need this to unlock treasure. Storing a naked key feels wrong, so we should do some research on how to securely handle this.

Some suggestions:

encrypt/decrypt with a different key # then we need to securely store this key

rfornea commented 6 years ago

Things we might could use as keys: -the genesis hash, or some hash of it that isn't a sha256, sha384, or sha3-256 -the session ID, or some hash of it -convert CreatedAt time to a string, hash it, then use that.