CiscoDevNet / iPSK-Manager

Identity PSK (IPSK) Manager for Cisco ISE provides an example of how to manage the full Life Cycle of Wi-Fi Pre Shared Keys for supported Hardware/Software through Cisco ISE.
Apache License 2.0
31 stars 16 forks source link

Install script SODIUM_CRYPTO_SECRETBOX_KEYBYTES missing/password complexity #1

Closed egreenspan2 closed 4 years ago

egreenspan2 commented 4 years ago

Install.php fails because SODIUM_CRYPTO_SECRETBOX_KEYBYTES is not defined under Centos 8.1.1911 with PHP 7.2.11

Similar to this post

In addition: With mysql secure installation the function to generate random password randomly can generate password not meeting the complexity criteria, resulting in failure to create mysql user.

Default complexity rules for MySql 8 are: mysql> SHOW VARIABLES LIKE 'validate_password%';

+--------------------------------------+--------+ | Variable_name | Value | +--------------------------------------+--------+ | validate_password.check_user_name | ON | | validate_password.dictionary_file | | | validate_password.length | 8 | | validate_password.mixed_case_count | 1 | | validate_password.number_count | 1 | | validate_password.policy | MEDIUM | | validate_password.special_char_count | 1 | +--------------------------------------+--------+

A very bad hack is to simply append mixed case, number and special char to the random password, but clearly that is not very secure.

OS: CentOS 8.1.1911 Mysql: 8.0.17

cisco-garyoppel commented 4 years ago

Thank you for opening this issue, the password complexity issue has been resolved.

The Installer has been updated to include several updates that include:

Closing with Commit f7f5b7e0db8179586b3bbbd29797610099787c38

If you have further issues, please re-open or open a new issue.