forked from TrueCloudLab/certificates
Check pin flag
This commit is contained in:
parent
1ac838628a
commit
341966c30f
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ func main() {
|
||||||
fatal(err)
|
fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if u.Pin() == "" {
|
if u.Pin() == "" && c.Pin == "" {
|
||||||
pin, err := ui.PromptPassword("What is the PKCS#11 PIN?")
|
pin, err := ui.PromptPassword("What is the PKCS#11 PIN?")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fatal(err)
|
fatal(err)
|
||||||
|
|
Loading…
Reference in a new issue