Explorar el Código

Display the proper yubikey uri.

Mariano Cano hace 6 años
padre
commit
025c0aa20f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      cmd/step-yubikey-init/main.go

+ 2 - 2
cmd/step-yubikey-init/main.go

@@ -213,7 +213,7 @@ func createPKI(k *yubikey.YubiKey, c Config) error {
 			return err
 		}
 
-		ui.PrintSelected("Root Key", "yubikey:slot-id="+resp.Name)
+		ui.PrintSelected("Root Key", resp.Name)
 		ui.PrintSelected("Root Certificate", "root_ca.crt")
 	}
 
@@ -291,7 +291,7 @@ func createPKI(k *yubikey.YubiKey, c Config) error {
 	if c.RootOnly {
 		ui.PrintSelected("Intermediate Key", "intermediate_ca_key")
 	} else {
-		ui.PrintSelected("Intermediate Key", "yubikey:slot-id="+keyName)
+		ui.PrintSelected("Intermediate Key", keyName)
 	}
 
 	ui.PrintSelected("Intermediate Certificate", "intermediate_ca.crt")