Commit Graph

12 Commits

Author SHA1 Message Date
Ignacio Gómez 05b64b5567
Update go and dependencies. Adjust Redis interface. 2022-06-05 16:33:27 -04:00
Pierre Fersing 541c3f9ffa
Use ACL cache jitter for ACL check
Co-authored-by: Ignacio Gómez <iegomez@uc.cl>
2021-03-07 11:16:40 +01:00
Pierre Fersing 59281887bc Use jitter in cache test 2021-03-05 10:13:02 +01:00
Pierre Fersing 8abfcd2755
Apply suggestions from code review
Co-authored-by: Ignacio Gómez <iegomez@uc.cl>
2021-03-05 09:57:52 +01:00
Pierre Fersing 725202e47e Add a jitter to ACL cache expiration 2020-11-13 18:58:37 +01:00
Pierre Fersing 86d9143c48 Use ACL expiration for ACL entry
The auth expiration was used.
2020-11-13 17:10:10 +01:00
Ignacio Gómez 4395cdf7b8
Add cache refresh option, default to true to avoid frequent access attack. 2020-10-22 20:05:15 -03:00
Ignacio Gómez aa487a9a05
Refactor hashing: add support for bcrypt and argond2id hashers.
Fix cache security issue.
2020-07-13 23:21:26 -04:00
Ignacio Gómez e803483d92
Change expiration to use time.Duration, add Redis cache tests. 2020-06-27 21:23:14 -04:00
Ignacio Gómez 705515630d
Fix cache expiration time, add tests for go-store. 2020-06-27 19:36:49 -04:00
Ignacio Gómez 8dcfd0aeef
Remove dead interfaces and change receiver name. 2020-06-26 21:10:03 -04:00
Ignacio Gómez e72e522927
Move cache to its own package and add support for go-cache. 2020-06-26 21:03:55 -04:00