1diff --git a/slixmpp/plugins/xep_0027/gpg.py b/slixmpp/plugins/xep_0027/gpg.py
2index a0b1df4..7cfb3bd 100644
3--- a/slixmpp/plugins/xep_0027/gpg.py
4+++ b/slixmpp/plugins/xep_0027/gpg.py
5@@ -41,7 +41,7 @@ class XEP_0027(BasePlugin):
6 dependencies = set()
7 stanza = stanza
8 default_config = {
9- 'gpg_binary': 'gpg',
10+ 'gpg_binary': '@gnupg@/bin/gpg',
11 'gpg_home': '',
12 'use_agent': True,
13 'keyring': None,
14diff --git a/slixmpp/thirdparty/gnupg.py b/slixmpp/thirdparty/gnupg.py
15index a89289f..46dd9b7 100644
16--- a/slixmpp/thirdparty/gnupg.py
17+++ b/slixmpp/thirdparty/gnupg.py
18@@ -468,7 +468,7 @@ class GPG(object):
19 }
20
21 "Encapsulate access to the gpg executable"
22- def __init__(self, gpgbinary='gpg', gnupghome=None, verbose=False,
23+ def __init__(self, gpgbinary='@gnupg@/bin/gpg', gnupghome=None, verbose=False,
24 use_agent=False, keyring=None):
25 """Initialize a GPG process wrapper. Options are:
26