diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2018-12-12 16:43:56 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2018-12-12 16:43:56 +0100 |
commit | a0c09773b915305e325bb001c29591ecc976ad1a (patch) | |
tree | 45ef4216cec84b6dd91c979ccd3a51f641236ca9 /tool/src | |
parent | e3d31910c565bac59f9adc8681c341771fe45ec7 (diff) |
openpgp: Move SecretKey to packet::key.
Diffstat (limited to 'tool/src')
-rw-r--r-- | tool/src/commands/decrypt.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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, |