{"action":"created","issue":{"url":"https://api.github.com/repos/JustArchi/ArchiSteamFarm/issues/607","repository_url":"https://api.github.com/repos/JustArchi/ArchiSteamFarm","labels_url":"https://api.github.com/repos/JustArchi/ArchiSteamFarm/issues/607/labels{/name}","comments_url":"https://api.github.com/repos/JustArchi/ArchiSteamFarm/issues/607/comments","events_url":"https://api.github.com/repos/JustArchi/ArchiSteamFarm/issues/607/events","html_url":"https://github.com/JustArchi/ArchiSteamFarm/issues/607","id":248198521,"number":607,"title":"!api returns \"SteamPassword\" in plain text, even if it's set to \"null\" in the config. file","user":{"login":"GUiHKX","id":626206,"avatar_url":"https://avatars0.githubusercontent.com/u/626206?v=4","gravatar_id":"","url":"https://api.github.com/users/GUiHKX","html_url":"https://github.com/GUiHKX","followers_url":"https://api.github.com/users/GUiHKX/followers","following_url":"https://api.github.com/users/GUiHKX/following{/other_user}","gists_url":"https://api.github.com/users/GUiHKX/gists{/gist_id}","starred_url":"https://api.github.com/users/GUiHKX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GUiHKX/subscriptions","organizations_url":"https://api.github.com/users/GUiHKX/orgs","repos_url":"https://api.github.com/users/GUiHKX/repos","events_url":"https://api.github.com/users/GUiHKX/events{/privacy}","received_events_url":"https://api.github.com/users/GUiHKX/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-05T17:42:10Z","updated_at":"2017-08-05T17:54:02Z","closed_at":null,"body":"## Bug\r\n\r\n### Description\r\n\r\nWhen ASF is setting up an account for the first time and you have `SteamPassword` set to `null`, ASF will ask for the account password. After ASF successfully sets it up, if you issue `!api new_bot`, ASF will actually give us the password in plain text. This only occurs after setting up an account, if you restart ASF and issue `!api new_bot`,  `SteamPassword` will be correctly set to `null`.\r\n\r\n### Expected behavior\r\n\r\nASF should respect `SteamPassword` like it's in the configuration file.\r\n\r\n### Actual behavior\r\n\r\nASF stores the password somewhere and outputs it when you issue `!api new_bot`.\r\n\r\n### Steps to reproduce\r\n\r\n1. Set up a new bot with `SteamPassword` set to `null`;\r\n2. Run ASF and wait for it to prompt for your password;\r\n3. Enter your password;\r\n4. Do `!api new_bot` and your password will be displayed in plain text.\r\n\r\n### ASF version\r\nV3.0.1.2"},"comment":{"url":"https://api.github.com/repos/JustArchi/ArchiSteamFarm/issues/comments/320459795","html_url":"https://github.com/JustArchi/ArchiSteamFarm/issues/607#issuecomment-320459795","issue_url":"https://api.github.com/repos/JustArchi/ArchiSteamFarm/issues/607","id":320459795,"user":{"login":"GUiHKX","id":626206,"avatar_url":"https://avatars0.githubusercontent.com/u/626206?v=4","gravatar_id":"","url":"https://api.github.com/users/GUiHKX","html_url":"https://github.com/GUiHKX","followers_url":"https://api.github.com/users/GUiHKX/followers","following_url":"https://api.github.com/users/GUiHKX/following{/other_user}","gists_url":"https://api.github.com/users/GUiHKX/gists{/gist_id}","starred_url":"https://api.github.com/users/GUiHKX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GUiHKX/subscriptions","organizations_url":"https://api.github.com/users/GUiHKX/orgs","repos_url":"https://api.github.com/users/GUiHKX/repos","events_url":"https://api.github.com/users/GUiHKX/events{/privacy}","received_events_url":"https://api.github.com/users/GUiHKX/received_events","type":"User","site_admin":false},"created_at":"2017-08-05T17:54:02Z","updated_at":"2017-08-05T17:54:02Z","body":"On a related(ish) note, I think it would be nice if ASF could hide the password when you type it / paste it into the terminal, Like `su` or `sudo` do it."}}
{"actor":{"display_login":"GUiHKX"}}