Rename key module to piv (#277)
Now that the crate is named `yubikey` rather than `yubikey-piv`, it makes more sense to call this module out as PIV-related functionality.
This commit is contained in:
committed by
GitHub
parent
e249e91297
commit
e6cea2eca6
@@ -4,7 +4,7 @@ use crate::terminal::STDOUT;
|
||||
use gumdrop::Options;
|
||||
use std::io::{self, Write};
|
||||
use termcolor::{ColorSpec, StandardStreamLock, WriteColor};
|
||||
use yubikey::{key::*, YubiKey};
|
||||
use yubikey::{piv::*, YubiKey};
|
||||
|
||||
use crate::print_cert_info;
|
||||
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ use std::str;
|
||||
use subtle_encoding::hex;
|
||||
use termcolor::{ColorSpec, StandardStreamLock, WriteColor};
|
||||
use x509_parser::parse_x509_certificate;
|
||||
use yubikey::{certificate::Certificate, key::*, YubiKey};
|
||||
use yubikey::{certificate::Certificate, piv::*, YubiKey};
|
||||
|
||||
/// Write information about certificate found in slot a la yubico-piv-tool output.
|
||||
pub fn print_cert_info(
|
||||
|
||||
Reference in New Issue
Block a user