Remove unused GPG code
This commit is contained in:
parent
92b0a15521
commit
2872993b0c
|
@ -42,16 +42,6 @@ if HAVE_GPG:
|
||||||
self.passphrase = None
|
self.passphrase = None
|
||||||
self.always_trust = [] # list of keyID to always trust
|
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):
|
def encrypt(self, str_, recipients, always_trust=False):
|
||||||
trust = always_trust
|
trust = always_trust
|
||||||
if not trust:
|
if not trust:
|
||||||
|
|
Loading…
Reference in New Issue