{"action":"opened","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/9963","labels_url":"https://api.github.com/repos/ansible/ansible/issues/9963/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/9963/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/9963/events","html_url":"https://github.com/ansible/ansible/issues/9963","id":53769956,"number":9963,"title":"Bug Report: Ansible-vault errors with \"Odd-length string\"","user":{"login":"mxxcon","id":847140,"avatar_url":"https://avatars.githubusercontent.com/u/847140?v=3","gravatar_id":"","url":"https://api.github.com/users/mxxcon","html_url":"https://github.com/mxxcon","followers_url":"https://api.github.com/users/mxxcon/followers","following_url":"https://api.github.com/users/mxxcon/following{/other_user}","gists_url":"https://api.github.com/users/mxxcon/gists{/gist_id}","starred_url":"https://api.github.com/users/mxxcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxxcon/subscriptions","organizations_url":"https://api.github.com/users/mxxcon/orgs","repos_url":"https://api.github.com/users/mxxcon/repos","events_url":"https://api.github.com/users/mxxcon/events{/privacy}","received_events_url":"https://api.github.com/users/mxxcon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-08T16:30:42Z","updated_at":"2015-01-08T16:30:42Z","closed_at":null,"body":"**Ansible Version:**\r\n1.8.2\r\n\r\n**Environment:**\r\nCygwin\r\n\r\n**Summary:**\r\nI have a vaulted file created on another system. On that system it works without any problems.\r\nHowever, when I run it on my local system I get the following error.\r\n\r\n**Steps To Reproduce:**\r\nRun ```ansible-vault --debug view vars/vaulted_vars.yml```\r\n\r\n**Expected Results:**\r\nDisplay content of the file.\r\n\r\n**Actual Results:**\r\n```\r\n$» ansible-vault --debug view vars/vaulted_vars.yml\r\nVault password:\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/ansible-vault\", line 225, in main\r\n    fn(args, options, parser)\r\n  File \"/usr/bin/ansible-vault\", line 172, in execute_view\r\n    this_editor.view_file()\r\n  File \"/usr/lib/python2.7/site-packages/ansible/utils/vault.py\", line 280, in view_file\r\n    dec_data = this_vault.decrypt(tmpdata)\r\n  File \"/usr/lib/python2.7/site-packages/ansible/utils/vault.py\", line 136, in decrypt\r\n    data = this_cipher.decrypt(data, self.password)\r\n  File \"/usr/lib/python2.7/site-packages/ansible/utils/vault.py\", line 545, in decrypt\r\n    data = unhexlify(data)\r\nTypeError: Odd-length string\r\n\r\nERROR: Odd-length string\r\n$»\r\n```\r\nIt doesn't matter if I enter a correct password or not or simply press enter, it always errors out."}}