Import data from Enigmail to pEp for Thunderbird
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
438 B

# coding=UTF-8
import os
from common import which, GnuPGNotFound
def gpg_executable(thunderbird_base):
enigmail_gpg = enigmail_agentPath(thunderbird_base)
gpg = enigmail_gpg if enigmail_gpg else which('gpg.exe')
if not gpg:
raise GnuPGNotFound()
return gpg
thunderbird_base = os.path.join(os.environ['APPDATA'], 'Thunderbird')
per_user_directory = os.path.join(os.environ['LOCALAPPDATA'], 'pEp')