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
+2
-2
@@ -32,7 +32,7 @@
|
||||
|
||||
use crate::{
|
||||
error::{Error, Result},
|
||||
key::{sign_data, AlgorithmId, SlotId},
|
||||
piv::{sign_data, AlgorithmId, SlotId},
|
||||
serialization::*,
|
||||
transaction::Transaction,
|
||||
yubikey::YubiKey,
|
||||
@@ -597,7 +597,7 @@ mod read_pki {
|
||||
use rsa::{BigUint, RSAPublicKey};
|
||||
|
||||
use super::{OID_NIST_P256, OID_NIST_P384};
|
||||
use crate::{key::AlgorithmId, Error, Result};
|
||||
use crate::{piv::AlgorithmId, Error, Result};
|
||||
|
||||
/// From [RFC 8017](https://tools.ietf.org/html/rfc8017#appendix-A.1.1):
|
||||
/// ```text
|
||||
|
||||
Reference in New Issue
Block a user