diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-11-27 14:07:58 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-11-27 14:09:26 +0100 |
commit | 5eb6ad9f545291f05f5f2455684da68594c8a4dd (patch) | |
tree | 4e7aaae032f0aef7c8606a5ddc3c0ff51095fae3 /ipc/examples | |
parent | 6fa1c0c42d21c7876c594f9c658742f6639f86b9 (diff) |
openpgp: Fix issuer handling in the streaming verifier.
- To that end, make VerificationHelper::get_public_keys take
KeyHandles for all the issuers.
Diffstat (limited to 'ipc/examples')
-rw-r--r-- | ipc/examples/gpg-agent-decrypt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/examples/gpg-agent-decrypt.rs b/ipc/examples/gpg-agent-decrypt.rs index 3eeb140d..345cdd74 100644 --- a/ipc/examples/gpg-agent-decrypt.rs +++ b/ipc/examples/gpg-agent-decrypt.rs @@ -112,7 +112,7 @@ impl<'a> DecryptionHelper for Helper<'a> { } impl<'a> VerificationHelper for Helper<'a> { - fn get_public_keys(&mut self, _ids: &[openpgp::KeyID]) + fn get_public_keys(&mut self, _ids: &[openpgp::KeyHandle]) -> failure::Fallible<Vec<openpgp::TPK>> { Ok(Vec::new()) // Feed the TPKs to the verifier here. } |