From e15e54a21d00f89e922a14406b8cd784c715fd41 Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Thu, 24 Jul 2014 16:28:02 +0000 Subject: [PATCH] UserDoc/SplitGpg changed Config: add qubes_gpg.sh script listing --- UserDoc/SplitGpg.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/UserDoc/SplitGpg.md b/UserDoc/SplitGpg.md index 4f55fae4..ddea3ee1 100644 --- a/UserDoc/SplitGpg.md +++ b/UserDoc/SplitGpg.md @@ -73,7 +73,15 @@ ssb 4096R/30498E2A 2012-11-15 (...) ``` -However, when using Thunderbird with Enigmail extension it is not enough, because Thunderbird doesn't preserve the environment variables. Instead it is recommended to create a short script e.g. in the user home directory: ... and then point Enigmail to use this script instead of the standard GnuPG binary: +However, when using Thunderbird with Enigmail extension it is not enough, because Thunderbird doesn't preserve the environment variables. Instead it is recommended to create a short script e.g. in the user home directory (name it e.g. `.qubes_gpg.sh` and make it executable): + +``` {.wiki} +#!/bin/bash +export QUBES_GPG_DOMAIN=work-gpg +exec qubes-gpg-client "$@" +``` + +... and then point Enigmail to use this script instead of the standard GnuPG binary: [![No image "tb-enigmail-split-gpg-settings.png" attached to UserDoc/SplitGpg](/chrome/common/attachment.png "No image "tb-enigmail-split-gpg-settings.png" attached to UserDoc/SplitGpg")](/attachment/wiki/UserDoc/SplitGpg/tb-enigmail-split-gpg-settings.png)