Yubico / php-yubico

PHP class for Yubico authentication
https://developers.yubico.com/php-yubico
BSD 3-Clause "New" or "Revised" License
129 stars 41 forks source link

Does this work with PHP 7.2? #21

Open SimonFearby opened 5 years ago

SimonFearby commented 5 years ago

Does this work with PHP 7.2?

https://developers.yubico.com/php-yubico/

SimonFearby commented 5 years ago

Getting PHP message: PHP Notice: Undefined index: password in /www/yubico/Auth_Yubico-2.5/example/authenticate.php on line 6 PHP message: PHP Notice: Undefined index: mode in /www/yubico/Auth_Yubico-2.5/example/authenticate.php on line 7 PHP message: PHP Notice: Undefined index: key in /www/yubico/Auth_Yubico-2.5/example/authenticate.php on line 8" while reading response header from upstream, client

SimonFearby commented 5 years ago

2018/10/24 20:31:25 [error] 22011#22011: *152253 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: username in /www/yubico/Auth_Yubico-2.5/example/authenticate.php on line 5

SimonFearby commented 5 years ago

I am using php PHP 7.2.11-2+ubuntu18.04.1+deb.sury.org+1

SimonFearby commented 5 years ago

downloaded wget https://developers.yubico.com/php-yubico/Releases/Auth_Yubico-2.5.tgz ran pear install Auth_Yubico-2.5.tgz

rerun confirmed installation Ignoring installed package pear/Auth_Yubico Nothing to install