LOC-29: NO_RECP exception on Debian 9



Issue Information

Issue Type: Bug
 
Priority: Major
Status: Closed

Reported By:
Ben Tasker
Assigned To:
Ben Tasker
Project: LocalChat (LOC)
Resolution: Fixed (2018-06-29 09:59:47)
Affects Version: V0.0.2,
Target version: v0.0.2.1,
Components: Server , Encryption ,

Created: 2018-06-29 09:27:00
Time Spent Working


Description
On Debian 9, when we try to encrypt a message an exception is thrown
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'


It looks like the format that gpg.encrypt changed, so we now need to include encrypt=False on calls to that method.


Toggle State Changes

Activity



Repo: LocalChat
Commit: 4fe78375c1fd4b3d2834975ec001253f85749bc9
Author: Ben Tasker <btasker@<Domain Hidden>>

Date: Fri Jun 29 09:27:59 2018 +0100
Commit Message: LOC-29 Fix NO_RECP exception when calling gpg.encrypt on Debian9



Modified (-)(+)
-------
server/LocalChat.py




Webhook User-Agent

GitHub-Hookshot/22e0d92


View Commit

btasker removed 'V0.0.3' from Fix Version
btasker added 'v0.0.2.1' to Fix Version
btasker changed status from 'Open' to 'Resolved'
btasker added 'Fixed' to resolution
btasker changed status from 'Resolved' to 'Closed'