Cleanup import

This commit is contained in:
Heiko Schaefer 2022-03-30 02:02:48 +02:00
parent 1f7d17bc70
commit 283f58d7d8
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D

View file

@ -19,6 +19,7 @@ use openpgp::packet::{
Key, UserID, Key, UserID,
}; };
use openpgp::parse::{stream::DecryptorBuilder, Parse}; use openpgp::parse::{stream::DecryptorBuilder, Parse};
use openpgp::policy::Policy;
use openpgp::serialize::stream::{Message, Signer}; use openpgp::serialize::stream::{Message, Signer};
use openpgp::types::{KeyFlags, PublicKeyAlgorithm, SignatureType, Timestamp}; use openpgp::types::{KeyFlags, PublicKeyAlgorithm, SignatureType, Timestamp};
use openpgp::{Cert, Packet}; use openpgp::{Cert, Packet};
@ -32,7 +33,6 @@ use openpgp_card::{Error, KeyType, OpenPgpTransaction};
use crate::card::Open; use crate::card::Open;
use crate::privkey::SequoiaKey; use crate::privkey::SequoiaKey;
use crate::{decryptor, signer, PublicKey}; use crate::{decryptor, signer, PublicKey};
use sequoia_openpgp::policy::Policy;
/// Create a Cert from the three subkeys on a card. /// Create a Cert from the three subkeys on a card.
/// (Calling this multiple times will result in different Certs!) /// (Calling this multiple times will result in different Certs!)