forked from TrueCloudLab/certificates
Display the proper yubikey uri.
This commit is contained in:
parent
22b86c3fcc
commit
025c0aa20f
1 changed files with 2 additions and 2 deletions
|
@ -213,7 +213,7 @@ func createPKI(k *yubikey.YubiKey, c Config) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
ui.PrintSelected("Root Key", "yubikey:slot-id="+resp.Name)
|
ui.PrintSelected("Root Key", resp.Name)
|
||||||
ui.PrintSelected("Root Certificate", "root_ca.crt")
|
ui.PrintSelected("Root Certificate", "root_ca.crt")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -291,7 +291,7 @@ func createPKI(k *yubikey.YubiKey, c Config) error {
|
||||||
if c.RootOnly {
|
if c.RootOnly {
|
||||||
ui.PrintSelected("Intermediate Key", "intermediate_ca_key")
|
ui.PrintSelected("Intermediate Key", "intermediate_ca_key")
|
||||||
} else {
|
} else {
|
||||||
ui.PrintSelected("Intermediate Key", "yubikey:slot-id="+keyName)
|
ui.PrintSelected("Intermediate Key", keyName)
|
||||||
}
|
}
|
||||||
|
|
||||||
ui.PrintSelected("Intermediate Certificate", "intermediate_ca.crt")
|
ui.PrintSelected("Intermediate Certificate", "intermediate_ca.crt")
|
||||||
|
|
Loading…
Reference in a new issue