Allow GnuPG flags for anonymising keyids of encrypted messages.

* ADD `--hidden-encrypt-to` and `--hidden-recipient` options to
   `hex_options` in gnupg._parsers._get_options_group().
 * ADD `--throw-keyids` option to `none_options` in
   gnupg._parsers._get_options_group().
 * FIXES issue #30:
   https://github.com/isislovecruft/python-gnupg/issues/30
 * NEEDS unittests still.
fix/30-hidden-recipient
Isis Lovecruft 2013-12-05 01:19:20 +00:00
parent a2abeff818
commit 2bac4a67ed
No known key found for this signature in database
GPG Key ID: 5C17776E27F7E84D
1 changed files with 3 additions and 0 deletions

View File

@ -475,6 +475,8 @@ def _get_options_group(group=None):
'--export-secret-subkeys',
'--fingerprint',
'--gen-revoke',
'--hidden-encrypt-to',
'--hidden-recipient',
'--list-key',
'--list-keys',
'--list-public-keys',
@ -566,6 +568,7 @@ def _get_options_group(group=None):
'--quiet',
'--sign',
'--symmetric',
'--throw-keyids',
'--use-agent',
'--verbose',
'--version',