feat: fix YubiKey typo
This commit is contained in:
@@ -13,7 +13,7 @@ impl Command for CommandImpl {
|
||||
|
||||
fn subcommand<'a>(&self) -> App<'a, 'a> {
|
||||
SubCommand::with_name(self.name())
|
||||
.about("Yubikey HMAC decrypt")
|
||||
.about("YubiKey HMAC decrypt")
|
||||
.arg(
|
||||
Arg::with_name("ciphertext")
|
||||
.long("ciphertext")
|
||||
|
||||
@@ -13,7 +13,7 @@ impl Command for CommandImpl {
|
||||
|
||||
fn subcommand<'a>(&self) -> App<'a, 'a> {
|
||||
SubCommand::with_name(self.name())
|
||||
.about("Yubikey HMAC encrypt")
|
||||
.about("YubiKey HMAC encrypt")
|
||||
.arg(
|
||||
Arg::with_name("plaintext")
|
||||
.long("plaintext")
|
||||
|
||||
@@ -98,7 +98,7 @@ impl Command for CommandImpl {
|
||||
ssh_public_key.write_string(format!("nistp{}", ec_bit_len).as_bytes());
|
||||
ssh_public_key.write_string(pk_point_hex);
|
||||
let ssh_public_key_str = format!(
|
||||
"ecdsa-sha2-nistp{} {} Yubikey-PIV-{}", ec_bit_len, base64_encode(ssh_public_key), slot_id);
|
||||
"ecdsa-sha2-nistp{} {} YubiKey-PIV-{}", ec_bit_len, base64_encode(ssh_public_key), slot_id);
|
||||
json.insert("ssh_public_key", ssh_public_key_str.to_string());
|
||||
}
|
||||
_ => {}
|
||||
|
||||
@@ -105,7 +105,7 @@ impl Command for CommandImpl {
|
||||
eprintln!();
|
||||
|
||||
let ssh_pub_key = format!(
|
||||
"{}ecdsa-sha2-{} {} Yubikey-PIV-{}",
|
||||
"{}ecdsa-sha2-{} {} YubiKey-PIV-{}",
|
||||
if ca {
|
||||
"cert-authority,principals=\"root\" "
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user