Fix gosec G505

Signed-off-by: Richard Wall <richard.wall@venafi.com>
This commit is contained in:
Richard Wall 2024-01-02 10:10:11 +00:00
parent fffb70c25f
commit 0ea258327d
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ package rfc2136
import (
"crypto/hmac"
"crypto/md5"
"crypto/sha1"
"crypto/sha1" // #nosec G505 -- SHA1 is a supported TSIG Algorithm
"crypto/sha256"
"crypto/sha512"
"encoding/base64"

View File

@ -22,7 +22,7 @@ package rfc2136
import (
"crypto/hmac"
"crypto/md5"
"crypto/sha1"
"crypto/sha1" // #nosec G505 -- SHA1 is a supported TSIG Algorithm
"crypto/sha256"
"crypto/sha512"
"encoding/base64"