diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2024-09-28 11:30:40 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2024-09-28 11:33:24 +0200 |
| commit | 48aba2f0c40662186ff5d49dcca44ce563b365fd (patch) | |
| tree | 33e029b69ae899ad55b3e397f91a50c3a4147010 /kauth/crypto.go | |
| parent | 2d6e6fad45057b829e84375e914e3301c4bd73ba (diff) | |
chore: Lintsv0.5.0
Diffstat (limited to 'kauth/crypto.go')
| -rw-r--r-- | kauth/crypto.go | 2 |
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 |
