First, sorry for the delay. You contacted me on my personal mailing address, instead of contacting the team at work. Here’s our contact info, from the related Cothority repo:
The Google group where the whole team listens is:
I suppose Kyber should mention that mailing list more clearly.
I’m having some basic issues with the latest version of Kyber:
go test -v ./…
Although I expected all dependencies to be installed automatically, I'd to manually install two other dependencies (that're
listed in the go.mod file) for it to work:
go get go.dedis.ch/fixbuf
go get golang.org/x/crypto/blake2b
Are the installation instructions up to date, or am I doing something incorrectly?
Hmm, those installation instructions are not taking into consideration the Go modules, and the fact that Kyber has major version 3, thus the import path should be
go.dedis.ch/kyber/v3.
Here’s a minimal example of using Kyber:
1. Make a new directory called “ex". Change directory to “ex" and put this in main.go:
s := suites.MustFind("Ed25519")
2. Type “go mod init
example.com/ex”. The resulting go.mod file will have no dependencies listed yet.
3. Type “go build”. The go tool will fill in the new dependencies that it find for you, i.e. "require
go.dedis.ch/kyber/v3 v3.0.13”.
4. “./ex” will print “0000000000000000000000000000000000000000000000000000000000000000”.
-jeff