perlin-network / noise

A decentralized P2P networking stack written in Go.
https://godoc.org/github.com/perlin-network/noise
MIT License
1.78k stars 213 forks source link

Dependency github.com/adl/ed25519 no longer maintained and available #278

Closed DavidMinarsch closed 4 years ago

DavidMinarsch commented 4 years ago

Executing go get -u github.com/perlin-network/noise causes:

package github.com/agl/ed25519/extra25519: cannot find package "github.com/agl/ed25519/extra25519" in any of:
    /usr/local/go/src/github.com/agl/ed25519/extra25519 (from $GOROOT)
    /Users/{user}/go/src/github.com/agl/ed25519/extra25519 (from $GOPATH)

Looking at https://github.com/agl/ed25519 it appears the commit 9517982 from 5 days ago removed the code and points the user towards x/crypto/ed25519.

alawik commented 4 years ago

I got the same error. Looks like the ecdh.go file will have to be edited.

iwasaki-kenta commented 4 years ago

Thank you! Fixed it and will publish an updated version.

https://github.com/perlin-network/noise/commit/a2ae1d2f9141e9690e0e8eaac5ce84f0098c9cda