mediachain / concat

Mediachain daemons
MIT License
42 stars 13 forks source link

ECC key support in libp2p #6

Closed vyzo closed 7 years ago

vyzo commented 8 years ago

Currently libp2p only supports RSA keys, which forces us to use hashes for node identities and adds indirection in statement verification.

So we need to extend libp2p to support ECC keys. We could use the same curve as in BTC: if it secure enough for bitcoin, where financial transactions are at stake, then it is good enough for signing statements in our system.

vyzo commented 8 years ago

There seems to be an open PR for adding Ed25519 key support in https://github.com/ipfs/go-libp2p-crypto/pull/5

vyzo commented 7 years ago

go-libp2p-crypto ECC key support PR has been merged in, awaiting for propagation of update to libp2p: https://github.com/libp2p/go-libp2p-peer/issues/11