diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-03-18 11:01:31 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-03-18 11:01:31 +0100 |
commit | eb47f4d7cefda8fc15454df8b8e1bf2676f7a338 (patch) | |
tree | 47bd2a310e72be30b80ce86bfbc8fd35fb034b18 /tool/src | |
parent | b95bc8181893d14ac3b692157471d1736a3a6fd4 (diff) |
tool: Dump the size of public keys.
Diffstat (limited to 'tool/src')
-rw-r--r-- | tool/src/commands/dump.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/src/commands/dump.rs b/tool/src/commands/dump.rs index 6fc10626..95b8eeba 100644 --- a/tool/src/commands/dump.rs +++ b/tool/src/commands/dump.rs @@ -262,6 +262,7 @@ impl PacketDumper { writeln!(output, "{} Creation time: {}", i, time::strftime(TIMEFMT, k.creation_time()).unwrap())?; writeln!(output, "{} Pk algo: {}", i, k.pk_algo())?; + writeln!(output, "{} Pk size: {} bits", i, k.mpis().bits())?; if self.mpis { writeln!(output, "{} MPIs: {:?}", i, k.mpis())?; if let Some(secrets) = k.secret() { |