com php-src: Update UPGRADING wrt. [RFC]: Add Argon2 to password_*: UPGRADING
| From: | Christoph Michael Becker | Date: | Thu, 08 Sep 2016 17:59:21 +0000 |
| Subject: | com php-src: Update UPGRADING wrt. [RFC]: Add Argon2 to password_*: UPGRADING | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-94386@lists.php.net to get a copy of this message | ||
Commit: 8bea911f79dbd63e04586d26b82fe6e1fa5c0422
Author: Christoph M. Becker <cmbecker69@gmx.de> Thu, 8 Sep 2016 19:59:21 +0200
Parents: 6cd06d34d8fcaf4a6b1cbbc9a2db8d933427ea44
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8bea911f79dbd63e04586d26b82fe6e1fa5c0422
Log:
Update UPGRADING wrt. [RFC]: Add Argon2 to password_*
Changed paths:
M UPGRADING
Diff:
diff --git a/UPGRADING b/UPGRADING
index d61280a..d15c4c9 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -32,6 +32,10 @@ PHP 7.2 UPGRADE NOTES
- PCRE:
. Added
J modifier for setting PCRE_DUPNAMES.
+- Standard:
+ . Simplified password hashing API updated to support Argon2i hashes when PHP is compiled with
libargon2
+ (https://wiki.php.net/rfc/argon2_password_hash).
+
========================================
3. Changes in SAPI modules
========================================
@@ -44,6 +48,14 @@ PHP 7.2 UPGRADE NOTES
5. Changed Functions
========================================
+- Standard:
+ . password_hash() can generate Argon2i hashes when the algorithm is set to PASSWORD_ARGON2I.
+ When using PASSWORD_ARGON2I, the following cost factors may be set: 'memory_cost',
'time_cost',
+ and 'threads'. These cost factors will default to
'PASSWORD_ARGON2_DEFAULT_MEMORY_COST',
+ 'PASSWORD_ARGON2_DEFAULT_TIME_COST', and 'PASSWORD_ARGON2_DEFAULT_THREADS'
respectively if not set.
+ . password_verify() can verify Argon2i hashes.
+ . password_get_info() and password_needs_rehash() can accept Argon2i hashes.
+
========================================
6. New Functions
========================================
@@ -82,6 +94,12 @@ PHP 7.2 UPGRADE NOTES
10. New Global Constants
========================================
+- Standard:
+ . PASSWORD_ARGON2_DEFAULT_MEMORY_COST
+ . PASSWORD_ARGON2_DEFAULT_TIME_COST
+ . PASSWORD_ARGON2_DEFAULT_THREADS
+ . PASSWORD_ARGON2I
+
========================================
11. Changes to INI File Handling
========================================