Kay0u
|
eb9ecb6451
|
try catch is magic
|
2020-03-29 01:27:41 +01:00 |
|
Alexandre Aubin
|
06d8c48918
|
Fixing a super weird issue ljf encountered where the reader crashed because couldn't read the filescriptor ... Yolocommiting, let's see if this breaks something during our tests during next weeks ...
|
2020-03-29 00:41:37 +01:00 |
|
Bram
|
11ab539bac
|
Merge pull request #234 from kay0u/staticmethod-and-format_arg_names-fix
staticmethod and format_arg_names fix
|
2020-03-04 17:29:47 +01:00 |
|
Kay0u
|
a47a230611
|
staticmethod and format_arg_names fix
|
2020-01-14 22:45:19 +07:00 |
|
Kay0u
|
142081a934
|
be able to mock ldap uri
|
2020-01-08 01:38:36 +08:00 |
|
Kay0u
|
1ea4ce099b
|
fix comment
|
2020-01-07 23:56:25 +08:00 |
|
Kay0u
|
d4cc5ba12e
|
fix new_rdn
|
2020-01-07 23:55:52 +08:00 |
|
Kay0u
|
89aef100f0
|
action in ldap_operation_error
|
2020-01-07 23:55:37 +08:00 |
|
Kay0u
|
f05cc2c66a
|
test_ldap... to be continued
|
2020-01-07 17:47:50 +08:00 |
|
Kay0u
|
6a5971bb3c
|
better fix for lockfile
|
2020-01-07 01:15:26 +08:00 |
|
Kay0u
|
6490184333
|
format
|
2020-01-02 23:41:21 +08:00 |
|
Kay0u
|
247411cb9f
|
make flake8 happy
|
2020-01-02 23:39:35 +08:00 |
|
Kay0u
|
3abde9c008
|
default use global conf
|
2020-01-02 12:59:16 +08:00 |
|
Kay0u
|
0be1d74e4a
|
set handler if no password is provided
|
2020-01-02 12:34:47 +08:00 |
|
Kay0u
|
ce5d7ddaf0
|
fix conf authenticate all
|
2020-01-02 12:31:35 +08:00 |
|
Kay0u
|
94ccd9b05c
|
use the right authenticator
|
2020-01-02 12:30:43 +08:00 |
|
Kay0u
|
ac4a4c34b1
|
use default authenticator if none is defined
|
2020-01-02 12:17:12 +08:00 |
|
Kay0u
|
6f7f870d3d
|
use default profile by default
|
2020-01-02 12:14:23 +08:00 |
|
Kay0u
|
d51bb55573
|
add some members to authenticators
|
2020-01-02 12:12:24 +08:00 |
|
Kay0u
|
d4b58ed97f
|
Warn messages + fix error message
|
2019-12-28 23:30:36 +08:00 |
|
Kay0u
|
7f0a0608e8
|
expose msignals
|
2019-12-28 23:30:10 +08:00 |
|
Josué Tille
|
7ff033090c
|
Add warning when nothing is updated in LDAP
|
2019-12-23 11:01:53 +01:00 |
|
Josué Tille
|
9400ef7498
|
Don't update LDAP if there are nothing to do
|
2019-12-22 12:16:34 +01:00 |
|
Kay0u
|
6edc021f83
|
Add more tests
|
2019-12-22 00:36:20 +08:00 |
|
Kay0u
|
641126e344
|
Minimal change to support python3
|
2019-12-20 16:09:57 +08:00 |
|
decentral1se
|
54b8cab133
|
Apply Black on all the code base
|
2019-11-25 17:21:13 +01:00 |
|
Alexandre Aubin
|
952d707362
|
Make the linter gods happy
|
2019-11-20 00:27:34 +01:00 |
|
Alexandre Aubin
|
53ab4709d1
|
Rewrite auth tests in a more clean way, now using webtest to run the API
|
2019-11-19 21:12:58 +01:00 |
|
Alexandre Aubin
|
9fda7f4716
|
Merge branch 'stretch-unstable' into simplify-auth-mechanism
|
2019-11-19 16:55:06 +01:00 |
|
Alexandre Aubin
|
dcfd70c5df
|
Import hmac, used for compare_digest
|
2019-11-19 16:50:13 +01:00 |
|
Alexandre Aubin
|
06e72c0e86
|
Simplify cache code..
|
2019-11-19 16:49:45 +01:00 |
|
Alexandre Aubin
|
e14d156650
|
Space typo
Co-Authored-By: Timost <Timost@users.noreply.github.com>
|
2019-11-19 14:42:19 +01:00 |
|
Alexandre Aubin
|
f1087662a0
|
Use hmac.compare_digest to compare hashes
Co-Authored-By: Timost <Timost@users.noreply.github.com>
|
2019-11-19 14:19:35 +01:00 |
|
frju365
|
cfeaf52309
|
[fix] blank spaces for travis.
|
2019-11-03 14:36:21 +01:00 |
|
frju365
|
cb4057eabc
|
[fix] Return nothing if argument is already set.
|
2019-11-03 14:19:36 +01:00 |
|
Alexandre Aubin
|
e77e27730b
|
Update moulinette/authenticators/__init__.py
Co-Authored-By: Timost <Timost@users.noreply.github.com>
|
2019-11-01 16:47:05 +01:00 |
|
Alexandre Aubin
|
808f6203fd
|
Allow to customize color for CLI prompts
|
2019-09-27 17:40:44 +02:00 |
|
Luke Murphy
|
cef72f7de9
|
Add some unit tests for the actionsmap module
|
2019-09-11 00:47:10 +01:00 |
|
Alexandre Aubin
|
97aad385b4
|
Add comment about the _authentiate_session mechanism
|
2019-08-30 20:13:17 +02:00 |
|
Luke Murphy
|
2c84ee1541
|
Add tests for text/serialize modules
Also take a pass on the docstrings.
|
2019-08-28 17:57:16 +02:00 |
|
Alexandre Aubin
|
050a982c93
|
Add note
|
2019-08-23 02:40:41 +02:00 |
|
Alexandre Aubin
|
2addea1e08
|
Implement basic tests for auth mechanism
|
2019-08-23 02:37:57 +02:00 |
|
Alexandre Aubin
|
6d44c46740
|
Be able to run test on the API
|
2019-08-22 03:27:31 +02:00 |
|
Alexandre Aubin
|
6899217fa0
|
Make linter gods happy
|
2019-08-21 16:22:16 +02:00 |
|
Alexandre Aubin
|
0a13e5b000
|
Fix is_authenticated mechanism
|
2019-08-21 16:12:03 +02:00 |
|
Alexandre Aubin
|
d7a33e5a14
|
Typo
|
2019-08-21 16:11:07 +02:00 |
|
Alexandre Aubin
|
7482f052f6
|
Get rid of gnupg, just store a hash of the id:token to reauthenticate later using session info
|
2019-08-20 20:31:10 +02:00 |
|
Alexandre Aubin
|
3822496622
|
Try to improve semantic : s_hash -> s_token
|
2019-08-20 19:53:51 +02:00 |
|
Alexandre Aubin
|
bcaf8b2e4a
|
Move clean_session with the other session management method + add a check for session.hashed for additional security ?
|
2019-08-20 19:42:32 +02:00 |
|
Alexandre Aubin
|
ebc37ea014
|
Move init_authenticator to actionsmap.py for clarity to avoid spreading this shit over 72 files
|
2019-08-20 05:55:06 +02:00 |
|