{"action":"created","issue":{"url":"https://api.github.com/repos/SockDrawer/SockBot/issues/186","labels_url":"https://api.github.com/repos/SockDrawer/SockBot/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/SockDrawer/SockBot/issues/186/comments","events_url":"https://api.github.com/repos/SockDrawer/SockBot/issues/186/events","html_url":"https://github.com/SockDrawer/SockBot/issues/186","id":101644341,"number":186,"title":"Support for encrypted config file values","user":{"login":"AccaliaDeElementia","id":829476,"avatar_url":"https://avatars.githubusercontent.com/u/829476?v=3","gravatar_id":"","url":"https://api.github.com/users/AccaliaDeElementia","html_url":"https://github.com/AccaliaDeElementia","followers_url":"https://api.github.com/users/AccaliaDeElementia/followers","following_url":"https://api.github.com/users/AccaliaDeElementia/following{/other_user}","gists_url":"https://api.github.com/users/AccaliaDeElementia/gists{/gist_id}","starred_url":"https://api.github.com/users/AccaliaDeElementia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AccaliaDeElementia/subscriptions","organizations_url":"https://api.github.com/users/AccaliaDeElementia/orgs","repos_url":"https://api.github.com/users/AccaliaDeElementia/repos","events_url":"https://api.github.com/users/AccaliaDeElementia/events{/privacy}","received_events_url":"https://api.github.com/users/AccaliaDeElementia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SockDrawer/SockBot/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"AccaliaDeElementia","id":829476,"avatar_url":"https://avatars.githubusercontent.com/u/829476?v=3","gravatar_id":"","url":"https://api.github.com/users/AccaliaDeElementia","html_url":"https://github.com/AccaliaDeElementia","followers_url":"https://api.github.com/users/AccaliaDeElementia/followers","following_url":"https://api.github.com/users/AccaliaDeElementia/following{/other_user}","gists_url":"https://api.github.com/users/AccaliaDeElementia/gists{/gist_id}","starred_url":"https://api.github.com/users/AccaliaDeElementia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AccaliaDeElementia/subscriptions","organizations_url":"https://api.github.com/users/AccaliaDeElementia/orgs","repos_url":"https://api.github.com/users/AccaliaDeElementia/repos","events_url":"https://api.github.com/users/AccaliaDeElementia/events{/privacy}","received_events_url":"https://api.github.com/users/AccaliaDeElementia/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-08-18T12:27:17Z","updated_at":"2015-08-19T11:58:59Z","closed_at":null,"body":"travis style values for config file should be encryptable. This should apply to any value (especiually for passwords/api tokens)"},"comment":{"url":"https://api.github.com/repos/SockDrawer/SockBot/issues/comments/132561421","html_url":"https://github.com/SockDrawer/SockBot/issues/186#issuecomment-132561421","issue_url":"https://api.github.com/repos/SockDrawer/SockBot/issues/186","id":132561421,"user":{"login":"AccaliaDeElementia","id":829476,"avatar_url":"https://avatars.githubusercontent.com/u/829476?v=3","gravatar_id":"","url":"https://api.github.com/users/AccaliaDeElementia","html_url":"https://github.com/AccaliaDeElementia","followers_url":"https://api.github.com/users/AccaliaDeElementia/followers","following_url":"https://api.github.com/users/AccaliaDeElementia/following{/other_user}","gists_url":"https://api.github.com/users/AccaliaDeElementia/gists{/gist_id}","starred_url":"https://api.github.com/users/AccaliaDeElementia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AccaliaDeElementia/subscriptions","organizations_url":"https://api.github.com/users/AccaliaDeElementia/orgs","repos_url":"https://api.github.com/users/AccaliaDeElementia/repos","events_url":"https://api.github.com/users/AccaliaDeElementia/events{/privacy}","received_events_url":"https://api.github.com/users/AccaliaDeElementia/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T11:58:59Z","updated_at":"2015-08-19T11:58:59Z","body":"Looking to implement RSA public/private key encryption here. `node-rsa` looks to be a good library for that.\n\nsockbot command line will support specifying encryption key location, key passphrase, and will provide utility to generate keys (although ssh-keygen will undoubtedly be faster) as well as take input text and encrypt it.\n\nI'd also like for it to be able to take a config file and encrypt/decrypt a key in the config file, but that may not be in phase 1.\n\nencrypted nodes in the config file will be JSON.stringified, encripted, and stored as a replacement node as follows: `{secure: base64 encoded encrypted value}`\n\nThe YAML equivalent will also be accepted."}}