{"action":"closed","issue":{"url":"https://api.github.com/repos/google/grr/issues/157","labels_url":"https://api.github.com/repos/google/grr/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/google/grr/issues/157/comments","events_url":"https://api.github.com/repos/google/grr/issues/157/events","html_url":"https://github.com/google/grr/issues/157","id":69182524,"number":157,"title":"Setting user label fails using grr_config_updater","user":{"login":"dptom","id":10554896,"avatar_url":"https://avatars.githubusercontent.com/u/10554896?v=3","gravatar_id":"","url":"https://api.github.com/users/dptom","html_url":"https://github.com/dptom","followers_url":"https://api.github.com/users/dptom/followers","following_url":"https://api.github.com/users/dptom/following{/other_user}","gists_url":"https://api.github.com/users/dptom/gists{/gist_id}","starred_url":"https://api.github.com/users/dptom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dptom/subscriptions","organizations_url":"https://api.github.com/users/dptom/orgs","repos_url":"https://api.github.com/users/dptom/repos","events_url":"https://api.github.com/users/dptom/events{/privacy}","received_events_url":"https://api.github.com/users/dptom/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-17T17:33:10Z","updated_at":"2015-04-20T22:41:11Z","closed_at":"2015-04-20T22:41:11Z","body":"Newly installed server on \"3.16.0-30-generic #40~14.04.1-Ubuntu\". Each attempt to change a user label using the following  command string fails. \r\n\r\n    root@grrsvr1:/home/tom# grr_config_updater --verbose update_user --label user tom\r\n\r\nError message reported is:\r\n\r\nFile \"/usr/lib/python2.7/dist-packages/grr/lib/aff4_objects/users.py\", line 104, in SetPassword\r\n    self._value = self._CalculateHash(password, salt=salt)\r\n  File \"/usr/lib/python2.7/dist-packages/grr/lib/aff4_objects/users.py\", line 101, in _CalculateHash\r\n    return crypt.crypt(password, salt)\r\nTypeError: must be string, not None"}}