summaryrefslogtreecommitdiffstats
path: root/lib/public/Security
Commit message (Collapse)AuthorAgeFilesLines
* fix credentialsManager documentation and ensure userId to be used as stringArthur Schiwon2020-04-161-3/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update license headersChristoph Wurst2019-12-059-13/+34
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add typed events for password_policyChristoph Wurst2019-11-272-0/+101
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use Symfony's new contract Event class instead of the deprecated oneChristoph Wurst2019-09-122-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add feature policy headerRoeland Jago Douma2019-08-101-0/+52
| | | | | | | This adds the events and the classes to modify the feature policy. It also adds a default restricted feature policy. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add an event to edit the CSPRoeland Jago Douma2019-07-082-0/+54
| | | | | | | | This introduces and event that can be listend to when we actually use the CSP. This means that apps no longer have to always inject their CSP but only do so when it is required. Yay for being lazy. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove deprecatred StringUtils classRoeland Jago Douma2019-05-281-49/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not use spaces in generated passwordsMorris Jobke2019-04-151-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove deprecated functions from SecureRandomRoeland Jago Douma2018-12-071-26/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Throw exception if decryption failsRoeland Jago Douma2018-11-141-0/+1
| | | | | | For #11868 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make OCP\Security stricterRoeland Jago Douma2018-01-163-5/+8
| | | | | | | | | | | * Add typehints * Add return types * Opcode opts from phpstorm * Made strict * Fixed tests: No need to test bogus values anymore strict typing fixes this Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsRoeland Jago Douma2018-01-141-2/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Strict ISecure randomRoeland Jago Douma2018-01-131-2/+4
| | | | | | | | | * Declare strict * Scalar arguments * Return type * Use fully qualified name for strlen Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Adds type hinting for scalar types in ICrypto->decryptMorris Jobke2018-01-131-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Some phpstorm inspection fixesRoeland Jago Douma2017-07-221-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Increase device password entropy. Use lower- and upper-case characters and ↵Fabrizio Steiner2017-05-081-0/+7
| | | | | | digits, but exclude ambiguous characters. The number of digits has also been increased to 25. Signed-off-by: Fabrizio Steiner <fabrizio.steiner@gmail.com>
* Fix othersJoas Schilling2016-07-216-6/+12
|
* Update license headersLukas Reschke2016-05-265-5/+5
|
* Move \OCP\Security to PSR-4Roeland Jago Douma2016-05-186-0/+380