keybase / go-crypto

[mirror] Go supplementary cryptography libraries
https://godoc.org/golang.org/x/crypto
BSD 3-Clause "New" or "Revised" License
50 stars 20 forks source link

Ed25519 changes for Sign (use GenerateKey), add test case for short EDDSA signatures #48

Closed zapu closed 7 years ago

zapu commented 7 years ago

Adds a minimal repro test case with key similar to one from https://github.com/keybase/keybase-issues/issues/2787#issuecomment-285684184

Use ed25519.GenerateKey instead of creating key buffer from priv+pub manually.