cleanup import

This commit is contained in:
Heiko Schaefer 2022-08-04 23:13:59 +02:00
parent 12f2ad005c
commit 11ccc9b5e3
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D

View file

@ -9,7 +9,7 @@ use anyhow::{anyhow, Context, Result};
use std::io; use std::io;
use openpgp::armor; use openpgp::armor;
use openpgp::cert::amalgamation::key::ValidErasedKeyAmalgamation; use openpgp::cert::amalgamation::key::{ErasedKeyAmalgamation, ValidErasedKeyAmalgamation};
use openpgp::crypto; use openpgp::crypto;
use openpgp::packet::key::{PublicParts, SecretParts}; use openpgp::packet::key::{PublicParts, SecretParts};
use openpgp::parse::{ use openpgp::parse::{
@ -22,7 +22,6 @@ use openpgp::{Cert, Fingerprint};
use sequoia_openpgp as openpgp; use sequoia_openpgp as openpgp;
use openpgp_card::{Error, KeyType}; use openpgp_card::{Error, KeyType};
use sequoia_openpgp::cert::amalgamation::key::ErasedKeyAmalgamation;
/// Retrieve a (sub)key from a Cert, for a given KeyType. /// Retrieve a (sub)key from a Cert, for a given KeyType.
/// ///