summaryrefslogtreecommitdiffstats
path: root/sq/src/commands/dump.rs
diff options
context:
space:
mode:
Diffstat (limited to 'sq/src/commands/dump.rs')
-rw-r--r--sq/src/commands/dump.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/sq/src/commands/dump.rs b/sq/src/commands/dump.rs
index a9115bf7..e4851889 100644
--- a/sq/src/commands/dump.rs
+++ b/sq/src/commands/dump.rs
@@ -696,6 +696,15 @@ impl PacketDumper {
SEIP(ref s) => {
writeln!(output, "{} Version: {}", i, s.version())?;
+ match s {
+ openpgp::packet::SEIP::V2(s) => {
+ writeln!(output, "{} Symmetric algo: {}", i, s.symmetric_algo())?;
+ writeln!(output, "{} AEAD mode: {}", i, s.aead())?;
+ writeln!(output, "{} Chunk size: {}", i, s.chunk_size())?;
+ writeln!(output, "{} Salt: {}", i, hex::encode(s.salt()))?;
+ },
+ _ => (), // V1 has no fields, others we don't know.
+ }
},
MDC(ref m) => {