{"action":"created","issue":{"url":"https://api.github.com/repos/boyers/hashpass/issues/2","labels_url":"https://api.github.com/repos/boyers/hashpass/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/boyers/hashpass/issues/2/comments","events_url":"https://api.github.com/repos/boyers/hashpass/issues/2/events","html_url":"https://github.com/boyers/hashpass/issues/2","id":126498375,"number":2,"title":"Can't modify domain","user":{"login":"Vineg","id":1757455,"avatar_url":"https://avatars.githubusercontent.com/u/1757455?v=3","gravatar_id":"","url":"https://api.github.com/users/Vineg","html_url":"https://github.com/Vineg","followers_url":"https://api.github.com/users/Vineg/followers","following_url":"https://api.github.com/users/Vineg/following{/other_user}","gists_url":"https://api.github.com/users/Vineg/gists{/gist_id}","starred_url":"https://api.github.com/users/Vineg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vineg/subscriptions","organizations_url":"https://api.github.com/users/Vineg/orgs","repos_url":"https://api.github.com/users/Vineg/repos","events_url":"https://api.github.com/users/Vineg/events{/privacy}","received_events_url":"https://api.github.com/users/Vineg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-13T19:49:04Z","updated_at":"2016-01-13T19:58:56Z","closed_at":null,"body":"I think it would be nice if you can easily change domain field. For example if you want to use your password to access subdomain of website."},"comment":{"url":"https://api.github.com/repos/boyers/hashpass/issues/comments/171415413","html_url":"https://github.com/boyers/hashpass/issues/2#issuecomment-171415413","issue_url":"https://api.github.com/repos/boyers/hashpass/issues/2","id":171415413,"user":{"login":"boyers","id":796574,"avatar_url":"https://avatars.githubusercontent.com/u/796574?v=3","gravatar_id":"","url":"https://api.github.com/users/boyers","html_url":"https://github.com/boyers","followers_url":"https://api.github.com/users/boyers/followers","following_url":"https://api.github.com/users/boyers/following{/other_user}","gists_url":"https://api.github.com/users/boyers/gists{/gist_id}","starred_url":"https://api.github.com/users/boyers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boyers/subscriptions","organizations_url":"https://api.github.com/users/boyers/orgs","repos_url":"https://api.github.com/users/boyers/repos","events_url":"https://api.github.com/users/boyers/events{/privacy}","received_events_url":"https://api.github.com/users/boyers/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T19:58:56Z","updated_at":"2016-01-13T19:58:56Z","body":"Great suggestion. I'll leave this open until I find the time to do it. Until then, you can use this Python script:\r\n\r\n```python\r\n#!/usr/bin/python -O\r\nimport base64, getpass, hashlib\r\n\r\ndomain = raw_input('Domain: ').lower()\r\nkey = getpass.getpass('Key: ')\r\n\r\nbits = domain + '/' + key\r\nfor i in range(2 ** 16):\r\n  bits = hashlib.sha256(bits).digest()\r\npassword = base64.b64encode(bits)[:16]\r\n\r\nprint('Password: ' + password)\r\n```"}}