Cleanup imports

This commit is contained in:
Heiko Schaefer 2021-11-05 23:14:36 +01:00
parent 1a37b437e2
commit 87168ea0de
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D
3 changed files with 1 additions and 4 deletions

View file

@ -17,7 +17,7 @@ use openpgp_card::card_do::{
ExtendedCapabilities, ExtendedLengthInfo, Fingerprint, HistoricalBytes, ExtendedCapabilities, ExtendedLengthInfo, Fingerprint, HistoricalBytes,
KeyGenerationTime, PWStatusBytes, SecuritySupportTemplate, Sex, KeyGenerationTime, PWStatusBytes, SecuritySupportTemplate, Sex,
}; };
use openpgp_card::{CardApp, CardClientBox, Error, KeySet, KeyType, Response}; use openpgp_card::{CardApp, Error, KeySet, KeyType, Response};
use crate::decryptor::CardDecryptor; use crate::decryptor::CardDecryptor;
use crate::signer::CardSigner; use crate::signer::CardSigner;

View file

@ -22,8 +22,6 @@ use openpgp_card::crypto_data::{
use openpgp_card::Error; use openpgp_card::Error;
use sequoia_openpgp::types::Curve; use sequoia_openpgp::types::Curve;
use crate::util;
/// A SequoiaKey represents the private cryptographic key material of an /// A SequoiaKey represents the private cryptographic key material of an
/// OpenPGP (sub)key to be uploaded to an OpenPGP card. /// OpenPGP (sub)key to be uploaded to an OpenPGP card.
pub(crate) struct SequoiaKey { pub(crate) struct SequoiaKey {

View file

@ -32,7 +32,6 @@ use openpgp_card::{CardApp, Error, KeyType};
use crate::card::Open; use crate::card::Open;
use crate::privkey::SequoiaKey; use crate::privkey::SequoiaKey;
use crate::signer::CardSigner;
use crate::{decryptor, signer, PublicKey}; use crate::{decryptor, signer, PublicKey};
/// Create a Cert from the three subkeys on a card. /// Create a Cert from the three subkeys on a card.