summaryrefslogtreecommitdiffstats
path: root/sqv
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2019-09-18 18:49:29 +0200
committerNeal H. Walfield <neal@pep.foundation>2019-09-18 18:49:29 +0200
commit6cbc940b4f59d9d9ddaef729fb8db7b6ec63e533 (patch)
tree25a52bb5e84216ca0f5a34b2ace8facfff5bdd4c /sqv
parent044854773282eed2be23aab511d5dc38ffbe21ca (diff)
openpgp: Change TPK::primary to return the key and not the binding
- The primary key is not a binding; it is a single component. Thus, returning a ComponentBinding is misleading. - Add methods to the TPK structure to return the direct signatures, certifications, self revocations, and other revocations.
Diffstat (limited to 'sqv')
-rw-r--r--sqv/src/sqv.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqv/src/sqv.rs b/sqv/src/sqv.rs
index 4ef07ecd..db85036c 100644
--- a/sqv/src/sqv.rs
+++ b/sqv/src/sqv.rs
@@ -302,7 +302,7 @@ fn real_main() -> Result<(), failure::Error> {
continue;
}
- println!("{}", tpk.primary().key().fingerprint());
+ println!("{}", tpk.primary().fingerprint());
good += 1;
},
Ok(false) => {