Commit Graph

264 Commits

Author SHA1 Message Date
Christophe Maudoux
7802cbcc71 Optionaly let Ext2F module handle code generation (#1632) 2019-02-16 21:59:53 +01:00
Christophe Maudoux
90ddec7ce0 WIP - Optionaly let Ext2F module handle code generation (#1632) 2019-02-14 22:43:38 +01:00
Christophe Maudoux
60e80fe1b1 Improve code (#1629) 2019-02-14 22:41:58 +01:00
Christophe Maudoux
46f2beb10a Typo & perltidy (#1629) 2019-02-10 22:47:56 +01:00
Xavier Guimard
c7b4eb5051 tidy with new conf 2019-02-07 09:27:56 +01:00
Xavier Guimard
5886cbe2a0 Tidy 2019-02-05 23:12:17 +01:00
Xavier Guimard
0ddcaa5dc9 Update versions 2019-02-05 18:44:38 +01:00
Maxime Besson
f35a7c305a Add Mail second factor plugin 2019-02-03 14:46:40 +01:00
Christophe Maudoux
a69d19c2c0 Cleaning useless code 2019-01-23 22:47:42 +01:00
Christophe Maudoux
4ec3255989 Fix version 2019-01-22 22:08:43 +01:00
Christophe Maudoux
7b14c74077 perltidy (#1622) 2019-01-22 20:57:22 +01:00
Christophe Maudoux
6f7defef18 Display delete button only if allowed (#1622) 2019-01-22 20:55:57 +01:00
Christophe Maudoux
1de19778fe Display delete button only if allowed (#1622) 2019-01-22 19:31:37 +01:00
Christophe Maudoux
f2e481d693 Display delete button only if allowed (#1622) 2019-01-21 21:31:41 +01:00
Xavier Guimard
9ebc18ca5d Update version 2018-12-18 13:13:15 +01:00
Christophe Maudoux
caa408b424 Typo 2018-12-11 22:51:39 +01:00
Xavier Guimard
642e98e180 Fix some missing "lazy" (#1545) 2018-11-16 17:30:57 +01:00
Christophe Maudoux
490d3eb180 Revert "Fix badcredentials display (#1536)"
This reverts commit 48c5ccc34f
2018-11-06 09:15:59 +01:00
Christophe Maudoux
48c5ccc34f Fix badcredentials display (#1536) 2018-11-05 22:41:17 +01:00
Christophe Maudoux
36be3bc515 Fix 2nd merge conflict 2018-10-12 21:13:12 +02:00
Christophe Maudoux
8a500c9ec6 Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng
Perltidy
2018-10-12 20:57:43 +02:00
Christophe Maudoux
94758563cf Append Portal main logo param (#1515) 2018-10-12 19:41:13 +02:00
Christophe Maudoux
f7f4a38514 Append Portal main logo param (#1515) 2018-10-12 19:40:13 +02:00
Clément OUDOT
c5f9a7f95b make tidy 2018-10-12 10:04:03 +02:00
Christophe Maudoux
5a832b57a7 Remove unuseful Perl version directive 2018-10-05 21:36:13 +02:00
Christophe Maudoux
0ed8dbdde2 Fix logins history update - Failed and Granted Access with and without SFA (#1501) 2018-09-12 23:14:35 +02:00
Christophe Maudoux
b23f96e268 Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-09-05 21:20:38 +02:00
Christophe Maudoux
06ce4a0ce3 Append debug msg 2018-09-05 21:14:39 +02:00
Xavier Guimard
6278398060 Move "afterData" entry point before "buildCookie" and add "endAuth" entrypoint (#1497)
TODO: optimize notifications
2018-09-05 09:22:20 +02:00
Christophe Maudoux
9ef7c051a4 Change inheritance links to be more consistent with Plugins architecture 2018-09-04 21:05:08 +02:00
Christophe Maudoux
f51c11e507 Fix comment 2018-09-04 21:02:57 +02:00
Xavier Guimard
62d5c7836c make tidy 2018-09-02 17:31:58 +02:00
Christophe Maudoux
522d8a886c Check 2F name 2018-08-31 19:10:35 +02:00
Christophe Maudoux
095b1d2531 Append parameter test & error msg 2018-08-30 19:45:35 +02:00
Christophe Maudoux
329962e4a4 Fix typo & mistake 2018-08-29 12:42:34 +02:00
Christophe Maudoux
07b98fbd1f Typo 2018-08-27 19:00:03 +02:00
Christophe Maudoux
e4b69766d8 Fix mistake 2018-08-26 22:06:44 +02:00
Christophe Maudoux
c84bc72436 Hidde warning and improve debug msg 2018-08-21 17:37:14 +02:00
Christophe Maudoux
a0f1abeeb0 Cleaning unused code 2018-08-21 16:10:12 +02:00
Christophe Maudoux
0a14da298d Append unknownAction error + minor improvements 2018-08-20 11:36:23 +02:00
Christophe Maudoux
71f51926c0 Add comment 2018-08-18 23:15:38 +02:00
Christophe Maudoux
8954c67be9 clean unused code 2018-08-18 23:15:17 +02:00
Christophe Maudoux
ee9b3bdf2c Fix comments 2018-08-18 18:29:45 +02:00
Christophe Maudoux
d1dd7e10eb Cleaning unused code 2018-08-18 18:29:14 +02:00
Christophe Maudoux
995bc9b7a1 Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-08-16 09:39:45 +02:00
Christophe Maudoux
b12d6872bb Fix typo 2018-08-16 09:39:27 +02:00
Xavier Guimard
52348ecbb0 Hide some warnings (#1487) 2018-08-15 22:47:23 +02:00
Xavier Guimard
bf7d85532d Replace bool by boolOrExpr for sfRequired + partial revert (#1487) 2018-08-15 20:42:08 +02:00
Christophe Maudoux
3ffc5c7410 Fix code 2018-08-13 23:14:42 +02:00
Christophe Maudoux
bf385a84ce Fix code 2018-08-13 23:05:57 +02:00
Christophe Maudoux
7f09e1f960 If just one 2F is enabled, redirect to it (#1487) 2018-08-13 22:12:51 +02:00
Xavier Guimard
6e8efac7d0 Display an explanation (#1487) 2018-08-10 20:56:01 +02:00
Xavier Guimard
4ef9fa374a Add sfRequired option (#1487) 2018-08-09 08:21:09 +02:00
Christophe Maudoux
ded9393da4 Delete revoked consents (#1464) 2018-07-17 22:38:01 +02:00
Xavier Guimard
b2620c2679 s/datas/data
datas => des données
data => les données
2018-07-05 22:56:16 +02:00
Xavier Guimard
4ebcae3e15 Tidy 2018-06-21 21:35:16 +02:00
Xavier Guimard
f5b3617ad9 Typo errors (#1162) 2018-06-13 21:18:15 +02:00
Christophe Maudoux
49ce9cdb0f Display login history when UTOTP is required (#1442) 2018-06-13 14:48:21 +02:00
Christophe Maudoux
ba17ea84c4 Display login history when 2F is required (#1442) 2018-06-12 22:56:25 +02:00
Christophe Maudoux
d16918770e WIP - Propage display logins history to ext and REST 2F (#1442) 2018-06-12 22:49:49 +02:00
Christophe Maudoux
1cffd4fc02 WIP - Display logins history when Yubikey is required (#1442) 2018-06-12 22:45:55 +02:00
Christophe Maudoux
8028aeff58 WIP - Display logins history when TOTP is required (#1442) 2018-06-12 22:14:36 +02:00
Christophe Maudoux
9fa1eb0a54 Modify debug info (#1442) 2018-06-12 22:12:51 +02:00
Xavier Guimard
0769967407 Fix little warning (#1148) 2018-06-12 17:56:19 +02:00
Christophe Maudoux
5a7d1b0041 WIP - Logins history not displayed when U2F is required (#1442) 2018-06-12 12:27:10 +02:00
Christophe Maudoux
506aba052c Fix typo 2018-06-12 12:23:35 +02:00
Christophe Maudoux
6293e1c93b Fix TOTP delete authorization bug 2018-05-07 22:49:39 +02:00
Christophe Maudoux
3afe82fe30 Modify redirect rule #1417 2018-05-07 17:37:51 +02:00
Christophe Maudoux
98ff9bbc93 Typo (#1386) 2018-04-20 16:35:50 +02:00
Christophe Maudoux
6312ae367f Typo (#1386) 2018-04-20 16:35:38 +02:00
Christophe Maudoux
6ab28b03b0 Propage multi U2F verification (#1386) 2018-04-20 16:15:26 +02:00
Xavier Guimard
904947b43b Propage @maudoux changes to UTOTP (#1391) 2018-04-17 23:01:34 +02:00
Christophe Maudoux
f7f0255a86 Merge branch 'master' into portal-multi-U2F-registration 2018-04-17 22:01:25 +02:00
Christophe Maudoux
5420cb2abb Typo 2018-04-17 21:48:16 +02:00
Christophe Maudoux
bb97e804d2 Typo 2018-04-17 21:36:34 +02:00
Christophe Maudoux
b1dc72452a Multi U2F - Fix errors ;-) - IT WORKS !!! 2018-04-17 20:05:45 +02:00
Christophe Maudoux
06c14f5972 Security: avoid challenge replay (#1148) 2018-04-17 19:09:23 +02:00
Christophe Maudoux
9a96b38435 Apply U2F.patch 2018-04-17 18:09:18 +02:00
Xavier Guimard
797fa5b5c3 Security: avoid challenge replay (#1148) 2018-04-17 17:27:49 +02:00
Christophe Maudoux
944682dbb5 Multi U2F - WIP 2018-04-14 21:09:08 +02:00
Christophe Maudoux
9f6e9e2dd4 Minor improvement & update lang (#1386) 2018-04-12 22:05:36 +02:00
Christophe Maudoux
6e25fa13bd Typo 2018-04-12 17:36:53 +02:00
Christophe Maudoux
51c6c97b03 Catch JSON errors (#1386) 2018-04-12 14:20:28 +02:00
Christophe Maudoux
0987f65804 Rollback 2018-04-11 23:31:57 +02:00
Christophe Maudoux
b5e61fab2e Fix compilation warnings due to undef variable & typo (#1386) 2018-04-11 23:14:58 +02:00
Xavier Guimard
3998054823 Catch JSON errors (#1386) 2018-04-11 09:54:40 +02:00
Christophe Maudoux
87a583dd51 Typo (#1386) 2018-04-10 16:15:14 +02:00
Christophe Maudoux
dae160c5e1 Merge branch 'master' into portal-multi-U2F-registration 2018-04-10 13:06:12 +02:00
Christophe Maudoux
c291cfced9 Enabled new 2F engine (#1386) 2018-04-10 11:06:06 +02:00
Christophe Maudoux
1bc83a242d New TOTP register engine - WIP 2018-04-09 17:25:22 +02:00
Christophe Maudoux
59edb9fd56 Remove old 2F conf. parameter 2018-04-08 22:45:28 +02:00
Christophe Maudoux
9430bbae96 Modify 2F activation rules (#1386) 2018-04-08 22:09:16 +02:00
Christophe Maudoux
29834abbe0 Fix typo (#1386) 2018-04-07 13:22:06 +02:00
Christophe Maudoux
6a4c776367 Fix typo (#1386) 2018-04-06 16:38:07 +02:00
Christophe Maudoux
50970d8993 Use new Yubikey engine - WIP (#1386) 2018-04-06 00:10:41 +02:00
Christophe Maudoux
5bd5920b0f Truncate 2F device name (#1386) 2018-04-05 19:43:06 +02:00
Christophe Maudoux
e2effb46a1 Check if user can register one more device (#1386) 2018-04-05 19:08:29 +02:00
Christophe Maudoux
2134bfd366 Check if user can register one more device - WIP (#1386) 2018-04-05 17:58:42 +02:00
Christophe Maudoux
a3ba56aa12 Verify if max 2F devices is not reached (#1386) 2018-04-04 23:50:33 +02:00
Christophe Maudoux
ff9ef7aab3 Typo 2018-04-04 23:16:36 +02:00
Christophe Maudoux
3db93c49fe Modify $list2FDevices to $_2FDevices conf. entry (#1386) 2018-04-04 23:05:27 +02:00
Christophe Maudoux
ee380f1f6b Typo 2018-04-03 23:03:29 +02:00
Christophe Maudoux
ce08e5c899 Set default name and verify if user is authorized to unregister 2F (#1386) 2018-04-03 21:17:15 +02:00
Christophe Maudoux
6718cd304c Add epoch as default keyname if empty (#1386 2018-04-03 17:15:38 +02:00
Christophe Maudoux
0637601d8b Add delete function to TOTP & Yubikey - TODO : Verify if user is authorized to delete (#1386) 2018-04-03 00:01:01 +02:00
Christophe Maudoux
6cfdc20d42 Delete U2F key (#1386) 2018-04-02 23:19:56 +02:00
Christophe Maudoux
79674979c1 #1386 - Fix translation 2018-04-01 16:39:02 +02:00
Christophe Maudoux
0e84c1da3e #1386 - Add translation 2018-04-01 12:53:16 +02:00
Christophe Maudoux
b5fd14886d #1386 - Add tmpl loop and prevent that same key can be registered twice 2018-03-31 00:16:36 +02:00
Christophe Maudoux
53752276e4 #1386 - Fix warnings 2018-03-30 21:24:34 +02:00
Christophe Maudoux
869166cb31 #1386 - Add to list2FDevice name & epoch hash keys 2018-03-29 23:11:46 +02:00
Christophe Maudoux
961aea971a #1386 - Store 2ndF devices in list2FDevices (array of json) 2018-03-29 21:27:35 +02:00
Xavier Guimard
f42763c1de Typo 2018-03-26 10:33:04 +02:00
Xavier Guimard
a018a10fb1 Fix Yubikey errors (#1399) 2018-03-26 10:15:37 +02:00
Xavier Guimard
57708a6b3e Add dysplay2fRegisters() (#1383) 2018-03-22 18:28:36 +01:00
Xavier Guimard
991b1b19b3 Rename private sub (#1383) 2018-03-22 17:23:48 +01:00
Xavier Guimard
c6908b87a2 Yubikey 2nd factor (closes: #1399) 2018-03-20 18:19:53 +01:00
Xavier Guimard
99ce15626e Restore challenge in verification (#1148) 2018-03-19 22:35:39 +01:00
Xavier Guimard
1d02a9e443 Fix an error in REST2F (#1398) 2018-03-19 17:34:21 +01:00
Xavier Guimard
d88ef701a8 Fix post form target (#1398) 2018-03-19 17:21:50 +01:00
Xavier Guimard
ee736d0cba Just in case... (#1398) 2018-03-19 16:58:26 +01:00
Xavier Guimard
8e1d55aaa9 Add test (#1391) 2018-03-18 22:32:42 +01:00
Xavier Guimard
05c77feebc Possibility to forbid U2F unregistration (#1148) 2018-03-18 22:20:05 +01:00
Xavier Guimard
e0b931191e Fix error on U2F (#1391) 2018-03-18 20:52:50 +01:00
Xavier Guimard
36e5f88316 Same policy change/unregister (#1359) 2018-03-18 14:55:56 +01:00
Xavier Guimard
9725a63396 More security options in TOTP (#1359) 2018-03-18 14:26:45 +01:00
Xavier Guimard
ffcc5dbd3e UTOTP auth part works (#1391) 2018-03-18 09:15:23 +01:00
Xavier Guimard
fc5f7f5a65 Revert U2F change included by error (#1386): work not finished 2018-03-17 20:37:31 +01:00
Xavier Guimard
c9616b6794 Typo (#1391) 2018-03-17 20:33:28 +01:00
Xavier Guimard
090033e24b Mixed TOTP/U2F auth skeleton (#1391) 2018-03-17 13:34:42 +01:00
Xavier Guimard
3f50519c7b Typo (#1148 #1359 #1391) 2018-03-15 22:45:03 +01:00
Xavier Guimard
7b5650d5fb 2F registration menu (#1148 #1359 #1391) 2018-03-15 22:35:59 +01:00
Xavier Guimard
3dcc4af9e7 Add logo 2018-03-15 22:22:20 +01:00
Xavier Guimard
a1a96f68af Add 2F registration engine (#1148 #1359 #1391) 2018-03-15 07:04:52 +01:00
Xavier Guimard
3383a68a25 Tidy 2018-03-13 07:14:01 +01:00
Christophe Maudoux
3ec64aca1b Update icons 2018-03-09 23:40:22 +01:00
Christophe Maudoux
983400e0fa Fix some mistakes & Self unregistration both U2F key and TOTP without controle challenge 2018-03-09 22:32:42 +01:00
Xavier Guimard
ac0e35ca38 Update logos (#1148) 2018-03-09 16:51:15 +01:00
Xavier Guimard
5c5556a865 2F choice works (#1148)
TODO: logos
2018-03-09 13:29:39 +01:00
Xavier Guimard
c0123b5a36 2F choice in progress (#1148) 2018-03-09 07:17:25 +01:00
Xavier Guimard
82299131be Typo 2018-03-08 22:25:56 +01:00
Xavier Guimard
d7ff6407a9 2F in progress (#1148) 2018-03-08 22:24:02 +01:00
Xavier Guimard
06cb8a6e11 2F engine works with 1 2F enabled (#1148) 2018-03-08 20:36:32 +01:00
Xavier Guimard
e9e820ecd1 2F manager in progress (#1148) 2018-03-08 18:51:01 +01:00
Xavier Guimard
67a530bc01 Second-Factor-Engine skeleton (#1148) 2018-03-08 16:33:34 +01:00
Christophe Maudoux
10f640753b Fix some mistakes & display sessions with U2F key registered only 2018-03-07 23:29:42 +01:00
Xavier Guimard
8de8846cec Update "unregistration" (#1348)
@maudoux: please verify this commit
2018-03-06 22:56:16 +01:00
Xavier Guimard
ca9a6ebb49 U2F is working now (#1148) 2018-03-06 22:50:40 +01:00
Xavier Guimard
a944faba47 Use new crypt object for each crypter operation (#1148) 2018-03-06 07:03:42 +01:00
Xavier Guimard
00d176627a Code was missing in REST call (#1379) 2018-02-23 09:51:14 +01:00