diff options
-rw-r--r-- | gemato/openpgp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gemato/openpgp.py b/gemato/openpgp.py index 83044b6..951ab79 100644 --- a/gemato/openpgp.py +++ b/gemato/openpgp.py @@ -14,7 +14,7 @@ import gemato.exceptions def _spawn_gpg(options, home, stdin): env = None if home is not None: - env={'HOME': home} + env={'GNUPGHOME': home} try: p = subprocess.Popen(['gpg', '--batch'] + options, |