Commit Graph

2107 Commits

Author SHA1 Message Date
Xavier Guimard
de93bb487a Remove embedded colors + compress Aletschgletscher_mit_Pinus_cembra1 2018-05-16 11:03:48 +02:00
Xavier Guimard
a994024cf7 Add skipRenewConfirmation parameter (#1422) 2018-05-16 10:45:41 +02:00
Xavier Guimard
25470344ef Update translations 2018-05-15 23:00:44 +02:00
Xavier Guimard
18fbdf116b Typo 2018-05-15 22:06:51 +02:00
Xavier Guimard
662ef787c3 Don't build cookie here (#1400) 2018-05-15 22:05:23 +02:00
Xavier Guimard
e40d8ccc1e CheckState plugin (fixes: #1400) 2018-05-15 21:20:31 +02:00
Xavier Guimard
86283952b0 Fix partially #1422 2018-05-15 19:46:02 +02:00
Xavier Guimard
496916bc52 Remove diag* (#1422) 2018-05-14 21:53:33 +02:00
Xavier Guimard
0849df9da0 Avoid little warning (#595) 2018-05-14 21:52:52 +02:00
Xavier Guimard
b0d16d653d Fix renew problem with CAS (fixes: #1422) 2018-05-14 21:33:21 +02:00
Clément OUDOT
bd33897a52 Fix multi values separator (#1420) 2018-05-14 12:21:17 +02:00
Clément OUDOT
a27ef657b7 Rewrite code for CAS proxy (#1420) 2018-05-14 12:15:26 +02:00
Clément OUDOT
0669303baf Display CAS responses in debug logs (#1420) 2018-05-11 21:58:59 +02:00
Xavier Guimard
1398e87cee Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-05-09 21:09:26 +02:00
Xavier Guimard
a0f16c56a1 Clean manifest 2018-05-09 20:38:44 +02:00
Christophe Maudoux
2956592f08 Typo 2018-05-08 23:39:43 +02:00
Christophe Maudoux
7a125dcdc2 Modify tpl #1383 2018-05-08 23:33:05 +02:00
Christophe Maudoux
7648af489a Fix lang 2018-05-07 22:49:49 +02:00
Christophe Maudoux
6293e1c93b Fix TOTP delete authorization bug 2018-05-07 22:49:39 +02:00
Christophe Maudoux
9307fcdbf1 Merge branch 'master' into llng-2.0-improvements 2018-05-07 19:29:59 +02:00
Christophe Maudoux
0169a72baa Delete console log msg #1417 2018-05-07 19:27:49 +02:00
Christophe Maudoux
e370cb79f8 Hide TOTP if required by conf #1417 2018-05-07 19:26:39 +02:00
Xavier Guimard
80ed8580f2 Update tests (#1416) 2018-05-07 18:01:52 +02:00
Christophe Maudoux
3afe82fe30 Modify redirect rule #1417 2018-05-07 17:37:51 +02:00
Xavier Guimard
273e84b342 Clean some Dumper usage (#1416) 2018-05-07 17:17:55 +02:00
Xavier Guimard
71e6fa7008 Add more UTF-8 tests (#1416) 2018-05-05 21:17:54 +02:00
Christophe Maudoux
26d92a4227 Update manifest 2018-05-02 19:30:56 +02:00
Christophe Maudoux
388bd387cf Replace regex by display2fRegisters method 2018-05-01 22:05:06 +02:00
Christophe Maudoux
ed1229800a Display 2fregisters link only if at least a 2f device is registered (#1383) 2018-04-30 23:10:47 +02:00
Christophe Maudoux
5a97e0dc4c Modify 2FManagment icon 2018-04-30 20:04:30 +02:00
Christophe Maudoux
bbc1b68517 Merge remote-tracking branch 'upstream/master' 2018-04-30 18:52:21 +02:00
Xavier Guimard
c673be7cf2 Set some default values in Attributes.pm (#595) 2018-04-30 18:06:15 +02:00
Christophe Maudoux
03c187ce06 Fix langs 2018-04-30 17:08:01 +02:00
Christophe Maudoux
d1a1dad442 Update pod 2018-04-29 22:02:26 +02:00
Christophe Maudoux
ae852f8161 Modify Yubikey logo 2018-04-29 22:02:08 +02:00
Christophe Maudoux
134d11f10e Fix langs 2018-04-29 21:59:58 +02:00
Christophe Maudoux
fa1fe7bcb8 Update Yubikey logo 2018-04-29 13:51:50 +02:00
Christophe Maudoux
5908a6a2d7 Append 2fregisters link into portal menu 2018-04-28 23:49:14 +02:00
Christophe Maudoux
bf9ca17708 Merge branch 'master' into portal-2f-improvement 2018-04-28 19:54:54 +02:00
Xavier Guimard
57715c8b69 Fix #1413 2018-04-28 09:09:34 +02:00
Christophe Maudoux
7e572da88c Merge branch 'master' into portal-2f-improvement 2018-04-27 21:47:59 +02:00
Xavier Guimard
564b34176b Fix rule if 0 (#1413) 2018-04-27 20:10:31 +02:00
Clément OUDOT
90dc78932e Fix error on undefined object method (#1413) 2018-04-27 15:57:07 +02:00
Xavier Guimard
baf0b90b68 Fix name error in rule (#1413) 2018-04-27 13:54:06 +02:00
Xavier Guimard
0283231dd9 Typo 2018-04-26 12:05:11 +02:00
Xavier Guimard
6557b2105a Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-04-26 12:01:54 +02:00
Xavier Guimard
6f87ae5078 Debug hook (#1413) 2018-04-26 12:01:40 +02:00
Clément OUDOT
d3db202488 forcedSAML is no more a Choice (#1256) 2018-04-26 11:44:03 +02:00
Xavier Guimard
023be4c4eb Bad object (#1413) 2018-04-26 07:46:49 +02:00
Xavier Guimard
6605ea1857 Eval() in init() (#1413) 2018-04-26 07:38:17 +02:00
Clément OUDOT
2d388c174a Condition on Choice tab (#1413) 2018-04-25 15:40:19 +02:00
Christophe Maudoux
e4f05b583a Merge branch 'master' into portal-2f-improvement 2018-04-24 21:02:09 +02:00
Xavier Guimard
7d33324eed Update js 2018-04-23 09:52:52 +02:00
Christophe Maudoux
cfbf032dab Typo 2018-04-21 23:24:55 +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
Christophe Maudoux
d943696ddc Add goToportal button (#1386) 2018-04-18 17:06:12 +02:00
Christophe Maudoux
ad59c64ecd Merge branch 'master' into manager-2ndFA-module 2018-04-17 23:03:54 +02:00
Xavier Guimard
904947b43b Propage @maudoux changes to UTOTP (#1391) 2018-04-17 23:01:34 +02:00
Christophe Maudoux
2119be03e1 Merge branch 'master' into manager-2ndFA-module 2018-04-17 22:54:31 +02:00
Christophe Maudoux
4946498a52 Fix msg mistake 2018-04-17 22:40: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
Xavier Guimard
492ae116f8 Missing debug (#1148) 2018-04-17 12:06:09 +02:00
Xavier Guimard
50f8916398 Typo in UTOTP test (#1391) 2018-04-17 07:07:33 +02:00
Christophe Maudoux
a76007d69c Merge branch 'master' into manager-2ndFA-module 2018-04-16 23:45:23 +02:00
Xavier Guimard
abd48c19ca Count error (#1391) 2018-04-16 20:16:53 +02:00
Xavier Guimard
ca2ea37223 Add complete UTOTP test (#1391) 2018-04-16 20:09:13 +02:00
Xavier Guimard
ff30034688 Reorganize tests 2018-04-16 20:06:32 +02:00
Christophe Maudoux
dcc4abcde8 Merge branch 'master' into manager-2ndFA-module 2018-04-15 20:17:07 +02:00
Xavier Guimard
f667635cca Fixes: #1408 (missing make minify) 2018-04-15 18:22:03 +02:00
Christophe Maudoux
0daded373b Fix TOTP register button bug (#1386) 2018-04-15 11:02:48 +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
Xavier Guimard
7802a0d0f7 Update U2F test (#1148) 2018-04-12 18:38:57 +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
Christophe Maudoux
7d7e487a9e Fix warning msg when registered TOTP display is disabled 2018-04-11 23:13:23 +02:00
Xavier Guimard
3998054823 Catch JSON errors (#1386) 2018-04-11 09:54:40 +02:00
Christophe Maudoux
bc8e9f19cf Cleaning unuseful code & improve tmpl (#1386) 2018-04-10 22:21:35 +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
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