{"action":"created","issue":{"url":"https://api.github.com/repos/getgrav/grav-plugin-email/issues/18","labels_url":"https://api.github.com/repos/getgrav/grav-plugin-email/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/getgrav/grav-plugin-email/issues/18/comments","events_url":"https://api.github.com/repos/getgrav/grav-plugin-email/issues/18/events","html_url":"https://github.com/getgrav/grav-plugin-email/issues/18","id":127475394,"number":18,"title":"Smtp password visible","user":{"login":"AustinEast","id":9554269,"avatar_url":"https://avatars.githubusercontent.com/u/9554269?v=3","gravatar_id":"","url":"https://api.github.com/users/AustinEast","html_url":"https://github.com/AustinEast","followers_url":"https://api.github.com/users/AustinEast/followers","following_url":"https://api.github.com/users/AustinEast/following{/other_user}","gists_url":"https://api.github.com/users/AustinEast/gists{/gist_id}","starred_url":"https://api.github.com/users/AustinEast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AustinEast/subscriptions","organizations_url":"https://api.github.com/users/AustinEast/orgs","repos_url":"https://api.github.com/users/AustinEast/repos","events_url":"https://api.github.com/users/AustinEast/events{/privacy}","received_events_url":"https://api.github.com/users/AustinEast/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-19T15:49:44Z","updated_at":"2016-01-19T18:41:24Z","closed_at":"2016-01-19T18:41:24Z","body":"When inputting the Smtp password, I noticed that it doesn't hide it. Is this by design?\r\nIt doesn't feel all that safe to just have it in the open."},"comment":{"url":"https://api.github.com/repos/getgrav/grav-plugin-email/issues/comments/172946144","html_url":"https://github.com/getgrav/grav-plugin-email/issues/18#issuecomment-172946144","issue_url":"https://api.github.com/repos/getgrav/grav-plugin-email/issues/18","id":172946144,"user":{"login":"flaviocopes","id":11783388,"avatar_url":"https://avatars.githubusercontent.com/u/11783388?v=3","gravatar_id":"","url":"https://api.github.com/users/flaviocopes","html_url":"https://github.com/flaviocopes","followers_url":"https://api.github.com/users/flaviocopes/followers","following_url":"https://api.github.com/users/flaviocopes/following{/other_user}","gists_url":"https://api.github.com/users/flaviocopes/gists{/gist_id}","starred_url":"https://api.github.com/users/flaviocopes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaviocopes/subscriptions","organizations_url":"https://api.github.com/users/flaviocopes/orgs","repos_url":"https://api.github.com/users/flaviocopes/repos","events_url":"https://api.github.com/users/flaviocopes/events{/privacy}","received_events_url":"https://api.github.com/users/flaviocopes/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T18:41:24Z","updated_at":"2016-01-19T18:41:24Z","body":"I changed the field type to be 'password' but that's just a visualization thing.\r\n\r\nIf one gets access to the file containing the password your server is already compromised. Same thing as other CMS storing the mysql/smtp password in the configuration files (coming to my mind: WP, Drupal, Joomla).\r\n\r\nYou could move your user/ folder outside the webroot (more details coming soon in the docs) and we could come up with a better way to automatically encrypt/decrypt such value."}}