Commit Graph

66 Commits (bf2dcd67f3cb83e3bebc472d65fac3bc8755e25d)

Author SHA1 Message Date
Christoph Wurst 5eb768ac5e
fix(auth): Run token statements in atomic transaction 3 years ago
Côme Chilliet 426c0341ff
Use typed version of IConfig::getSystemValue as much as possible 3 years ago
Ember 'n0emis' Keske 6881d2f2f1
Don't try to hash a nonexisting password 3 years ago
Joas Schilling 6417ea0265
fix(authentication): Handle null or empty string password hash 3 years ago
Julius Härtl 580feecdbf
fix(authtoken): Store only one hash for authtokens with the current password per user 3 years ago
Joas Schilling 7a85a1596e
fix(authentication): Check minimum length when creating app tokens 3 years ago
Joas Schilling 03a585ab4f
fix(performance): Only search for auth tokens when the provided login is long enough 3 years ago
Joas Schilling 2fb4dac7ad
fix(authentication): Update the token when the hash is null or can not be verified 3 years ago
Joas Schilling 28b18d561c
fix(authentication): Only hash the new password when needed 3 years ago
Joas Schilling c5bb19641c
fix(authentication): Invert the logic to the original intention 3 years ago
Joas Schilling 55d8aec759
fix(authentication): Only verify each hash once 3 years ago
Joas Schilling b4a29644cc
Add a const for the max user password length 3 years ago
Marcel Klehr adfe367106
PublickKeyTokenProvider: Fix password update routine with password hash 3 years ago
Christoph Wurst c5922e67d3
Run session token renewals in a database transaction 3 years ago
Carl Schwan ef31396727
Mark method as deprecated 3 years ago
Julius Härtl 9d1ec582ba
Do not update passwords if nothing changed 3 years ago
Carl Schwan 702445ba3b
Handle one time password better 3 years ago
Carl Schwan d5c23dbb9f Move CappedMemoryCache to OCP 4 years ago
Carl Schwan 1c23c029af Handler large passwords 4 years ago
Carl Schwan cdf3b60555 Handle one time passwords 4 years ago
Joas Schilling 7b3e2217de
Fix user agent trimming on installation 4 years ago
Joas Schilling a0c7798c7d
Limit the length of app password names 4 years ago
Julius Härtl 553cb499b2
Rotate token after fallback 4 years ago
Julius Härtl 81f8719cc0
Add fallback routines for empty secret cases 4 years ago
Joas Schilling 397b9098e8
Also cache non-existing to reuse it 4 years ago
Joas Schilling c0ba89ecc9
Remove default token which is deprecated since Nextcloud 13 4 years ago
Christoph Wurst 7dd7256cfe
Prevent duplicate auth token activity updates 4 years ago
Christoph Wurst 01b8291c76
Type the autentication provider passwords as nullable strings 4 years ago
Tobias Assmann ee049a159b prevent the invalidation of pw based authn tokens on a pw less login 5 years ago
Tobias Assmann 669bd4d718 add spaces around operators 5 years ago
Tobias Assmann 1f1ae97824 draft to prevent the invalidation of pw based authn tokens on a pw less login 5 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
Roeland Jago Douma cd457cc68b Always renew apppasswords on login 5 years ago
Joas Schilling 49ff48fcd3
Use PSR logger in authentication 5 years ago
Christoph Wurst 2664c7f75f
Type some of the core mappers 5 years ago
Roeland Jago Douma 76a7600e2e
Allow configuring the activity update interval of token 5 years ago
Roeland Jago Douma 0452877a67
Fix app password updating out of bounds 5 years ago
Christoph Wurst 2a054e6c04
Update the license headers for Nextcloud 20 5 years ago
Morris Jobke fedf9c69d9
Use matching parameter names form interfaces and implementations 5 years ago
Christoph Wurst 2006a6dd0e
Improve traces of invalid token exceptions 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Roeland Jago Douma b371e735cf
Throw an invalid token exception is token is marked outdated 6 years ago
Roeland Jago Douma 5122629bb0
Make renewSessionToken return the new token 6 years ago
Roeland Jago Douma 3fccc7dc47
Cache the public key tokens 6 years ago
Daniel Kesselberg 608f4d3ee9
Pass $configargs to openssl_pkey_export 7 years ago
Morris Jobke 4ae17427c5
Error with exception on SSL error 7 years ago
Roeland Jago Douma f03eb7ec3c
Remote wipe support 7 years ago
Daniel Kesselberg ec8aefc762
Read openssl error and log 7 years ago
Roeland Jago Douma 674930da7f
Move ExpiredTokenException to the correct namespace 7 years ago
Roeland Jago Douma d9febae5b2
Update all the publickey tokens if needed on web login 7 years ago