Commit Graph

228 Commits (2bdc97741cd42843f85750421cba032942d860ed)

Author SHA1 Message Date
Christoph Wurst 1ee833efab
refactor: Replace __CLASS__ with ::class references 1 year ago
Anna Larch 8af7ecb257 chore: adjust code to adhere to coding standard 1 year ago
Daniel Kesselberg af6de04e9e
style: update codestyle for coding-standard 1.2.3 1 year ago
Ferdinand Thiessen 2916e5df7e
feat: Provide CSP nonce as `<meta>` element 1 year ago
Ferdinand Thiessen 86f01a3358
fix: Make sure CSP nonce is not double base64 encoded 1 year ago
Ferdinand Thiessen 9716b0d735 refactor: Migrate some legacy and core functions to `IFilenameValidator` 1 year ago
Benjamin Gaussorgues f1d97a3188
feat(Security): add Factory for IP addresses and ranges 1 year ago
Joas Schilling 047479ccf9
feat(security): Add public API to allow validating IP Ranges and checking for "in range" 1 year ago
Benjamin Gaussorgues 202e5b1e95
feat(security): restrict admin actions to IP ranges 1 year ago
Christopher Ng 415edcac9b chore: More explicit splitHash typing 2 years ago
Christopher Ng d9bf6c432e feat: Add method to validate an IHasher hash 2 years ago
Robin Appelman e140907123 fix: don't use custom certificate bundle if no customer certificates are configured 2 years ago
Andy Scherzinger dae7c159f7
chore: Add SPDX header 2 years ago
Joas Schilling b627e6efe4 fix: Correctly check result of function 2 years ago
Ferdinand Thiessen 5a513c924f
fix(CSP): Add CSP nonce by default and convert `browserSupportsCspV3` to blocklist 2 years ago
Andrew Summers f9ce6bfdff Refactor `OC\Server::getHasher` 2 years ago
Julius Härtl 02d6d3f5b1
fix: Add edge as supported user agent for CSPv3 nonces 2 years ago
Joas Schilling 33e1c8b236
fix(security): Handle idn_to_utf8 returning false 2 years ago
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 2 years ago
Ferdinand Thiessen 7df9eb3351 feat(ContentSecurityPolicy): Allow to set `strict-dynamic` on `script-src-elem` only 2 years ago
Benjamin Gaussorgues f04035caa0
Simplify IP address normalizer with IP masks 2 years ago
Faraz Samapoor f313ca92e7 Refactors lib/private/Security. 2 years ago
Faraz Samapoor 1c023e6666 Update lib/private/Security/Certificate.php 2 years ago
Faraz Samapoor f9596edb00 Updates the typed properties. 2 years ago
Faraz Samapoor 4f46656d39 Refactors lib/private/Security. 2 years ago
Christoph Wurst e477bb7eaf
feat(appframework): Expose programmatic rate limiter 2 years ago
Andrew Summers 1395a53602
Refactor `OC\Server::getSecureRandom` 2 years ago
Joas Schilling 124588d4a6
fix: Make bypass function public API 2 years ago
Joas Schilling fd9b2d488e
feat: Expose if the own IP is allowed to bypass bruteforce protection 2 years ago
Joas Schilling abc98d343c
feat(security): Add a "testing mode" for bruteforce protection that doesn't sleep 2 years ago
Joas Schilling a95800c647
feat(security): Add a bruteforce protection backend base on memcache 2 years ago
Daniel Calviño Sánchez 41f2d912d2 Allow "wasm-unsafe-eval" in CSP 2 years ago
Faraz Samapoor e73757b4a5 Refactors lib/private/Security. 3 years ago
Robin Appelman 223612b15a
log failures to read certificates during listing 3 years ago
Faraz Samapoor e7cc7653b8 Refactors "strpos" calls in lib/private to improve code readability. 3 years ago
Jan Messer 647c65a640 [BUGFIX] throw exception instead of error if unable to create file handler (only exceptions are catch) 3 years ago
Jan Messer 7a443863fe [BUGFIX] check return value and improve error handling 3 years ago
Côme Chilliet 426c0341ff
Use typed version of IConfig::getSystemValue as much as possible 3 years ago
Côme Chilliet ea05544213
Fix return type of methods returning false on error 3 years ago
Joas Schilling 454281af03
feat(security): Allow to opt-out of ratelimit protection, e.g. for testing on CI 3 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
Christoph Wurst 8aea25b5b9
Add remote host validation API 3 years ago
Côme Chilliet 71ee292650 Add rate limiting on lost password emails 3 years ago
Carl Schwan ef31396727
Mark method as deprecated 3 years ago
Carl Schwan 48d9c4d2b0
Port existing server code to new interface 3 years ago
Joas Schilling c0f47af2d0
Add a public interface for the bruteforce throttler and register for injection 3 years ago
luz paz 368f83095d Fix typos in lib/private subdirectory 3 years ago
Joas Schilling 8274c05e19
Only ignore attempts of the same action 4 years ago
Carl Schwan ca3cd5a625 Fix detection of firefox in ContentSecurityPolicyNonceManager 4 years ago
Vincent Petry 01dbd22c9c
Validate requested length is random string generator 4 years ago