{"action":"opened","issue":{"url":"https://api.github.com/repos/pwmckenna/node-travis-encrypt/issues/21","repository_url":"https://api.github.com/repos/pwmckenna/node-travis-encrypt","labels_url":"https://api.github.com/repos/pwmckenna/node-travis-encrypt/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/pwmckenna/node-travis-encrypt/issues/21/comments","events_url":"https://api.github.com/repos/pwmckenna/node-travis-encrypt/issues/21/events","html_url":"https://github.com/pwmckenna/node-travis-encrypt/issues/21","id":130869269,"number":21,"title":"Two-factor auth","user":{"login":"tschaub","id":41094,"avatar_url":"https://avatars.githubusercontent.com/u/41094?v=3","gravatar_id":"","url":"https://api.github.com/users/tschaub","html_url":"https://github.com/tschaub","followers_url":"https://api.github.com/users/tschaub/followers","following_url":"https://api.github.com/users/tschaub/following{/other_user}","gists_url":"https://api.github.com/users/tschaub/gists{/gist_id}","starred_url":"https://api.github.com/users/tschaub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tschaub/subscriptions","organizations_url":"https://api.github.com/users/tschaub/orgs","repos_url":"https://api.github.com/users/tschaub/repos","events_url":"https://api.github.com/users/tschaub/events{/privacy}","received_events_url":"https://api.github.com/users/tschaub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-03T00:43:15Z","updated_at":"2016-02-03T00:43:15Z","closed_at":null,"body":"For accounts that require two-factor auth, it is not enough to provide `--username` and `--password`.\r\n\r\n```json\r\n{\r\n  \"message\": \"Must specify two-factor authentication OTP code.\",\r\n  \"documentation_url\":\"https://developer.github.com/v3/auth#working-with-two-factor-authentication\"\r\n}\r\n```\r\n\r\nWould this require changes in the upstream https://github.com/pwmckenna/node-travis-ci project?"}}