mirror of
https://github.com/smallstep/certificates.git
synced 2024-10-31 03:20:16 +00:00
Check pin flag
This commit is contained in:
parent
1ac838628a
commit
341966c30f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user