Skip to content

Commit

Permalink
Small clean-up.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffallen committed Mar 29, 2024
1 parent 10fa914 commit 4875cdb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ func getCertFromPkcs11(config *PKCS11Config) func(*tls.CertificateRequestInfo) (
}
}

pin := os.Getenv("YBPIN")
pin := os.Getenv("PKCS11_PIN")
if pin == "" {
err := survey.AskOne(&survey.Password{Message: "PIN for your PKCS11 device:"}, &pin)
if err == terminal.InterruptErr {
Expand Down
Binary file removed restish
Binary file not shown.

0 comments on commit 4875cdb

Please sign in to comment.