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