Support gpg2 for bitmask-dev tests
--- git/bitmask-dev ‹master* ⁇› » tox --recreate -e py27-dev -- -x py27-dev create: /home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev py27-dev installdeps: -r/home/varac/dev/projects/leap/git/bitmask-dev/pkg/requirements-testing.pip, gnupg, -egit+https://0xacab.org/leap/leap_pycommon@master#egg=leap.common, -egit+https://0xacab.org/leap/soledad@develop#egg=leap.soledad.common&subdirectory=common, -egit+https://0xacab.org/leap/soledad@develop#egg=leap.soledad.client&subdirectory=client py27-dev develop-inst: /home/varac/dev/projects/leap/git/bitmask-dev py27-dev installed: apipkg==1.4,attrs==16.2.0,cffi==1.8.3,colorama==0.3.7,configparser==3.5.0,constantly==15.1.0,coverage==4.2,cryptography==1.5.3,enum34==1.1.6,execnet==1.4.1,flake8==3.0.4,funcsigs==1.0.2,functools32==3.2.3.post2,gnupg==2.0.2,idna==2.1,incremental==16.10.1,ipaddress==1.0.17,jsonschema==2.5.1,-e git+ssh://gitolite@code.leap.se/bitmask-dev@5ba120030a7641a0404252fb7d8b05fced8ede30#egg=leap.bitmask,-e git+https://0xacab.org/leap/leap_pycommon@70736a67088db938ca7eb9c275323767f4749ffb#egg=leap.common,-e git+https://0xacab.org/leap/soledad@d40023b42053af0971e90ec33dbf9339c2e5f834#egg=leap.soledad.client&subdirectory=client,-e git+https://0xacab.org/leap/soledad@d40023b42053af0971e90ec33dbf9339c2e5f834#egg=leap.soledad.common&subdirectory=common,mccabe==0.5.2,mock==2.0.0,Paste==2.0.3,pathlib2==2.1.0,pbr==1.10.0,pep8==1.7.0,pkg-resources==0.0.0,psutil==5.0.0,py==1.4.31,pyasn1==0.1.9,pyasn1-modules==0.0.8,pycodestyle==2.0.0,pycparser==2.17,pyflakes==1.2.3,pyOpenSSL==16.2.0,pysqlcipher==2.6.7,pytest==3.0.3,pytest-cache==1.0,pytest-cov==2.4.0,pytest-pdb==0.1.0,pytest-pep8==1.0.6,python-dateutil==2.5.3,pyzmq==16.0.0,repoze.lru==0.6,Routes==2.3.1,scrypt==0.8.0,service-identity==16.0.0,setuptools-trial==0.6.0,six==1.10.0,srp==1.0.6,Twisted==16.5.0,txZMQ==0.7.4,zope.interface==4.3.2,zope.proxy==4.2.0 py27-dev runtests: PYTHONHASHSEED='2339094381' py27-dev runtests: commands[0] | py.test -k not bench --pep8 -x ========================================================= test session starts ========================================================= platform linux2 -- Python 2.7.12+, pytest-3.0.3, py-1.4.31, pluggy-0.4.0 rootdir: /home/varac/dev/projects/leap/git/bitmask-dev, inifile: setup.cfg plugins: pep8-1.0.6, pdb-0.1.0, cov-2.4.0 collected 313 items setup.py . src/leap/__init__.py . src/leap/bitmask/__init__.py . src/leap/bitmask/hooks.py . src/leap/bitmask/util.py . src/leap/bitmask/bonafide/__init__.py . src/leap/bitmask/bonafide/_http.py . src/leap/bitmask/bonafide/_protocol.py . src/leap/bitmask/bonafide/_srp.py . src/leap/bitmask/bonafide/bootstrap.py . src/leap/bitmask/bonafide/config.py . src/leap/bitmask/bonafide/cred_srp.py . src/leap/bitmask/bonafide/errors.py . src/leap/bitmask/bonafide/provider.py . src/leap/bitmask/bonafide/service.py . src/leap/bitmask/bonafide/session.py . src/leap/bitmask/cli/__init__.py . src/leap/bitmask/cli/bitmask_cli.py . src/leap/bitmask/cli/command.py . src/leap/bitmask/cli/eip.py . src/leap/bitmask/cli/keys.py . src/leap/bitmask/cli/logs.py . src/leap/bitmask/cli/mail.py . src/leap/bitmask/cli/user.py . src/leap/bitmask/cli/webui.py . src/leap/bitmask/core/__init__.py . src/leap/bitmask/core/_web.py . src/leap/bitmask/core/_zmq.py . src/leap/bitmask/core/api.py . src/leap/bitmask/core/configurable.py . src/leap/bitmask/core/dispatcher.py . src/leap/bitmask/core/dummy.py . src/leap/bitmask/core/flags.py . src/leap/bitmask/core/launcher.py . src/leap/bitmask/core/logs.py . src/leap/bitmask/core/mail_services.py . src/leap/bitmask/core/service.py . src/leap/bitmask/core/uuid_map.py . src/leap/bitmask/core/websocket.py . src/leap/bitmask/core/web/__init__.py . src/leap/bitmask/gui/__init__.py . src/leap/bitmask/gui/app.py . src/leap/bitmask/keymanager/__init__.py . src/leap/bitmask/keymanager/documents.py . src/leap/bitmask/keymanager/errors.py . src/leap/bitmask/keymanager/keys.py . src/leap/bitmask/keymanager/migrator.py . src/leap/bitmask/keymanager/openpgp.py . src/leap/bitmask/keymanager/validation.py . src/leap/bitmask/keymanager/wrapper.py . src/leap/bitmask/keymanager/testing/__init__.py . src/leap/bitmask/mail/__init__.py . src/leap/bitmask/mail/constants.py . src/leap/bitmask/mail/cred.py . src/leap/bitmask/mail/errors.py . src/leap/bitmask/mail/generator.py . src/leap/bitmask/mail/interfaces.py . src/leap/bitmask/mail/load_tests.py . src/leap/bitmask/mail/mail.py . src/leap/bitmask/mail/mailbox_indexer.py . src/leap/bitmask/mail/rfc3156.py . src/leap/bitmask/mail/size.py . src/leap/bitmask/mail/sync_hooks.py . src/leap/bitmask/mail/utils.py . src/leap/bitmask/mail/walk.py . src/leap/bitmask/mail/adaptors/__init__.py . src/leap/bitmask/mail/adaptors/models.py . src/leap/bitmask/mail/adaptors/soledad.py . src/leap/bitmask/mail/adaptors/soledad_indexes.py . src/leap/bitmask/mail/imap/__init__.py . src/leap/bitmask/mail/imap/account.py . src/leap/bitmask/mail/imap/mailbox.py . src/leap/bitmask/mail/imap/messages.py . src/leap/bitmask/mail/imap/server.py . src/leap/bitmask/mail/imap/service/__init__.py . src/leap/bitmask/mail/imap/service/manhole.py . src/leap/bitmask/mail/incoming/__init__.py . src/leap/bitmask/mail/incoming/service.py . src/leap/bitmask/mail/outgoing/__init__.py . src/leap/bitmask/mail/outgoing/service.py . src/leap/bitmask/mail/plugins/__init__.py . src/leap/bitmask/mail/plugins/soledad_sync_hooks.py . src/leap/bitmask/mail/smtp/__init__.py . src/leap/bitmask/mail/smtp/bounces.py . src/leap/bitmask/mail/smtp/gateway.py . src/leap/bitmask/mail/smtp/service.py . src/leap/bitmask/mail/testing/__init__.py . src/leap/bitmask/mail/testing/common.py . src/leap/bitmask/mail/testing/imap.py . src/leap/bitmask/mail/testing/smtp.py . tests/integration/bonafide/test_bonafide_stub.py .. tests/integration/cli/test_cli_stub.py .. tests/integration/core/test_core_stub.py .. tests/integration/keymanager/common.py . tests/integration/keymanager/test_keymanager.py ...F ============================================================== FAILURES =============================================================== ________________________ KeyManagerKeyManagementTestCase.test_decrypt_does_not_update_sign_used_for_recipient _________________________ result = g = deferred = def _inlineCallbacks(result, g, deferred): """ See L{inlineCallbacks}. """ # This function is complicated by the need to prevent unbounded recursion # arising from repeatedly yielding immediately ready deferreds. This while # loop and the waiting variable solve that by manually unfolding the # recursion. waiting = [True, # waiting for result? None] # result while 1: try: # Send the last result back as the result of the yield expression. isFailure = isinstance(result, failure.Failure) if isFailure: > result = result.throwExceptionIntoGenerator(g) .tox/py27-dev/local/lib/python2.7/site-packages/twisted/internet/defer.py:1258: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py27-dev/local/lib/python2.7/site-packages/twisted/python/failure.py:389: in throwExceptionIntoGenerator return g.throw(self.type, self.value, self.tb) tests/integration/keymanager/test_keymanager.py:501: in test_decrypt_does_not_update_sign_used_for_recipient fetch_remote=False) .tox/py27-dev/local/lib/python2.7/site-packages/twisted/internet/defer.py:1258: in _inlineCallbacks result = result.throwExceptionIntoGenerator(g) .tox/py27-dev/local/lib/python2.7/site-packages/twisted/python/failure.py:389: in throwExceptionIntoGenerator return g.throw(self.type, self.value, self.tb) src/leap/bitmask/keymanager/__init__.py:501: in encrypt cipher_algo=cipher_algo) .tox/py27-dev/local/lib/python2.7/site-packages/twisted/internet/defer.py:1260: in _inlineCallbacks result = g.send(result) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , data = 'data' pubkey = , passphrase = None sign = , cipher_algo = 'AES256' @defer.inlineCallbacks def encrypt(self, data, pubkey, passphrase=None, sign=None, cipher_algo='AES256'): """ Encrypt C{data} using public @{pubkey} and sign with C{sign} key. :param data: The data to be encrypted. :type data: str :param pubkey: The key used to encrypt. :type pubkey: OpenPGPKey :param sign: The key used for signing. :type sign: OpenPGPKey :param cipher_algo: The cipher algorithm to use. :type cipher_algo: str :return: A Deferred that will be fired with the encrypted data. :rtype: defer.Deferred :raise EncryptError: Raised if failed encrypting for some reason. """ leap_assert_type(pubkey, OpenPGPKey) leap_assert(pubkey.private is False, 'Key is not public.') keys = [pubkey] if sign is not None: leap_assert_type(sign, OpenPGPKey) leap_assert(sign.private is True) keys.append(sign) with TempGPGWrapper(keys, self._gpgbinary) as gpg: kw = dict( default_key=sign.fingerprint if sign else None, passphrase=passphrase, symmetric=False, cipher_algo=cipher_algo) if not GNUPG_NG: kw.pop('cipher_algo') kw.pop('default_key') kw.update(passphrase='') kw.update(always_trust=True) result = yield from_thread( gpg.encrypt, data, pubkey.fingerprint, **kw) # Here we cannot assert for correctness of sig because the sig is # in the ciphertext. # result.ok - (bool) indicates if the operation succeeded # result.data - (bool) contains the result of the operation try: self._assert_gpg_result_ok(result) defer.returnValue(result.data) except errors.GPGError as e: logger.warn('Failed to encrypt: %s.' % str(e)) > raise errors.EncryptError() E EncryptError src/leap/bitmask/keymanager/openpgp.py:608: EncryptError -------------------------------------------------------- Captured stderr call --------------------------------------------------------- Exception in thread Thread-16: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_meta.py", line 626, in _read_response result._handle_status(keyword, value) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_parsers.py", line 1137, in _handle_status raise ValueError("Unknown status message: %r" % key) ValueError: Unknown status message: u'KEY_CONSIDERED' Exception in thread Thread-20: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_meta.py", line 626, in _read_response result._handle_status(keyword, value) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_parsers.py", line 895, in _handle_status raise ValueError("Unknown status message: %r" % key) ValueError: Unknown status message: u'KEY_CONSIDERED' Exception in thread Thread-24: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_meta.py", line 626, in _read_response result._handle_status(keyword, value) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_parsers.py", line 895, in _handle_status raise ValueError("Unknown status message: %r" % key) ValueError: Unknown status message: u'KEY_CONSIDERED' Exception in thread Thread-47: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_meta.py", line 626, in _read_response result._handle_status(keyword, value) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_parsers.py", line 1137, in _handle_status raise ValueError("Unknown status message: %r" % key) ValueError: Unknown status message: u'KEY_CONSIDERED' Exception in thread Thread-51: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_meta.py", line 626, in _read_response result._handle_status(keyword, value) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_parsers.py", line 895, in _handle_status raise ValueError("Unknown status message: %r" % key) ValueError: Unknown status message: u'EXPORTED' Exception in thread Thread-55: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_meta.py", line 626, in _read_response result._handle_status(keyword, value) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_parsers.py", line 895, in _handle_status raise ValueError("Unknown status message: %r" % key) ValueError: Unknown status message: u'KEY_CONSIDERED' Exception in thread Thread-78: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_meta.py", line 626, in _read_response result._handle_status(keyword, value) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_parsers.py", line 1137, in _handle_status raise ValueError("Unknown status message: %r" % key) ValueError: Unknown status message: u'KEY_CONSIDERED' Exception in thread Thread-82: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_meta.py", line 626, in _read_response result._handle_status(keyword, value) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_parsers.py", line 895, in _handle_status raise ValueError("Unknown status message: %r" % key) ValueError: Unknown status message: u'KEY_CONSIDERED' Exception in thread Thread-86: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_meta.py", line 626, in _read_response result._handle_status(keyword, value) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_parsers.py", line 895, in _handle_status raise ValueError("Unknown status message: %r" % key) ValueError: Unknown status message: u'KEY_CONSIDERED' Exception in thread Thread-109: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_meta.py", line 626, in _read_response result._handle_status(keyword, value) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_parsers.py", line 1137, in _handle_status raise ValueError("Unknown status message: %r" % key) ValueError: Unknown status message: u'KEY_CONSIDERED' Exception in thread Thread-113: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_meta.py", line 626, in _read_response result._handle_status(keyword, value) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_parsers.py", line 895, in _handle_status raise ValueError("Unknown status message: %r" % key) ValueError: Unknown status message: u'EXPORTED' Exception in thread Thread-117: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_meta.py", line 626, in _read_response result._handle_status(keyword, value) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_parsers.py", line 895, in _handle_status raise ValueError("Unknown status message: %r" % key) ValueError: Unknown status message: u'KEY_CONSIDERED' Exception in thread Thread-129: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_meta.py", line 626, in _read_response result._handle_status(keyword, value) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_parsers.py", line 1137, in _handle_status raise ValueError("Unknown status message: %r" % key) ValueError: Unknown status message: u'KEY_CONSIDERED' Exception in thread Thread-140: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_meta.py", line 626, in _read_response result._handle_status(keyword, value) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_parsers.py", line 1506, in _handle_status super(Crypt, self)._handle_status(key, value) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_parsers.py", line 1419, in _handle_status raise ValueError("Unknown status message: %r" % key) ValueError: Unknown status message: u'KEY_CONSIDERED' Exception in thread Thread-144: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_meta.py", line 626, in _read_response result._handle_status(keyword, value) File "/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/local/lib/python2.7/site-packages/gnupg/_parsers.py", line 895, in _handle_status raise ValueError("Unknown status message: %r" % key) ValueError: Unknown status message: u'KEY_CONSIDERED' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ========================================================= 31 tests deselected ========================================================= ======================================== 1 failed, 100 passed, 31 deselected in 16.21 seconds ========================================= ERROR: InvocationError: '/home/varac/dev/projects/leap/git/bitmask-dev/.tox/py27-dev/bin/py.test -k not bench --pep8 -x' _______________________________________________________________ summary _______________________________________________________________ ERROR: py27-dev: commands failed
Kali, you suspected that this is due to gpg2 being installed as default gpg binary.
I installed the 'gnupg1' package but 'gpg' still defaults to 'gpg2':
--- git/bitmask-dev ‹master* ⁇› » gpg --version | head -1 gpg (GnuPG) 2.1.15 --- git/bitmask-dev ‹master* ⁇› » gpg1 --version | head -1 gpg (GnuPG) 1.4.20 --- git/bitmask-dev ‹master* ⁇› » gpg2 --version | head -1 gpg (GnuPG) 2.1.15
I needed to create a symlink so 'gpg1' is used when 'gpg' is called:
--- git/bitmask-dev ‹master* ⁇› » sudo mv /usr/bin/gpg /usr/bin/gpg.orig --- git/bitmask-dev ‹master* ⁇› » sudo ln -s /usr/bin/gpg1 /usr/bin/gpg
With the symlink above, tests are passing! However, I don't like to have a system-wide downgrade of gpg only for the bitmask-dev tests... Any way of either supporting gpg2 in the tests or making use of 'gpg1' if it's installed ?
(from redmine: created on 2016-11-08)