Remove unused imports
This commit is contained in:
parent
30341d6c4b
commit
53c8609f05
5 changed files with 5 additions and 6 deletions
|
@ -17,7 +17,7 @@ use sequoia_openpgp::serialize::stream::{
|
|||
use sequoia_openpgp::Cert;
|
||||
|
||||
use openpgp_card::card_do::KeyGenerationTime;
|
||||
use openpgp_card::{CardApp, CardClient, KeyType};
|
||||
use openpgp_card::{CardClient, KeyType};
|
||||
use openpgp_card_sequoia::sq_util;
|
||||
use openpgp_card_sequoia::util::vka_as_uploadable_key;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ use openpgp_card::card_do::{
|
|||
ExtendedCapabilities, ExtendedLengthInfo, Fingerprint, HistoricalBytes,
|
||||
KeyGenerationTime, PWStatusBytes, SecuritySupportTemplate, Sex,
|
||||
};
|
||||
use openpgp_card::{CardApp, CardClient, Error, KeySet, KeyType, Response};
|
||||
use openpgp_card::{CardClient, Error, KeySet, KeyType, Response};
|
||||
|
||||
use crate::decryptor::CardDecryptor;
|
||||
use crate::signer::CardSigner;
|
||||
|
|
|
@ -15,7 +15,7 @@ use openpgp::Cert;
|
|||
use sequoia_openpgp as openpgp;
|
||||
|
||||
use openpgp_card::crypto_data::Cryptogram;
|
||||
use openpgp_card::{CardApp, CardClient, Error};
|
||||
use openpgp_card::{CardClient, Error};
|
||||
|
||||
use crate::sq_util;
|
||||
use crate::PublicKey;
|
||||
|
|
|
@ -11,7 +11,7 @@ use openpgp::types::{Curve, PublicKeyAlgorithm};
|
|||
use sequoia_openpgp as openpgp;
|
||||
|
||||
use openpgp_card::crypto_data::Hash;
|
||||
use openpgp_card::{CardApp, CardClient, Error};
|
||||
use openpgp_card::{CardClient, Error};
|
||||
|
||||
use crate::sq_util;
|
||||
use crate::PublicKey;
|
||||
|
|
|
@ -20,9 +20,8 @@ const FEATURE_MODIFY_PIN_DIRECT: u8 = 0x07;
|
|||
#[macro_export]
|
||||
macro_rules! start_tx {
|
||||
($card:expr, $reselect:expr) => {{
|
||||
use anyhow::anyhow;
|
||||
use openpgp_card::{Error, SmartcardError};
|
||||
use pcsc::{Disposition, Protocols, ShareMode, Transaction};
|
||||
use pcsc::{Disposition, Protocols, ShareMode};
|
||||
use std::collections::HashMap;
|
||||
|
||||
let mut was_reset = false;
|
||||
|
|
Loading…
Reference in a new issue