From a8c92210f65a342c70b1d88daccb366d2272c5a7 Mon Sep 17 00:00:00 2001 From: Hayden Blauzvern Date: Tue, 26 Sep 2023 04:21:31 +0000 Subject: [PATCH] Ignore linter Signed-off-by: Hayden Blauzvern --- pkg/pki/ssh/ssh.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/pki/ssh/ssh.go b/pkg/pki/ssh/ssh.go index fd709dd58..2e7604141 100644 --- a/pkg/pki/ssh/ssh.go +++ b/pkg/pki/ssh/ssh.go @@ -165,7 +165,7 @@ func (k PublicKey) Identities() ([]identity.Identity, error) { } ecdsaPubKey := new(ecdsa.PublicKey) ecdsaPubKey.Curve = elliptic.P256() - ecdsaPubKey.X, ecdsaPubKey.Y = elliptic.Unmarshal(ecdsaPubKey.Curve, w.KeyBytes) + ecdsaPubKey.X, ecdsaPubKey.Y = elliptic.Unmarshal(ecdsaPubKey.Curve, w.KeyBytes) //lint:ignore SA1019 if ecdsaPubKey.X == nil || ecdsaPubKey.Y == nil { return nil, errors.New("ssh: invalid curve point") }