From 74e9e4618200825ddf3dbaa2ed85a32949c89147 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 28 Aug 2024 16:31:59 +0200 Subject: Release 1.0.0RC1 --- README.md | 4 ++++ package.xml | 2 +- xpass.c | 5 +++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e503119..c34a19d 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,10 @@ From the sources tree php > var_dump(password_verify("secret", $hash)); bool(true) +## supported options + +* `cost` controls the CPU time cost of the hash. If `cost` is 0, a low default cost will be selected. + # LICENSE Author: Remi Collet diff --git a/package.xml b/package.xml index 0dca32d..a4f9d1e 100644 --- a/package.xml +++ b/package.xml @@ -5,7 +5,7 @@ Extended password extension This extension provides password hashing algorithms used by Linux -distributions, using extended crypt library (libxcrypt). +distributions, using extended crypt library (libxcrypt): * sha512 provided for legacy as used on some old distributions * yescrypt used on modern distributions diff --git a/xpass.c b/xpass.c index ad21234..bab404a 100644 --- a/xpass.c +++ b/xpass.c @@ -41,9 +41,10 @@ PHP_RINIT_FUNCTION(xpass) PHP_MINFO_FUNCTION(xpass) { php_info_print_table_start(); - php_info_print_table_header(2, "xpass support", "enabled"); + php_info_print_table_header(2, "Extended password support", "enabled"); php_info_print_table_row(2, "Extension version", PHP_XPASS_VERSION); - php_info_print_table_row(2, "Author", PHP_XPASS_VERSION); + php_info_print_table_row(2, "libxcrypt version", XCRYPT_VERSION_STR); + php_info_print_table_row(2, "Author", PHP_XPASS_AUTHOR); php_info_print_table_row(2, "License", PHP_XPASS_LICENSE); #ifdef HAVE_CRYPT_SHA512 php_info_print_table_row(2, "sha512 hash", "yes"); -- cgit