Merge pull request #612 from gdbelvin/kmspin

Allow reading pin from kms string
pull/602/head
Mariano Cano 3 years ago committed by GitHub
commit a0633a6efb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -129,7 +129,7 @@ func main() {
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?")
if err != nil {
fatal(err)

Loading…
Cancel
Save