The issue seems to be related to the ecc package within libsignal-protocol-go trying to import the github.com/agl/ed25519 package, which might be deprecated or moved.
This issue prevents successful installation and use of the libsignal-protocol-go library in Go projects.
Possible Solutions
Updating the library to use the crypto/ed25519 package from the Go standard library instead of github.com/agl/ed25519.
Providing an alternative or forked version of the library with updated dependencies.
Issue with Missing Dependencies: github.com/agl/ed25519 in libsignal-protocol-go
Environment
Steps to Reproduce
go mod init signalclient
to initialize a new module.go get github.com/RadicalApp/libsignal-protocol-go
to install thelibsignal-protocol-go
library.Expected Behavior
The
go get
command should successfully download and install thelibsignal-protocol-go
library along with its dependencies.Actual Behavior
The installation fails with errors related to missing modules
github.com/agl/ed25519
andgithub.com/agl/ed25519/edwards25519
.Error Log
Additional Information
ecc
package withinlibsignal-protocol-go
trying to import thegithub.com/agl/ed25519
package, which might be deprecated or moved.libsignal-protocol-go
library in Go projects.Possible Solutions
crypto/ed25519
package from the Go standard library instead ofgithub.com/agl/ed25519
.