mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-05 14:57:49 +00:00
types/wgkey: add TODO for a future API change.
Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
parent
065c4ffc2c
commit
923c98cd8f
@ -138,6 +138,9 @@ func (a *Key) LessThan(b *Key) bool {
|
||||
|
||||
// NewPrivate generates a new curve25519 secret key.
|
||||
// It conforms to the format described on https://cr.yp.to/ecdh.html.
|
||||
//
|
||||
// TODO: make this look more like types/key, key generation should not
|
||||
// return an error.
|
||||
func NewPrivate() (Private, error) {
|
||||
k, err := NewPreshared()
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user