Allow setting the GPG binary path

This commit is contained in:
Roberto Rosario
2015-01-19 00:42:33 -04:00
parent 5b718da664
commit a46ac1e9ef
2 changed files with 3 additions and 12 deletions

View File

@@ -14,5 +14,6 @@ register_settings(
settings=[
{'name': u'KEYSERVERS', 'global_name': u'SIGNATURES_KEYSERVERS', 'default': ['pool.sks-keyservers.net'], 'description': _(u'List of keyservers to be queried for unknown keys.')},
{'name': u'GPG_HOME', 'global_name': u'SIGNATURES_GPG_HOME', 'default': os.path.join(settings.MEDIA_ROOT, u'gpg_home'), 'description': _(u'Home directory used to store keys as well as configuration files.')},
{'name': u'GPG_PATH', 'global_name': u'SIGNATURES_GPG_PATH', 'default': u'/usr/bin/gpgs', 'description': _(u'Path to the GPG binary.')},
]
)