########################################################################################## LOC-29: NO_RECP exception on Debian 9 ########################################################################################## Issue Type: Bug ----------------------------------------------------------------------------------------- Issue Information ==================== Priority: Major Status: Closed Resolution: Fixed (2018-06-29 09:59:47) Project: LocalChat (LOC) Reported By: btasker Assigned To: btasker Components: - Server - Encryption Affected Versions: - V0.0.2 Targeted for fix in version: - v0.0.2.1 Time Estimate: 0 minutes Time Logged: 0 minutes ----------------------------------------------------------------------------------------- Issue Description ================== On Debian 9, when we try to encrypt a message an exception is thrown -- BEGIN SNIPPET -- Jun 29 09:03:12 debian9 python[11003]: super(Crypt, self)._handle_status(key, value) Jun 29 09:03:12 debian9 python[11003]: File "/usr/local/lib/python2.7/dist-packages/gnupg/_parsers.py", line 1656, in _handle_status Jun 29 09:03:12 debian9 python[11003]: raise ValueError("Unknown status message: %r" % key) Jun 29 09:03:12 debian9 python[11003]: ValueError: Unknown status message: u'NO_RECP' -- END SNIPPET -- It looks like the format that gpg.encrypt changed, so we now need to include encrypt=False on calls to that method. ----------------------------------------------------------------------------------------- Activity ========== ----------------------------------------------------------------------------------------- 2018-06-29 09:30:35 git ----------------------------------------------------------------------------------------- -- BEGIN QUOTE -- Repo: LocalChat Commit: 4fe78375c1fd4b3d2834975ec001253f85749bc9 Author: Ben Tasker