{"action":"created","issue":{"url":"https://api.github.com/repos/arlolra/ctypes-otr/issues/51","labels_url":"https://api.github.com/repos/arlolra/ctypes-otr/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/arlolra/ctypes-otr/issues/51/comments","events_url":"https://api.github.com/repos/arlolra/ctypes-otr/issues/51/events","html_url":"https://github.com/arlolra/ctypes-otr/issues/51","id":90760951,"number":51,"title":"Message not sent when reopening a conversation","user":{"login":"aleth","id":327844,"avatar_url":"https://avatars.githubusercontent.com/u/327844?v=3","gravatar_id":"","url":"https://api.github.com/users/aleth","html_url":"https://github.com/aleth","followers_url":"https://api.github.com/users/aleth/followers","following_url":"https://api.github.com/users/aleth/following{/other_user}","gists_url":"https://api.github.com/users/aleth/gists{/gist_id}","starred_url":"https://api.github.com/users/aleth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleth/subscriptions","organizations_url":"https://api.github.com/users/aleth/orgs","repos_url":"https://api.github.com/users/aleth/repos","events_url":"https://api.github.com/users/aleth/events{/privacy}","received_events_url":"https://api.github.com/users/aleth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-24T19:08:48Z","updated_at":"2015-06-24T19:42:15Z","closed_at":null,"body":"With a contact whose fingerprint has been stored in a previous session for both recipient X and sender, one gets \"X has already closed their private connection to you. Your message was not sent. Either end your private conversation, or restart it.\" if X has closed the conversation.\r\n\r\nNaively, expected behaviour would be to renegotiate the private state and then send the message?\r\n\r\nSimilarly, when opening a new conversation with X, there is a \"not private\" system message. Should it be assumed that as we have the fingerprint, the conversation will be private unless we find out otherwise (if opportunistic encryption is turned on)?"},"comment":{"url":"https://api.github.com/repos/arlolra/ctypes-otr/issues/comments/114990311","html_url":"https://github.com/arlolra/ctypes-otr/issues/51#issuecomment-114990311","issue_url":"https://api.github.com/repos/arlolra/ctypes-otr/issues/51","id":114990311,"user":{"login":"arlolra","id":123708,"avatar_url":"https://avatars.githubusercontent.com/u/123708?v=3","gravatar_id":"","url":"https://api.github.com/users/arlolra","html_url":"https://github.com/arlolra","followers_url":"https://api.github.com/users/arlolra/followers","following_url":"https://api.github.com/users/arlolra/following{/other_user}","gists_url":"https://api.github.com/users/arlolra/gists{/gist_id}","starred_url":"https://api.github.com/users/arlolra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arlolra/subscriptions","organizations_url":"https://api.github.com/users/arlolra/orgs","repos_url":"https://api.github.com/users/arlolra/repos","events_url":"https://api.github.com/users/arlolra/events{/privacy}","received_events_url":"https://api.github.com/users/arlolra/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T19:42:15Z","updated_at":"2015-06-24T19:42:15Z","body":"With opportunistic encryption, the first message that you send is in plaintext with whitespace tags appended to the end. If the receiving client has OTR enabled, it'll detect those tags and then negotiate a secure session.\r\n\r\nSo, with that in mind, it's important that, when you end the conversation (here closing the conversation sends the disconnect message #1 ... this is why we added the holdByDefault pref in https://github.com/mozilla/releases-comm-central/commit/e39518976f3b882993204c465a2a6ff92d0c98a0), the contact has to made explicitly aware that we're switching back to sending in plaintext. Requiring the user action here is for their benefit.\r\n\r\nDoes that help?\r\n"}}