{"action":"created","issue":{"url":"https://api.github.com/repos/flamusdiu/python-pia/issues/12","repository_url":"https://api.github.com/repos/flamusdiu/python-pia","labels_url":"https://api.github.com/repos/flamusdiu/python-pia/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/flamusdiu/python-pia/issues/12/comments","events_url":"https://api.github.com/repos/flamusdiu/python-pia/issues/12/events","html_url":"https://github.com/flamusdiu/python-pia/issues/12","id":168211516,"number":12,"title":"[NM] Strong encryption is not properly configured via `pia -a`","user":{"login":"maximbaz","id":1177900,"avatar_url":"https://avatars.githubusercontent.com/u/1177900?v=3","gravatar_id":"","url":"https://api.github.com/users/maximbaz","html_url":"https://github.com/maximbaz","followers_url":"https://api.github.com/users/maximbaz/followers","following_url":"https://api.github.com/users/maximbaz/following{/other_user}","gists_url":"https://api.github.com/users/maximbaz/gists{/gist_id}","starred_url":"https://api.github.com/users/maximbaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximbaz/subscriptions","organizations_url":"https://api.github.com/users/maximbaz/orgs","repos_url":"https://api.github.com/users/maximbaz/repos","events_url":"https://api.github.com/users/maximbaz/events{/privacy}","received_events_url":"https://api.github.com/users/maximbaz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flamusdiu/python-pia/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"flamusdiu","id":1879197,"avatar_url":"https://avatars.githubusercontent.com/u/1879197?v=3","gravatar_id":"","url":"https://api.github.com/users/flamusdiu","html_url":"https://github.com/flamusdiu","followers_url":"https://api.github.com/users/flamusdiu/followers","following_url":"https://api.github.com/users/flamusdiu/following{/other_user}","gists_url":"https://api.github.com/users/flamusdiu/gists{/gist_id}","starred_url":"https://api.github.com/users/flamusdiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flamusdiu/subscriptions","organizations_url":"https://api.github.com/users/flamusdiu/orgs","repos_url":"https://api.github.com/users/flamusdiu/repos","events_url":"https://api.github.com/users/flamusdiu/events{/privacy}","received_events_url":"https://api.github.com/users/flamusdiu/received_events","type":"User","site_admin":false},"assignees":[{"login":"flamusdiu","id":1879197,"avatar_url":"https://avatars.githubusercontent.com/u/1879197?v=3","gravatar_id":"","url":"https://api.github.com/users/flamusdiu","html_url":"https://github.com/flamusdiu","followers_url":"https://api.github.com/users/flamusdiu/followers","following_url":"https://api.github.com/users/flamusdiu/following{/other_user}","gists_url":"https://api.github.com/users/flamusdiu/gists{/gist_id}","starred_url":"https://api.github.com/users/flamusdiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flamusdiu/subscriptions","organizations_url":"https://api.github.com/users/flamusdiu/orgs","repos_url":"https://api.github.com/users/flamusdiu/repos","events_url":"https://api.github.com/users/flamusdiu/events{/privacy}","received_events_url":"https://api.github.com/users/flamusdiu/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2016-07-28T22:27:40Z","updated_at":"2016-09-25T12:56:21Z","closed_at":null,"body":"Install the `aur/private-internet-access-vpn-dev` package.\r\n\r\nPut the following configuration in `/etc/private-internet-access/pia.conf`:\r\n\r\n```\r\n[pia]\r\nopenvpn_auto_login = True\r\nstrong_encryption = True\r\n\r\n[configure]\r\napps = nm\r\nhosts = France\r\n```\r\n\r\nRun `sudo pia -a`, then look at the file `/etc/NetworkManager/system-connections/France`:\r\n\r\n1. `port=1198`, but should be `port=1197`.\r\n2. `cipher=aes-128-cbc`, but should be `cipher=AES-256-CBC` (case is irrelevant for the connection, but GUI of NetworkManager understands only capitalized version, so better use capitalized).\r\n3. `auth=SHA256` is missing.\r\n\r\nWith the configuration generated by `pia` the connection is not even being established. When I manually make the adjustments named above, everything works as expected.\r\n\r\n-----\r\n\r\nSmall things to improve, irrelevant for the primary issue:\r\n- When installing `aur/private-internet-access-vpn-dev`, the installation ends with the following (though everything works afterwards):\r\n```\r\n:: Running post-transaction hooks...\r\n(1/2) Updating manpage index...\r\n(2/2) Updating VPN configuations...\r\nerror: unable to run hook pia-install.hook: could not satisfy dependencies\r\n```\r\n- When running `sudo pia -a`, the following is printed:\r\n```\r\nWARNING Strong encryption enabled! Ignoring manual cipher settings!\r\nWARNING Strong encryption enabled! Ignoring manual cipher settings!\r\nWARNING Strong encryption enables! Ignoring manual authentication settings!\r\n```\r\nNote the first message is duplicated, and note the typo in the word \"enabled\" in the last line."},"comment":{"url":"https://api.github.com/repos/flamusdiu/python-pia/issues/comments/249420402","html_url":"https://github.com/flamusdiu/python-pia/issues/12#issuecomment-249420402","issue_url":"https://api.github.com/repos/flamusdiu/python-pia/issues/12","id":249420402,"user":{"login":"maximbaz","id":1177900,"avatar_url":"https://avatars.githubusercontent.com/u/1177900?v=3","gravatar_id":"","url":"https://api.github.com/users/maximbaz","html_url":"https://github.com/maximbaz","followers_url":"https://api.github.com/users/maximbaz/followers","following_url":"https://api.github.com/users/maximbaz/following{/other_user}","gists_url":"https://api.github.com/users/maximbaz/gists{/gist_id}","starred_url":"https://api.github.com/users/maximbaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximbaz/subscriptions","organizations_url":"https://api.github.com/users/maximbaz/orgs","repos_url":"https://api.github.com/users/maximbaz/repos","events_url":"https://api.github.com/users/maximbaz/events{/privacy}","received_events_url":"https://api.github.com/users/maximbaz/received_events","type":"User","site_admin":false},"created_at":"2016-09-25T12:56:21Z","updated_at":"2016-09-25T12:56:21Z","body":"@flamusdiu sure, but the new commit https://github.com/flamusdiu/python-pia/commit/96f712ae46950101bb5b4a0709c51a6cc59a5921 in dev branch has 0 changes. Maybe merge went wrong?\r\n"}}
{"actor":{"display_login":"maximbaz"}}