{"action":"opened","issue":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1012","labels_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1012/labels{/name}","comments_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1012/comments","events_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1012/events","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/1012","id":63590011,"number":1012,"title":"Encrypted password are machine specific","user":{"login":"abeloin","id":6260303,"avatar_url":"https://avatars.githubusercontent.com/u/6260303?v=3","gravatar_id":"","url":"https://api.github.com/users/abeloin","html_url":"https://github.com/abeloin","followers_url":"https://api.github.com/users/abeloin/followers","following_url":"https://api.github.com/users/abeloin/following{/other_user}","gists_url":"https://api.github.com/users/abeloin/gists{/gist_id}","starred_url":"https://api.github.com/users/abeloin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abeloin/subscriptions","organizations_url":"https://api.github.com/users/abeloin/orgs","repos_url":"https://api.github.com/users/abeloin/repos","events_url":"https://api.github.com/users/abeloin/events{/privacy}","received_events_url":"https://api.github.com/users/abeloin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/1:%20Feature%20request","name":"1: Feature request","color":"84b6eb"},{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/3:%20Confirmed","name":"3: Confirmed","color":"0052cc"},{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/branch:%20develop","name":"branch: develop","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-22T23:28:15Z","updated_at":"2015-03-22T23:28:15Z","closed_at":null,"body":"```\r\nSR Version: \tBRANCH: (production-stage) / COMMIT: (0d137d62c2b8a5166c47ecc6c58643cadc76bea6)\r\nPython Version:\t2.7.5 (default, Nov 3 2014, 14:26:24) [GCC 4.8.3 20140911 (Red Hat 4.8.3-7)]\r\n```\r\nEncrypting password in config.ini use uuid.getnode() as a random number which makes it machine specific. Also if it's unable to get a hardware address, it will generate a random 48 bits number which would cause issue to user encrypting password(Eg:Unable to login). Finally, if the config.ini is moved to another machine, all passwords will be invalid.\r\n\r\nI think we should generate a random number like the web_secret instead instead of using uuid.getnode()? \r\n\r\n@fernandog @TagForce Any comments?\r\n\r\nRef: https://docs.python.org/2/library/uuid.html#uuid.getnode"}}