{"action":"created","issue":{"url":"https://api.github.com/repos/predictive-technology-laboratory/sensus/issues/438","repository_url":"https://api.github.com/repos/predictive-technology-laboratory/sensus","labels_url":"https://api.github.com/repos/predictive-technology-laboratory/sensus/issues/438/labels{/name}","comments_url":"https://api.github.com/repos/predictive-technology-laboratory/sensus/issues/438/comments","events_url":"https://api.github.com/repos/predictive-technology-laboratory/sensus/issues/438/events","html_url":"https://github.com/predictive-technology-laboratory/sensus/issues/438","id":301197418,"number":438,"title":"Encrypt protocols produced by designer","user":{"login":"MatthewGerber","id":4643066,"avatar_url":"https://avatars0.githubusercontent.com/u/4643066?v=4","gravatar_id":"","url":"https://api.github.com/users/MatthewGerber","html_url":"https://github.com/MatthewGerber","followers_url":"https://api.github.com/users/MatthewGerber/followers","following_url":"https://api.github.com/users/MatthewGerber/following{/other_user}","gists_url":"https://api.github.com/users/MatthewGerber/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthewGerber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthewGerber/subscriptions","organizations_url":"https://api.github.com/users/MatthewGerber/orgs","repos_url":"https://api.github.com/users/MatthewGerber/repos","events_url":"https://api.github.com/users/MatthewGerber/events{/privacy}","received_events_url":"https://api.github.com/users/MatthewGerber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Boukhechba","id":18601845,"avatar_url":"https://avatars2.githubusercontent.com/u/18601845?v=4","gravatar_id":"","url":"https://api.github.com/users/Boukhechba","html_url":"https://github.com/Boukhechba","followers_url":"https://api.github.com/users/Boukhechba/followers","following_url":"https://api.github.com/users/Boukhechba/following{/other_user}","gists_url":"https://api.github.com/users/Boukhechba/gists{/gist_id}","starred_url":"https://api.github.com/users/Boukhechba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Boukhechba/subscriptions","organizations_url":"https://api.github.com/users/Boukhechba/orgs","repos_url":"https://api.github.com/users/Boukhechba/repos","events_url":"https://api.github.com/users/Boukhechba/events{/privacy}","received_events_url":"https://api.github.com/users/Boukhechba/received_events","type":"User","site_admin":false},"assignees":[{"login":"Boukhechba","id":18601845,"avatar_url":"https://avatars2.githubusercontent.com/u/18601845?v=4","gravatar_id":"","url":"https://api.github.com/users/Boukhechba","html_url":"https://github.com/Boukhechba","followers_url":"https://api.github.com/users/Boukhechba/followers","following_url":"https://api.github.com/users/Boukhechba/following{/other_user}","gists_url":"https://api.github.com/users/Boukhechba/gists{/gist_id}","starred_url":"https://api.github.com/users/Boukhechba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Boukhechba/subscriptions","organizations_url":"https://api.github.com/users/Boukhechba/orgs","repos_url":"https://api.github.com/users/Boukhechba/repos","events_url":"https://api.github.com/users/Boukhechba/events{/privacy}","received_events_url":"https://api.github.com/users/Boukhechba/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/predictive-technology-laboratory/sensus/milestones/11","html_url":"https://github.com/predictive-technology-laboratory/sensus/milestone/11","labels_url":"https://api.github.com/repos/predictive-technology-laboratory/sensus/milestones/11/labels","id":3141835,"number":11,"title":"v15.1-beta","description":"","creator":{"login":"MatthewGerber","id":4643066,"avatar_url":"https://avatars0.githubusercontent.com/u/4643066?v=4","gravatar_id":"","url":"https://api.github.com/users/MatthewGerber","html_url":"https://github.com/MatthewGerber","followers_url":"https://api.github.com/users/MatthewGerber/followers","following_url":"https://api.github.com/users/MatthewGerber/following{/other_user}","gists_url":"https://api.github.com/users/MatthewGerber/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthewGerber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthewGerber/subscriptions","organizations_url":"https://api.github.com/users/MatthewGerber/orgs","repos_url":"https://api.github.com/users/MatthewGerber/repos","events_url":"https://api.github.com/users/MatthewGerber/events{/privacy}","received_events_url":"https://api.github.com/users/MatthewGerber/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":9,"state":"open","created_at":"2018-02-25T21:20:06Z","updated_at":"2018-03-09T03:00:22Z","due_on":"2018-03-01T08:00:00Z","closed_at":null},"comments":1,"created_at":"2018-02-28T21:52:51Z","updated_at":"2018-03-16T20:40:19Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"All sensus protocol .json files are encrypted to protect sensitive data they might contain. The web designer also needs to encrypt the .json files that it produces. You can obtain a 256-bit key with the following command:\r\n\r\n    openssl enc -aes-256-cbc -k secret -P -md sha1\r\n\r\nI think you can use [this](http://php.net/manual/en/function.openssl-encrypt.php) PHP method to encrypt prior to the S3 put operation, using `aes-256-cbc` as the method.\r\n\r\nIn the UI, simply include fields on the first page for the AES key and initialization vectors, as output by the above command. Use these values in your PHP function to encrypt the .json file prior to S3 put."},"comment":{"url":"https://api.github.com/repos/predictive-technology-laboratory/sensus/issues/comments/373838737","html_url":"https://github.com/predictive-technology-laboratory/sensus/issues/438#issuecomment-373838737","issue_url":"https://api.github.com/repos/predictive-technology-laboratory/sensus/issues/438","id":373838737,"user":{"login":"MatthewGerber","id":4643066,"avatar_url":"https://avatars0.githubusercontent.com/u/4643066?v=4","gravatar_id":"","url":"https://api.github.com/users/MatthewGerber","html_url":"https://github.com/MatthewGerber","followers_url":"https://api.github.com/users/MatthewGerber/followers","following_url":"https://api.github.com/users/MatthewGerber/following{/other_user}","gists_url":"https://api.github.com/users/MatthewGerber/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthewGerber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthewGerber/subscriptions","organizations_url":"https://api.github.com/users/MatthewGerber/orgs","repos_url":"https://api.github.com/users/MatthewGerber/repos","events_url":"https://api.github.com/users/MatthewGerber/events{/privacy}","received_events_url":"https://api.github.com/users/MatthewGerber/received_events","type":"User","site_admin":false},"created_at":"2018-03-16T20:40:19Z","updated_at":"2018-03-16T20:40:19Z","author_association":"CONTRIBUTOR","body":"Can you PR this to me?\n\nOn Fri, Mar 16, 2018, 1:40 PM Boukhechba <notifications@github.com> wrote:\n\n> Done\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/predictive-technology-laboratory/sensus/issues/438#issuecomment-373790520>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AEbY-ptXcD5TAAP5vW7RbqYKVwtLnLVGks5te_kRgaJpZM4SXaBK>\n> .\n>\n"}}
{"actor":{"display_login":"MatthewGerber"}}