From 1b95e254d72cc9fd57976bb7ae2c33094ddc1e04 Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Tue, 21 May 2013 13:03:58 +0000 Subject: [PATCH] Update docstring for GPG.list_keys(). --- src/gnupg.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gnupg.py b/src/gnupg.py index 4934fc1..645f40f 100644 --- a/src/gnupg.py +++ b/src/gnupg.py @@ -999,6 +999,11 @@ use_agent: %s def list_keys(self, secret=False): """List the keys currently in the keyring. + 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. + >>> import shutil >>> shutil.rmtree("keys") >>> gpg = GPG(homedir="keys")