forked from TrueCloudLab/certificates
Merge pull request #612 from gdbelvin/kmspin
Allow reading pin from kms string
This commit is contained in:
commit
a0633a6efb
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ func main() {
|
||||||
fatal(err)
|
fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if u.Pin() == "" && c.Pin == "" {
|
if u.Get("pin-value") == "" && u.Get("pin-source") == "" && 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