|
|
- # coding=UTF-8
- import os
- from common import which, GnuPGNotFound
- from thunderbird import enigmail_agentPath
-
- 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()
- else:
- return gpg
-
-
- thunderbird_base = os.path.join(os.environ['APPDATA'], 'Thunderbird')
-
- per_user_directory = os.path.join(os.environ['LOCALAPPDATA'], 'pEp')
|