{"action":"reopened","issue":{"url":"https://api.github.com/repos/mathiasertl/django-ca/issues/28","repository_url":"https://api.github.com/repos/mathiasertl/django-ca","labels_url":"https://api.github.com/repos/mathiasertl/django-ca/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/mathiasertl/django-ca/issues/28/comments","events_url":"https://api.github.com/repos/mathiasertl/django-ca/issues/28/events","html_url":"https://github.com/mathiasertl/django-ca/issues/28","id":240527261,"node_id":"MDU6SXNzdWUyNDA1MjcyNjE=","number":28,"title":"init_ca fails on Windows due to colons in key_path","user":{"login":"sakurai-youhei","id":721858,"node_id":"MDQ6VXNlcjcyMTg1OA==","avatar_url":"https://avatars3.githubusercontent.com/u/721858?v=4","gravatar_id":"","url":"https://api.github.com/users/sakurai-youhei","html_url":"https://github.com/sakurai-youhei","followers_url":"https://api.github.com/users/sakurai-youhei/followers","following_url":"https://api.github.com/users/sakurai-youhei/following{/other_user}","gists_url":"https://api.github.com/users/sakurai-youhei/gists{/gist_id}","starred_url":"https://api.github.com/users/sakurai-youhei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sakurai-youhei/subscriptions","organizations_url":"https://api.github.com/users/sakurai-youhei/orgs","repos_url":"https://api.github.com/users/sakurai-youhei/repos","events_url":"https://api.github.com/users/sakurai-youhei/events{/privacy}","received_events_url":"https://api.github.com/users/sakurai-youhei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-07-05T03:06:48Z","updated_at":"2018-11-25T13:18:38Z","closed_at":null,"author_association":"NONE","body":"When I run `manage.py init_ca ...`, it results failure with following error message; Using colons in path is not allowed on Windows.\r\n\r\n```\r\nCommandError: [Errno 22] Invalid argument: 'C:\\\\Users\\\\sakurai\\\\Desktop\\\\test-ca\\\\files\\\\33:01:2C:1F:74:BC:7A:38:79:09:1D:CF:5B:B1:91:4A:30:83:E3:FF.key'\r\n```\r\n\r\n**Workaround**\r\n\r\nPatch `django_ca.utils.add_colons` like this; It enables `manage.py init_ca ...` to pass without error at least.\r\n\r\n```\r\nfrom django_ca import utils\r\nutils.add_colons = lambda s: s\r\n```"}}
{"actor":{"display_login":"mathiasertl"}}