{"action":"opened","issue":{"url":"https://api.github.com/repos/dirkmoors/pyejabberd/issues/21","labels_url":"https://api.github.com/repos/dirkmoors/pyejabberd/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/dirkmoors/pyejabberd/issues/21/comments","events_url":"https://api.github.com/repos/dirkmoors/pyejabberd/issues/21/events","html_url":"https://github.com/dirkmoors/pyejabberd/issues/21","id":125299806,"number":21,"title":"check_password_hash does not work.","user":{"login":"hamano","id":12780,"avatar_url":"https://avatars.githubusercontent.com/u/12780?v=3","gravatar_id":"","url":"https://api.github.com/users/hamano","html_url":"https://github.com/hamano","followers_url":"https://api.github.com/users/hamano/followers","following_url":"https://api.github.com/users/hamano/following{/other_user}","gists_url":"https://api.github.com/users/hamano/gists{/gist_id}","starred_url":"https://api.github.com/users/hamano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamano/subscriptions","organizations_url":"https://api.github.com/users/hamano/orgs","repos_url":"https://api.github.com/users/hamano/repos","events_url":"https://api.github.com/users/hamano/events{/privacy}","received_events_url":"https://api.github.com/users/hamano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-07T01:08:00Z","updated_at":"2016-01-07T01:08:00Z","closed_at":null,"body":"check_password_hash does not work when sha1 password has double \"0\" such as:\r\necho -ne SsmhY6eicj7Za4th | sha1sum\r\n9a2b0b8dc1016c00df7cc3bfea00d54a47e813a9 -\r\n\r\n>>> format_password_hash_sha('SsmhY6eicj7Za4th')\r\n9A2BB8DC116CDF7CC3BFEAD54A47E813A9\r\n"}}