From 48aba2f0c40662186ff5d49dcca44ce563b365fd Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Sat, 28 Sep 2024 11:30:40 +0200 Subject: chore: Lints --- kauth/crypto.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kauth') diff --git a/kauth/crypto.go b/kauth/crypto.go index 702c9a7..117076d 100644 --- a/kauth/crypto.go +++ b/kauth/crypto.go @@ -45,7 +45,7 @@ func decrypt(secret []byte, encryptedText string) (string, error) { return "", ErrEncryptedTooShort } nonce, cipherText := encryptedBytes[:nonceSize], encryptedBytes[nonceSize:] - plainBytes, err := aead.Open(nil, nonce, cipherText, nil) + plainBytes, err := aead.Open(nil, nonce, cipherText, nil) // #nosec G407 if err != nil { err = kcore.Wrap(err, "error decrypting") return "", err -- cgit v1.3