diff options
author | Neal H. Walfield <neal@pep.foundation> | 2020-01-21 09:28:55 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2020-01-21 09:28:55 +0100 |
commit | b36219a18a1dab941bf48aeea508bae4d4858aad (patch) | |
tree | 3f3eaa6403a2520cdebf048e5dc2145352340fb9 /tool/src/commands | |
parent | 213f3204087f363c00d9ec42a48c034c6edeae1b (diff) |
openpgp: Enforce that KeyAmalgamations have a binding signature.
- ValidKeyIter enforces that KeyAmalgamations have a valid binding
signature.
- Enforce this constraint when constructing a KeyAmalgamation and
when modifying a KeyAmalgamation's policy.
Diffstat (limited to 'tool/src/commands')
-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 d56f4503..6cba96a1 100644 --- a/tool/src/commands/inspect.rs +++ b/tool/src/commands/inspect.rs @@ -141,7 +141,7 @@ fn inspect_cert(output: &mut dyn io::Write, cert: &openpgp::Cert, for ka in cert.keys().policy(None).skip(1) { writeln!(output, " Subkey: {}", ka.key().fingerprint())?; inspect_revocation(output, "", ka.revoked())?; - inspect_key(output, "", ka.key(), ka.binding_signature(), + inspect_key(output, "", ka.key(), Some(ka.binding_signature()), ka.binding().certifications(), print_keygrips, print_certifications)?; writeln!(output)?; |