aboutsummaryrefslogtreecommitdiff
path: root/kauth
diff options
context:
space:
mode:
Diffstat (limited to 'kauth')
-rw-r--r--kauth/crypto.go2
1 files changed, 1 insertions, 1 deletions
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