Fix lint issue with Go 1.20

This commit is contained in:
Mariano Cano 2023-02-09 17:02:35 -08:00
parent 6ba20209c2
commit da95c44943
No known key found for this signature in database

View file

@ -52,6 +52,7 @@ var (
func init() {
step.Set("Smallstep CA", Version, BuildTime)
authority.GlobalVersion.Version = Version
//nolint:staticcheck // deprecated in Go 1.20
rand.Seed(time.Now().UnixNano())
// Add support for asking passwords
pemutil.PromptPassword = func(msg string) ([]byte, error) {