From 56131179c6f9e9e2e6fa4d3830ec8513509dc475 Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Wed, 17 Apr 2013 00:16:28 +0000 Subject: [PATCH] Add stub GPG.list_sigs() function. --- gnupg/gnupg.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gnupg/gnupg.py b/gnupg/gnupg.py index 1d1dfbf..62b5747 100644 --- a/gnupg/gnupg.py +++ b/gnupg/gnupg.py @@ -677,6 +677,17 @@ class GPG(object): getattr(result, keyword)(L) return result + def list_sigs(self, *keyids): + """xxx implement me + + The GnuPG option '--show-photos', according to the GnuPG manual, "does + not work with --with-colons", but since we can't rely on all versions + of GnuPG to explicitly handle this correctly, we should probably + include it in the args. + """ + ## we will want to include "--no-show-photos" in the args + raise NotImplemented("Functionality for '--list-sigs' not implemented.") + def gen_key(self, input): """ Generate a key; you might use gen_key_input() to create the control