{"action":"created","issue":{"url":"https://api.github.com/repos/lobobabysaurus/NewAppearances/issues/23","labels_url":"https://api.github.com/repos/lobobabysaurus/NewAppearances/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/lobobabysaurus/NewAppearances/issues/23/comments","events_url":"https://api.github.com/repos/lobobabysaurus/NewAppearances/issues/23/events","html_url":"https://github.com/lobobabysaurus/NewAppearances/issues/23","id":117711029,"number":23,"title":"Secure database creditials","user":{"login":"lobobabysaurus","id":11999195,"avatar_url":"https://avatars.githubusercontent.com/u/11999195?v=3","gravatar_id":"","url":"https://api.github.com/users/lobobabysaurus","html_url":"https://github.com/lobobabysaurus","followers_url":"https://api.github.com/users/lobobabysaurus/followers","following_url":"https://api.github.com/users/lobobabysaurus/following{/other_user}","gists_url":"https://api.github.com/users/lobobabysaurus/gists{/gist_id}","starred_url":"https://api.github.com/users/lobobabysaurus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lobobabysaurus/subscriptions","organizations_url":"https://api.github.com/users/lobobabysaurus/orgs","repos_url":"https://api.github.com/users/lobobabysaurus/repos","events_url":"https://api.github.com/users/lobobabysaurus/events{/privacy}","received_events_url":"https://api.github.com/users/lobobabysaurus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-19T00:07:40Z","updated_at":"2015-11-19T00:07:40Z","closed_at":null,"body":"We are currently storing our db credentials as plaintext on the database server.\n\nWe need to figure out a way to obfuscate credentials and whatnot.\n\n----------------------------------------\n- Bitbucket: https://bitbucket.org/philsim7/newappearances/issue/11\n- Originally reported by: Phil Simmons\n- Originally created at: 2015-02-07T17:28:10.336\n"},"comment":{"url":"https://api.github.com/repos/lobobabysaurus/NewAppearances/issues/comments/157904633","html_url":"https://github.com/lobobabysaurus/NewAppearances/issues/23#issuecomment-157904633","issue_url":"https://api.github.com/repos/lobobabysaurus/NewAppearances/issues/23","id":157904633,"user":{"login":"lobobabysaurus","id":11999195,"avatar_url":"https://avatars.githubusercontent.com/u/11999195?v=3","gravatar_id":"","url":"https://api.github.com/users/lobobabysaurus","html_url":"https://github.com/lobobabysaurus","followers_url":"https://api.github.com/users/lobobabysaurus/followers","following_url":"https://api.github.com/users/lobobabysaurus/following{/other_user}","gists_url":"https://api.github.com/users/lobobabysaurus/gists{/gist_id}","starred_url":"https://api.github.com/users/lobobabysaurus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lobobabysaurus/subscriptions","organizations_url":"https://api.github.com/users/lobobabysaurus/orgs","repos_url":"https://api.github.com/users/lobobabysaurus/repos","events_url":"https://api.github.com/users/lobobabysaurus/events{/privacy}","received_events_url":"https://api.github.com/users/lobobabysaurus/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T00:07:40Z","updated_at":"2015-11-19T00:07:40Z","body":"I've found there is no alternative really to obfuscate credentials in the settings file.  What would be solid would be to have a script on the gitignore on a per developer basis that would either store its own credentials, or do some sed/awk magic to place user specific credentials in the settings file when run.\n\nIn production we should host the settings file outside of the /var/www/ directory where other files would be hosted\n\n----------------------------------------\nOriginal comment by: Phil Simmons\n"}}