Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 7:05 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Jan 08, 2009 4:49 pm 
Offline

Joined: Thu Jan 08, 2009 1:28 pm
Posts: 4
Hello,

I'm trying to get the PHP validation server running but always run into this problem when running install.php (on both Debian and Windows):

Code:
root@test:/var/www/yubico/yubiphpbase# php install.php

* Connected to DB successfully
Data schema seems OK, now insert initial data
Insert root client

Fatal error: Call to undefined function aesEncrypt() in /var/www/yubico/yubiphpbase/install.php on line 33


Same goes for utils.php

Code:
root@test:/var/www/yubico/yubiphpbase# php utils.php

API Key: iet79XguwVM0wCtR80WGHuxccpY=


Fatal error: Call to undefined function aesEncrypt() in /var/www/yubico/yubiphpbase/utils.php on line 24


I've been trying to find where the aesEncrypt() function is defined but cannot find it, is it some kind of PHP extension that I'm missing? Google came up short on this...


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

PostPosted: Fri Jan 09, 2009 3:33 pm 
Offline
Yubico Team
Yubico Team

Joined: Wed Oct 01, 2008 8:11 am
Posts: 210
To resolve this issue please download and deploy the yubico-php-lib ("http://code.google.com/p/yubico-php-lib/") library in your codebase.

The yubico-php-lib library has code for aesEncrypt() function.

Hope this helps.


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 12, 2009 9:11 am 
Offline

Joined: Thu Jan 08, 2009 1:28 pm
Posts: 4
OK now I found it, I had the 'yubico-php-lib' package but had downloaded the .zip package (yubico-php-lib-0.1.3.zip) and the AES128.php in that package did NOT include the aesEncrypt() and aesDecrypt() functions. Then I tried the SVN version and now I got it working, thanks for the tip.


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 11, 2009 9:06 pm 
Offline

Joined: Wed Feb 11, 2009 11:42 am
Posts: 4
I ran into the exact same problem.
The zip-download link should be removed from the google-project, as it just confuses some cats.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group