diff options
author | Neal H. Walfield <neal@pep.foundation> | 2019-08-04 01:24:09 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2019-08-23 19:15:13 +0200 |
commit | 102dea398e920e91b34e5602033c2e7e53c50bb1 (patch) | |
tree | f0238a659236ade71f72c1799876331c49e266a3 /tool/src/commands/inspect.rs | |
parent | 75fb008711f0f80028230018ab37b988175211b4 (diff) |
openpgp: Use a KeyBinding to store the primary key binding in a TPK
Diffstat (limited to 'tool/src/commands/inspect.rs')
-rw-r--r-- | tool/src/commands/inspect.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/src/commands/inspect.rs b/tool/src/commands/inspect.rs index 5e3a259c..e9d42083 100644 --- a/tool/src/commands/inspect.rs +++ b/tool/src/commands/inspect.rs @@ -131,7 +131,7 @@ fn inspect_tpk(output: &mut io::Write, tpk: &openpgp::TPK, writeln!(output)?; writeln!(output, " Fingerprint: {}", tpk.fingerprint())?; inspect_revocation(output, "", tpk.revocation_status())?; - inspect_key(output, "", tpk.primary(), tpk.primary_key_signature(), + inspect_key(output, "", tpk.primary().key(), tpk.primary_key_signature(), tpk.certifications(), print_keygrips, print_certifications)?; writeln!(output)?; |