4
0
Gary Belvin 5 жил өмнө
parent
commit
341966c30f

+ 1 - 1
cmd/step-pkcs11-init/main.go

@@ -119,7 +119,7 @@ func main() {
 		fatal(err)
 	}
 
-	if u.Pin() == "" {
+	if u.Pin() == "" && c.Pin == "" {
 		pin, err := ui.PromptPassword("What is the PKCS#11 PIN?")
 		if err != nil {
 			fatal(err)