GitHub user rnewson opened a pull request:
https://github.com/apache/couchdb-couch/pull/12
Implement two factor authentication
If enabled, require a second factor to acquire a session cookie and
reject basic authentication attempts (as second factor cannot be
presented). Allow previous and next token for clock skew.
To enable this, you add a "2f" object to your user doc with a secret
"key" value.
This work is currently missing tests and documentation, and we'll
also want a UI (to render a QR code with an otpauth url for easy
setup).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/couchdb-couch two-factor-auth
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch/pull/12.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #12
----
commit fbae1ada412f806503defa455dc7d1d9d060a877
Author: Robert Newson <[email protected]>
Date: 2014-10-29T17:39:21Z
Implement two factor authentication
If enabled, require a second factor to acquire a session cookie and
reject basic authentication attempts (as second factor cannot be
presented). Allow previous and next token for clock skew.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---