Skip to content

Conversation

@matheusd
Copy link
Member

This brings in the upstream PRs 46 and 47, needed for the upstream lnd version v0.11.

Roasbeef and others added 4 commits September 7, 2020 11:39
In this commit, we update the set of test vectors to reflect that all
mix-header in the network should be generated suing the new
deterministic filler method put forth in:
lightning/bolts#697.
With this commit we create a new interface that abstracts away the
ECDH implementation. We also create one implementation that satisfies
the interface that can be used if the private key is known directly.
Later we will change the generateSharedSecret function to use this
interface instead of doing the ECDH operation directly.
This is a preparatory commit that adds an error return value to the
generateSharedSecret and generateSharedSecrets method. This is needed
because the interface we want to abstract the onion key behind has
an error return value too.
To be able to eventually extract the private keys out of the node
itself into a hardware wallet or HSM, we need to abstract the ECDH
operation against the long-term key behind an interface.
@dajohi dajohi requested a review from davecgh September 19, 2020 14:53
@matheusd matheusd merged commit 1e4209f into decred:master Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants