pwmckenna / node-travis-encrypt

node module to encrypt environment variables for travis-ci
npmjs.org/package/travis-encrypt
46 stars 12 forks source link

Two-factor auth #21

Open tschaub opened 8 years ago

tschaub commented 8 years ago

For accounts that require two-factor auth, it is not enough to provide --username and --password.

{
  "message": "Must specify two-factor authentication OTP code.",
  "documentation_url":"https://developer.github.com/v3/auth#working-with-two-factor-authentication"
}

Would this require changes in the upstream https://github.com/pwmckenna/node-travis-ci project?