{"action":"created","issue":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/268","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/268/labels{/name}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/268/comments","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/268/events","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/268","id":93349017,"number":268,"title":"Shared secret encryption plugin","user":{"login":"warcode","id":1085298,"avatar_url":"https://avatars.githubusercontent.com/u/1085298?v=3","gravatar_id":"","url":"https://api.github.com/users/warcode","html_url":"https://github.com/warcode","followers_url":"https://api.github.com/users/warcode/followers","following_url":"https://api.github.com/users/warcode/following{/other_user}","gists_url":"https://api.github.com/users/warcode/gists{/gist_id}","starred_url":"https://api.github.com/users/warcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warcode/subscriptions","organizations_url":"https://api.github.com/users/warcode/orgs","repos_url":"https://api.github.com/users/warcode/repos","events_url":"https://api.github.com/users/warcode/events{/privacy}","received_events_url":"https://api.github.com/users/warcode/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/feat:%20anonymity%20/%20privacy","name":"feat: anonymity / privacy","color":"207de5"},{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/type:%20new%20feature","name":"type: new feature","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/milestones/16","html_url":"https://github.com/RocketChat/Rocket.Chat/milestones/Roadmap","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/milestones/16/labels","id":1316258,"number":16,"title":"Roadmap","description":"Issues listed on our Roadmap https://github.com/rocketchat/rocket.chat#roadmap","creator":{"login":"marceloschmidt","id":1986378,"avatar_url":"https://avatars.githubusercontent.com/u/1986378?v=3","gravatar_id":"","url":"https://api.github.com/users/marceloschmidt","html_url":"https://github.com/marceloschmidt","followers_url":"https://api.github.com/users/marceloschmidt/followers","following_url":"https://api.github.com/users/marceloschmidt/following{/other_user}","gists_url":"https://api.github.com/users/marceloschmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/marceloschmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marceloschmidt/subscriptions","organizations_url":"https://api.github.com/users/marceloschmidt/orgs","repos_url":"https://api.github.com/users/marceloschmidt/repos","events_url":"https://api.github.com/users/marceloschmidt/events{/privacy}","received_events_url":"https://api.github.com/users/marceloschmidt/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":1,"state":"open","created_at":"2015-09-21T13:19:50Z","updated_at":"2015-09-23T23:46:41Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2015-07-06T18:51:09Z","updated_at":"2015-10-10T16:17:26Z","closed_at":null,"body":"While waiting for a true OTR solution a simple shared secret symmetric encryption set by the users themselves would probably be \"good enough\" for most use-cases where you just want confidentiality for the message contents.\r\n\r\nI have started a plugin at [warcode/rocketchat-sharedsecret](https://github.com/warcode/rocketchat-sharedsecret) and the basic functionality is there.\r\n\r\nThe users should be able to set their key with either a slash command or as an option. This would optimally be per-channel. If you know the key, you can see the messages.\r\n\r\nWill this work with the current plugin system?\r\nIs it possible to assure that this will run last on save (and first on restore, if needed)?\r\nWhich event should I bind to for decryption in this case?"},"comment":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/comments/147103217","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/268#issuecomment-147103217","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/268","id":147103217,"user":{"login":"cesarve77","id":3970983,"avatar_url":"https://avatars.githubusercontent.com/u/3970983?v=3","gravatar_id":"","url":"https://api.github.com/users/cesarve77","html_url":"https://github.com/cesarve77","followers_url":"https://api.github.com/users/cesarve77/followers","following_url":"https://api.github.com/users/cesarve77/following{/other_user}","gists_url":"https://api.github.com/users/cesarve77/gists{/gist_id}","starred_url":"https://api.github.com/users/cesarve77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesarve77/subscriptions","organizations_url":"https://api.github.com/users/cesarve77/orgs","repos_url":"https://api.github.com/users/cesarve77/repos","events_url":"https://api.github.com/users/cesarve77/events{/privacy}","received_events_url":"https://api.github.com/users/cesarve77/received_events","type":"User","site_admin":false},"created_at":"2015-10-10T16:17:26Z","updated_at":"2015-10-10T16:17:26Z","body":"+1"}}