From a0c09773b915305e325bb001c29591ecc976ad1a Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Wed, 12 Dec 2018 16:43:56 +0100 Subject: openpgp: Move SecretKey to packet::key. --- tool/src/commands/decrypt.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tool') diff --git a/tool/src/commands/decrypt.rs b/tool/src/commands/decrypt.rs index 2998c616..f128bb17 100644 --- a/tool/src/commands/decrypt.rs +++ b/tool/src/commands/decrypt.rs @@ -5,8 +5,8 @@ use rpassword; extern crate sequoia_openpgp as openpgp; use sequoia_core::Context; -use openpgp::{Fingerprint, TPK, KeyID, SecretKey, Result}; -use openpgp::packet::{Key, Signature, PKESK, SKESK}; +use openpgp::{Fingerprint, TPK, KeyID, Result}; +use openpgp::packet::{Key, key::SecretKey, Signature, PKESK, SKESK}; use openpgp::parse::PacketParser; use openpgp::parse::stream::{ VerificationHelper, VerificationResult, DecryptionHelper, Decryptor, Secret, -- cgit v1.2.3