{"action":"created","issue":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/2813","labels_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/2813/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/2813/comments","events_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/2813/events","html_url":"https://github.com/travis-ci/travis-ci/issues/2813","id":44170414,"number":2813,"title":"IRC credentials are not decrypted by Travis-CI.","user":{"login":"Minecrell","id":3035868,"avatar_url":"https://avatars.githubusercontent.com/u/3035868?v=3","gravatar_id":"","url":"https://api.github.com/users/Minecrell","html_url":"https://github.com/Minecrell","followers_url":"https://api.github.com/users/Minecrell/followers","following_url":"https://api.github.com/users/Minecrell/following{/other_user}","gists_url":"https://api.github.com/users/Minecrell/gists{/gist_id}","starred_url":"https://api.github.com/users/Minecrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Minecrell/subscriptions","organizations_url":"https://api.github.com/users/Minecrell/orgs","repos_url":"https://api.github.com/users/Minecrell/repos","events_url":"https://api.github.com/users/Minecrell/events{/privacy}","received_events_url":"https://api.github.com/users/Minecrell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/travis-ci/travis-ci/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/travis-ci/travis-ci/labels/notifications","name":"notifications","color":"444444"}],"state":"open","locked":false,"assignee":{"login":"BanzaiMan","id":25666,"avatar_url":"https://avatars.githubusercontent.com/u/25666?v=3","gravatar_id":"","url":"https://api.github.com/users/BanzaiMan","html_url":"https://github.com/BanzaiMan","followers_url":"https://api.github.com/users/BanzaiMan/followers","following_url":"https://api.github.com/users/BanzaiMan/following{/other_user}","gists_url":"https://api.github.com/users/BanzaiMan/gists{/gist_id}","starred_url":"https://api.github.com/users/BanzaiMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BanzaiMan/subscriptions","organizations_url":"https://api.github.com/users/BanzaiMan/orgs","repos_url":"https://api.github.com/users/BanzaiMan/repos","events_url":"https://api.github.com/users/BanzaiMan/events{/privacy}","received_events_url":"https://api.github.com/users/BanzaiMan/received_events","type":"User","site_admin":false},"milestone":null,"comments":31,"created_at":"2014-09-27T12:10:53Z","updated_at":"2015-10-21T20:58:10Z","closed_at":null,"body":"I'm trying to let Travis join a password-protected IRC Server. The documentation says nothing about how that could be done, but after looking at the [travis-tasks IRC addon source](https://github.com/travis-ci/travis-tasks/blob/master/lib/travis/addons/irc/task.rb#L82) it looks like I can use `nick` and `password` to join a password-protected server.\r\n\r\nThis is working fine, but of course I want to encrypt the IRC credentials so not everyone can just log on the IRC server. I'm trying to use the configuration like this ([from the example project I'm testing with](https://github.com/Minecrell/TravisTest/blob/master/.travis.yml)):\r\n\r\n```yaml\r\nnotifications:\r\n  irc:\r\n    channels:\r\n    - secure: \"NDM9YsUdXrLEp2LTy+vJS+w+c23+O1zJLvx2Cw2fpkK27Ok7bgKwxd6Qd0kR8cRE487+J1TNNHaczUviOJx0N+CM4oCbVdGCqwYotnTQpGVIuxsFNArEGR6NPozGiIjsRyG4VupRPjUyZGzDHMTZjAKXs8GBOGPfrwCBoweopKo=\"\r\n    nick:\r\n      secure: \"NpfuWy7mno4HC1tAMcD9ttSGlCab6W4rWJW6NRriDD9dd9aptusJVXpnGZlubrEOqEgQLVil1nY0Lb2IltSegqjK0rIabOOLrIZ3lB3vDlWK5dH+9s2zxPh5y0+fkuolJViodgut1gs7irCX89p+D8oY51UYLLLrwOe2nNwSLrs=\"\r\n    password:\r\n      secure: \"KHWzA7BukwroBAeS3ncdmdGk5f3v77HO3rXqA0mlGdWfgn/RMn1hew3/zObR6MQPyaXT7yKv/NI5+BsSD/zb7JsUCdUxqP8WCa8QQEtQ2J67MgnlKos5YbrLB0A1c4Gy0jxRvqmrbIzwKk3saXRvRCjPzjZ3dZDSNQT4a/5HEM8=\"\r\n```\r\n\r\nTravis decrypts the `channels` correctly and is joining the server, but it doesn't decrypt the `nick` and `password` so it connects with something like this:\r\n```\r\n_LISTENER == ConnectionFrom(hidden, hidden) [Allowed]\r\nCLI -> IRC [PASS {:secure=>\"KHWzA7BukwroBAeS3ncdmdGk5f3v77HO3rXqA0mlGdWfgn/RMn1hew3/zObR6MQPyaXT7yKv/NI5+BsSD/zb7JsUCdUxqP8WCa8QQEtQ2J67MgnlKos5YbrLB0A1c4Gy0jxRvqmrbIzwKk3saXRvRCjPzjZ3dZDSNQT4a/5HEM8=\"}]\r\nCLI -> IRC [NICK {:secure=>\"NpfuWy7mno4HC1tAMcD9ttSGlCab6W4rWJW6NRriDD9dd9aptusJVXpnGZlubrEOqEgQLVil1nY0Lb2IltSegqjK0rIabOOLrIZ3lB3vDlWK5dH+9s2zxPh5y0+fkuolJViodgut1gs7irCX89p+D8oY51UYLLLrwOe2nNwSLrs=\"}]\r\nCLI -> IRC [USER {:secure=>\"NpfuWy7mno4HC1tAMcD9ttSGlCab6W4rWJW6NRriDD9dd9aptusJVXpnGZlubrEOqEgQLVil1nY0Lb2IltSegqjK0rIabOOLrIZ3lB3vDlWK5dH+9s2zxPh5y0+fkuolJViodgut1gs7irCX89p+D8oY51UYLLLrwOe2nNwSLrs=\"} {:secure=>\"NpfuWy7mno4HC1tAMcD9ttSGlCab6W4rWJW6NRriDD9dd9aptusJVXpnGZlubrEOqEgQLVil1nY0Lb2IltSegqjK0rIabOOLrIZ3lB3vDlWK5dH+9s2zxPh5y0+fkuolJViodgut1gs7irCX89p+D8oY51UYLLLrwOe2nNwSLrs=\"} {:secure=>\"NpfuWy7mno4HC1tAMcD9ttSGlCab6W4rWJW6NRriDD9dd9aptusJVXpnGZlubrEOqEgQLVil1nY0Lb2IltSegqjK0rIabOOLrIZ3lB3vDlWK5dH+9s2zxPh5y0+fkuolJViodgut1gs7irCX89p+D8oY51UYLLLrwOe2nNwSLrs=\"} :{:secure=>\"NpfuWy7mno4HC1tAMcD9ttSGlCab6W4rWJW6NRriDD9dd9aptusJVXpnGZlubrEOqEgQLVil1nY0Lb2IltSegqjK0rIabOOLrIZ3lB3vDlWK5dH+9s2zxPh5y0+fkuolJViodgut1gs7irCX89p+D8oY51UYLLLrwOe2nNwSLrs=\"}]\r\n```\r\n\r\nIn #1628 only the `channels` were decrypted so I believe this is the same problem here. But maybe I'm just using the wrong syntax?\r\n\r\nThanks in advance!"},"comment":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/comments/150022296","html_url":"https://github.com/travis-ci/travis-ci/issues/2813#issuecomment-150022296","issue_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/2813","id":150022296,"user":{"login":"jkcclemens","id":955250,"avatar_url":"https://avatars.githubusercontent.com/u/955250?v=3","gravatar_id":"","url":"https://api.github.com/users/jkcclemens","html_url":"https://github.com/jkcclemens","followers_url":"https://api.github.com/users/jkcclemens/followers","following_url":"https://api.github.com/users/jkcclemens/following{/other_user}","gists_url":"https://api.github.com/users/jkcclemens/gists{/gist_id}","starred_url":"https://api.github.com/users/jkcclemens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkcclemens/subscriptions","organizations_url":"https://api.github.com/users/jkcclemens/orgs","repos_url":"https://api.github.com/users/jkcclemens/repos","events_url":"https://api.github.com/users/jkcclemens/events{/privacy}","received_events_url":"https://api.github.com/users/jkcclemens/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T20:58:10Z","updated_at":"2015-10-21T20:58:10Z","body":"I have to assume that this is Travis. This happens to every connection I see from the AWS servers.\r\n\r\n    [16440:6  502] Accepted connection 10 from 54.161.26.13:46585 on socket 7.\r\n    [16440:3  502] Request too long (connection 10): 705 bytes (max. 512 expected)!\r\n    [16440:6  502] Shutting down connection 10 (Request too long) with ec2-54-161-26-13.compute-1.amazonaws.com:46585 ...\r\n    [16440:5  502] Client unregistered (connection 10): Request too long\r\n    [16440:6  502] Connection 10 with ec2-54-161-26-13.compute-1.amazonaws.com:46585 closed (in: 0.7k, out: 0.0k)."}}