Commit graph

16 commits

Author SHA1 Message Date
Thomas Bruederli
db2d3bc800 Fix driver initialization with config properties for the right method (T1784)
Summary:
Proposed fix for the bug reported in T1784

The method kolab_2fa::get_driver() is called with the full factor ID (<method>:<uuid>)
and therefore fails to retrieve the right properties from plugin config. This change fixes this at the right place.

Reviewers: machniak

Reviewed By: machniak

Subscribers: jh23453

Differential Revision: https://git.kolab.org/D242
2016-11-09 09:55:34 +01:00
Aleksander Machniak
669feb6b02 Comment out console() calls, CS fixes 2016-01-28 17:12:23 +01:00
Aleksander Machniak
f1eada2be3 Fix "Failed to save authentication token" when adding token to kolab-2fa plugin (T968) 2016-01-28 17:07:11 +01:00
Thomas Bruederli
bbddeb6345 Replace stubs with actual implementation which was missing in the repo
Resolves T595
2015-07-06 22:37:45 +02:00
Jeroen van Meeuwen (Kolab Systems)
c7e0545e85 Workaround T595 2015-07-06 16:47:33 +02:00
Jeroen van Meeuwen (Kolab Systems)
d535d137e5 Fix TOTP (Resolves T603) 2015-07-06 16:32:34 +02:00
Thomas Bruederli
0a24a09a73 Add logging facilities for Storage classes as requested by T469. Not finished yet... 2015-06-14 17:17:08 +02:00
Thomas Bruederli
9cd117d7a2 Add README for kolab_2fa plugin 2015-06-11 17:48:36 +02:00
Thomas Bruederli
f19f3f06c1 Require 2nd factor verification for adding an new factor 2015-06-11 17:16:46 +02:00
Thomas Bruederli
3e52521c3e Finished LDAP storage backend to work with FreeIPA ipaToken subclasses
Resolves T421
2015-06-11 16:38:47 +02:00
Thomas Bruederli
7f3a76fdad Refactor the 2FA plugin/drivers/storage to allow multiple factors of the same type 2015-06-10 18:20:08 +02:00
Thomas Bruederli
358ac3e33f Implement LDAP storage backend for 2-factor-auth (T421).
Allow kolab_auth plugin to populate 'kolab_2fa_factors' config option through 'kolab_auth_role_settings'
and hereby define the active authentication factors from the one LDAP query.
2015-06-09 09:58:32 +02:00
Thomas Bruederli
8e51918f64 Small refactoring of the 2FA storage layer + also use it for determining the active factors 2015-06-08 15:58:52 +02:00
Thomas Bruederli
96e195d005 Fix JS syntax for backwards (and jslint) compatibility 2015-06-08 15:38:58 +02:00
Thomas Bruederli
c83d6d7341 Minor code cleanup 2015-06-04 16:18:56 +02:00
Thomas Bruederli
1b10eb060a Initial version of the Kolab 2-Factor-Authentication plugin.
This already includes:
- Drivers supporting TOTP, HOTP, Yubikey
- Storage backend abstraction
- Additional authentication step at login
- Settings section to provision and remove authentication factors
- Sample config with comments

Resolves T415
2015-06-04 15:53:04 +02:00