Commit Graph

1967 Commits

Author SHA1 Message Date
Christophe Maudoux
c291cfced9 Enabled new 2F engine (#1386) 2018-04-10 11:06:06 +02:00
Xavier Guimard
e8e1cdf74f Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-04-10 08:48:12 +02:00
Xavier Guimard
6586b684dd Use inc::LWP::Protocol::PSGI in tests instead of redefining LWP::UserAgent methods (#595) 2018-04-10 06:54:08 +02:00
Xavier Guimard
89e818d407 Use inc::LWP::Protocol::PSGI in tests instead of redefining LWP::UserAgent methods (#595) 2018-04-09 22:56:14 +02:00
Xavier Guimard
d01a453f4e Avoid little warning (#595) 2018-04-09 22:33:59 +02:00
Xavier Guimard
e729676492 Fix U2F test (#1148) 2018-04-09 20:29:44 +02:00
Christophe Maudoux
1bc83a242d New TOTP register engine - WIP 2018-04-09 17:25:22 +02:00
Xavier Guimard
8e81d31bc1 Add Yubico debug (#1148)
Available with Crypt::U2F::Server >= 0.43
2018-04-09 14:31:15 +02:00
Xavier Guimard
60fc9f523c Update manifest (#1148) 2018-04-09 13:58:50 +02:00
Christophe Maudoux
936c54a802 Merge branch 'master' into portal-multi-U2F-registration 2018-04-09 12:17:11 +02:00
Xavier Guimard
c779d3c15e Add partial U2F test 2018-04-09 11:30:45 +02:00
Xavier Guimard
b6f085c7dc Typo 2018-04-09 11:11:50 +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
b2472f61a1 Merge branch 'master' into portal-multi-U2F-registration 2018-04-05 22:45:11 +02:00
Xavier Guimard
afab5536f2 Update manifests 2018-04-05 22:37:29 +02:00
Xavier Guimard
770a888cea Update metadata 2018-04-05 22:27:51 +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
3006b75445 Improve GUI (#1386) 2018-04-04 23:13:24 +02:00
Christophe Maudoux
f84a7424a8 Fix warning message if Yubikey is already registered (#1386) 2018-04-04 23:06:49 +02:00
Christophe Maudoux
3db93c49fe Modify $list2FDevices to $_2FDevices conf. entry (#1386) 2018-04-04 23:05:27 +02:00
Christophe Maudoux
7f2d50536f Mistake - Roll Back 2018-04-04 22:26:50 +02:00
Christophe Maudoux
615e965519 Add goTo2FRegister button to error tpl 2018-04-04 22:25:08 +02:00
Christophe Maudoux
4953923b06 Display epoch to LocaleStringDate (#1386) 2018-04-04 22:23:59 +02:00
Christophe Maudoux
a3fdccf1fd Hide deleted 2Fdevice (#1386) 2018-04-04 17:34:27 +02:00
Christophe Maudoux
612e2e37d1 Merge branch 'master' into portal-multi-U2F-registration 2018-04-03 23:04:16 +02:00
Christophe Maudoux
ee380f1f6b Typo 2018-04-03 23:03:29 +02:00
Christophe Maudoux
8acf60dcf2 Fix error msg (#1386) 2018-04-03 23:00:55 +02:00
Clément OUDOT
a83c3f738e Fix date in register message (#1404) 2018-04-03 22:59:57 +02:00
Christophe Maudoux
4c70e1f8e5 Add 2fManagment button (#1386) 2018-04-03 22:59:27 +02:00
Christophe Maudoux
43b9fe0507 Update lang (#1386) 2018-04-03 22:52:16 +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
40b69bb63f Merge branch 'master' into portal-multi-U2F-registration 2018-04-03 19:04:54 +02:00
Christophe Maudoux
6718cd304c Add epoch as default keyname if empty (#1386 2018-04-03 17:15:38 +02:00
Xavier Guimard
0623b4f9fe Add ini-only default values in DefaultValues.pm (#595) 2018-04-03 10:23:31 +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
6b27054603 Fix lang mistake 2018-04-02 23:59:34 +02:00
Christophe Maudoux
6cfdc20d42 Delete U2F key (#1386) 2018-04-02 23:19:56 +02:00
Christophe Maudoux
5fad449ed0 Add epoch value in req data 2018-04-02 22:40:41 +02:00
Christophe Maudoux
c783b9c6c0 Update MANIFEST 2018-04-02 20:25:29 +02:00
Christophe Maudoux
c2b1753bd4 Typo 2018-04-02 20:22:55 +02:00
Christophe Maudoux
36adfc85dc Fix mistake (#1386) 2018-04-02 20:22:34 +02:00
Christophe Maudoux
806aa5fd87 Add deleteDevice function on delete buttons click event (#1386) 2018-04-02 20:21:51 +02:00
Christophe Maudoux
d81ada7d91 Modify yubikey.png 2018-04-01 22:28:18 +02:00
Christophe Maudoux
275b8f2394 Fix translation mistake (#1386) 2018-04-01 22:27:50 +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
835b4f80d1 #1386 - Add 2FDevices table and delete button at 2FRegister.tpl 2018-04-01 00:35:53 +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
Christophe Maudoux
b813698711 #1386 - Add yubikey .png 2018-03-29 21:27:07 +02:00
Xavier Guimard
244bd617ac Update Makefile.PL 2018-03-28 09:09:47 +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
2d1795ccc6 Remove old files 2018-03-25 12:51:04 +02:00
Xavier Guimard
62767481e4 Remove old scripts 2018-03-25 12:18:49 +02:00
Xavier Guimard
74ee0c43fc Spelling errors 2018-03-23 07:10:19 +01:00
Xavier Guimard
52599c5eec Remove dev file 2018-03-23 06:45:23 +01: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
3836391adc Fix history bugs (fixes: #1401) 2018-03-21 20:48:31 +01:00
Xavier Guimard
aaaf5cfed4 Restrict CSP form-action to URL scheme (#1384) 2018-03-21 14:52:22 +01:00
Xavier Guimard
b1f876f63e Verify CSP for POST forms (#1384) 2018-03-21 14:37:44 +01:00
Xavier Guimard
7fd9ef87d7 Remove duplicate lang entries (#595) 2018-03-21 07:23:13 +01:00
Christophe Maudoux
da926a8546 Merge branch 'master' into manager-SFA-module 2018-03-20 21:32:55 +01:00
Xavier Guimard
e89db33b5e Remove Auth::Yubikey (#1399) 2018-03-20 18:45:57 +01:00
Xavier Guimard
c6908b87a2 Yubikey 2nd factor (closes: #1399) 2018-03-20 18:19:53 +01:00
Xavier Guimard
396fc2362b Missing verification (#595) 2018-03-20 11:03:57 +01:00
Christophe Maudoux
b7642823dd Merge branch 'master' into manager-SFA-module 2018-03-19 23:19:48 +01:00
Xavier Guimard
99ce15626e Restore challenge in verification (#1148) 2018-03-19 22:35:39 +01:00
Christophe Maudoux
bfc0a4f102 Merge branch 'master' into manager-SFA-module 2018-03-19 22:05:45 +01:00
Xavier Guimard
90b2df9b0d Add REST test (#1398) 2018-03-19 17:51:52 +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
Christophe Maudoux
8d6dedcb63 Add go to portal button 2018-03-18 23:42:58 +01:00
Xavier Guimard
42d53cec63 Typo (#1148 #1359) 2018-03-18 22:55:28 +01:00
Xavier Guimard
c14289bd72 Update 2F doc (#1148 #1359) 2018-03-18 22:53:41 +01:00
Xavier Guimard
e069f7c378 Skip test if U2F lib not available (#1391) 2018-03-18 22:41:55 +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
Christophe Maudoux
533df1ac1d Fix bug 2018-03-18 22:10:12 +01:00
Xavier Guimard
30e5d25ed0 No direct self-registration for UTOTP (#1391) 2018-03-18 21:22:19 +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
ee73029d2a UTOTP template (#1391) 2018-03-17 20:29:56 +01:00
Xavier Guimard
2e00bfe773 Partial revert (#1359) 2018-03-17 20:29:06 +01:00
Xavier Guimard
9ff9ea730b Adapt TOTP to new engine (#1359) 2018-03-17 20:19:56 +01:00
Xavier Guimard
090033e24b Mixed TOTP/U2F auth skeleton (#1391) 2018-03-17 13:34:42 +01:00
Christophe Maudoux
6a02f177e8 Merge branch 'master' into manager-SFA-module 2018-03-16 21:10:21 +01:00
Xavier Guimard
3f50519c7b Typo (#1148 #1359 #1391) 2018-03-15 22:45:03 +01:00
Xavier Guimard
f00be94f19 Add "alt" attribute for 2F choice (#1111) 2018-03-15 22:41:25 +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
e4b995f6a9 Spelling errors 2018-03-15 21:20:03 +01:00
Christophe Maudoux
fbe3af9f64 Merge branch 'master' into manager-SFA-module 2018-03-15 20:42:12 +01:00
Xavier Guimard
eee9f60fcf Update manifests 2018-03-15 12:44:45 +01:00
Xavier Guimard
ab5f35bf8c Update TOTP test (#1359) 2018-03-15 07:14:47 +01:00
Xavier Guimard
a1a96f68af Add 2F registration engine (#1148 #1359 #1391) 2018-03-15 07:04:52 +01:00
Christophe Maudoux
e3b839ee95 Merge branch 'master' into manager-SFA-module 2018-03-14 22:09:45 +01:00
Xavier Guimard
b24503b636 Don't reuse Kerberos ticket (#1389) 2018-03-13 15:04:19 +01:00
Xavier Guimard
c833a18939 Destroy LDAP object (#595) 2018-03-13 14:43:12 +01:00
Xavier Guimard
3383a68a25 Tidy 2018-03-13 07:14:01 +01:00
Maudoux Christophe
6e27659c51 Revert "Update doc"
This reverts commit b77d45eca9
2018-03-12 16:45:22 +01:00
Christophe Maudoux
b77d45eca9 Update doc 2018-03-12 16:34:04 +01:00
Xavier Guimard
e0d83f5268 Fix some errors (#1395) 2018-03-12 06:43:47 +01:00
Christophe Maudoux
395826f8b2 Rename U2F manager module to SFA 2018-03-10 23:30:36 +01:00
Xavier Guimard
f808292b84 Replace u2f.png and update (c) (#1148) 2018-03-10 18:24:34 +01:00
Xavier Guimard
2cce57991b Merge branch 'manager-u2f-module' into 'master'
Manager u2f module

See merge request lemonldap-ng/lemonldap-ng!17
2018-03-10 18:11:38 +01:00
Xavier Guimard
3356afdaa8 Little security (#1385) 2018-03-10 09:42:29 +01:00
Xavier Guimard
33c764855d Don't encode + (may fix: #1385) 2018-03-10 09:33:14 +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
Christophe Maudoux
b7793ccb7d Fix somes mistakes 2018-03-09 20:56:17 +01:00
Xavier Guimard
b9d292a0e5 Defaut 2F logo (#1148) 2018-03-09 17:00:37 +01:00
Xavier Guimard
ac0e35ca38 Update logos (#1148) 2018-03-09 16:51:15 +01:00
Xavier Guimard
8a434cc3f9 Type (#1390) 2018-03-09 16:50:44 +01:00
Xavier Guimard
6b9584989f Fix #1390 XSS for 2.0 2018-03-09 16:27:33 +01:00
Xavier Guimard
8d4f617ecb Add U2F logo (#1148) 2018-03-09 13:44:52 +01:00
Xavier Guimard
5c5556a865 2F choice works (#1148)
TODO: logos
2018-03-09 13:29:39 +01:00
Xavier Guimard
dc23b5e85d Add choice2f (#1148) 2018-03-09 08:55:53 +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
Xavier Guimard
9262a47f9c Update javascripts 2018-03-08 13:19:15 +01:00
Christophe Maudoux
575620d08c Update lang & hide U2F key attributs in sessions explorer 2018-03-07 23:43:26 +01:00
Christophe Maudoux
10f640753b Fix some mistakes & display sessions with U2F key registered only 2018-03-07 23:29:42 +01:00
Christophe Maudoux
c1e734e1ae Merge remote-tracking branch 'upstream/master' into manager-u2f-module_add-u2f-key 2018-03-07 20:18:36 +01:00
Xavier Guimard
2c8c70470d Improve doc 2018-03-07 09:51:51 +01:00
Xavier Guimard
f05f340f54 Update unregistration target (#1348) 2018-03-06 23:00:27 +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
Christophe Maudoux
d50775a5f2 Append add & verify button + update lang 2018-03-03 23:19:30 +01:00