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.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/sq/src/commands/dump.rs b/sq/src/commands/dump.rs
index 782344aa..081760a6 100644
--- a/sq/src/commands/dump.rs
+++ b/sq/src/commands/dump.rs
@@ -868,6 +868,17 @@ impl PacketDumper {
.collect::<Vec<String>>().join(", "))?,
IntendedRecipient(ref fp) =>
write!(output, "{} Intended Recipient: {}", i, fp)?,
+ AttestedCertifications(digests) => {
+ write!(output, "{} Attested Certifications:", i)?;
+ if digests.is_empty() {
+ writeln!(output, " None")?;
+ } else {
+ writeln!(output)?;
+ for d in digests {
+ writeln!(output, "{} {}", i, hex::encode(d))?;
+ }
+ }
+ },
// SubpacketValue is non-exhaustive.
u => writeln!(output, "{} Unknown variant: {:?}", i, u)?,