30 Commits

Author SHA1 Message Date
00aab7c379 Fixed typo in comments for generatePasswordHash 2014-08-09 00:23:29 -04:00
83b800271b Merge branch 'master' of git://github.com/yiisoft/yii2 2014-07-29 20:54:07 -04:00
a0d19e922b Fixes #4497: changed to use hex digits by default when hashing data. 2014-07-29 20:54:01 -04:00
ca9d4867f4 code style 2014-07-29 22:23:59 +02:00
be24a2e2c7 Removed mentions of $deriveKeyStrategy from Security phpdoc 2014-07-28 13:36:06 +04:00
33f2525a39 Remove nonsense branch logic 2014-07-27 14:30:13 -04:00
4f5b7afd95 Merge branch 'master' of git://github.com/yiisoft/yii2 into 4469-compareString-without-shortcut 2014-07-27 12:04:03 -04:00
c6a8b418ef compareString(): timing depends only on length of $actual input, unit test 2014-07-27 12:03:03 -04:00
56a9536b51 Typo in docs 2014-07-26 17:07:06 +02:00
b680afc721 Fixes #4462. 2014-07-26 10:08:52 -04:00
c5a3cd511e Security component adjustments: fixed comment style, hkdf() and pbkdf2() are now protected, compareString() is now public 2014-07-26 14:09:38 +04:00
2c5c2c101b Fixes #4131: Security adjustments 2014-07-26 03:29:30 +04:00
8802d0305e Avoid method call in for condition 2014-07-23 16:42:41 +04:00
deecdcad84 Adjusted exception message when pdkdbf2 is set but environment isn't OK 2014-06-30 21:23:33 +04:00
481db35512 Fixes #4114: Added Security::generateRandomHexKey(), used it for various tokens and default key generation 2014-06-30 16:36:52 +04:00
90a625013c Result check at Security::generateRandomKey() added 2014-06-29 15:39:25 +03:00
039909a846 Fixed a call of function "generateRandomKey()" in app\base\Security 2014-06-29 12:23:06 +04:00
399b6b18e3 Fixes #4103 2014-06-28 21:58:07 -04:00
84cbf19bfe Doc comments at Security::generateRandomKey() adjusted 2014-06-28 19:05:16 +03:00
69abbc7ff3 Fallback at Security::generateRandomKey() removed 2014-06-28 19:02:53 +03:00
052ae83340 Option Security::autoGenerateSecretKey added 2014-06-28 00:11:48 +03:00
25a3637709 Upgrade note about Security updated 2014-06-27 23:33:16 +03:00
5a42985750 Option Security::useDeriveKeyUniqueSalt added 2014-06-27 23:30:28 +03:00
772667fa1c Doc comments at Security updated 2014-06-27 23:13:57 +03:00
4ce4707a3a Option Security::passwordHashStrategy added 2014-06-27 23:05:23 +03:00
4063502439 Option Security::deriveKeyStrategy added 2014-06-27 22:10:02 +03:00
846596294d Fallback for Security::generateRandomKey() added 2014-06-27 21:45:52 +03:00
4768dcdbc2 Method Security::compareString() extracted 2014-06-27 21:33:42 +03:00
47f8eafb6d Doc comments at yii\base\Security fixed 2014-06-27 14:37:59 +03:00
db0beb6b6b 'yii\base\Security' component created. 2014-06-27 14:24:58 +03:00