go-tuf
go-tuf copied to clipboard
Why does "func NewP256Signer()" returns an "ed25519Signer"?
From https://github.com/theupdateframework/go-tuf/blob/0e889ad1c/pkg/keys/ed25519.go#L18:
func NewP256Signer() Signer {
return &ed25519Signer{}
}
Is this on purpose? Someone calling NewP256Signer
would probably expect to get a signer using ECDSA over P-256 curve, and not a signer using Ed25519.