Remove unused GPG code

This commit is contained in:
Philipp Hörist 2017-06-08 19:10:04 +02:00
parent 92b0a15521
commit 2872993b0c
1 changed files with 0 additions and 10 deletions

View File

@ -42,16 +42,6 @@ if HAVE_GPG:
self.passphrase = None
self.always_trust = [] # list of keyID to always trust
def _setup_my_options(self):
self.options.armor = 1
self.options.meta_interactive = 0
self.options.extra_args.append('--no-secmem-warning')
# disable photo viewer when verifying keys
self.options.extra_args.append('--verify-options')
self.options.extra_args.append('no-show-photo')
if self.use_agent:
self.options.extra_args.append('--use-agent')
def encrypt(self, str_, recipients, always_trust=False):
trust = always_trust
if not trust: