diff options
Diffstat (limited to 'tool/src/commands/inspect.rs')
-rw-r--r-- | tool/src/commands/inspect.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/src/commands/inspect.rs b/tool/src/commands/inspect.rs index c1f12120..8e475bbf 100644 --- a/tool/src/commands/inspect.rs +++ b/tool/src/commands/inspect.rs @@ -246,8 +246,9 @@ fn inspect_key(policy: &dyn Policy, }; if print_keygrips { + use openpgp::crypto::Keygrip; writeln!(output, "{} Keygrip: {}", indent, - key.mpis().keygrip()?)?; + Keygrip::of(key.mpis())?)?; } writeln!(output, "{}Public-key algo: {}", indent, key.pk_algo())?; if let Some(bits) = key.mpis().bits() { |