Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Tue Aug 04, 2009 4:58 am 
Offline

Joined: Mon Aug 03, 2009 4:42 pm
Posts: 8
Im having some trouble getting ykksm and ykval setup when i go and ~verify.php?id=1&otp=(my..otp) im getting status=BAD_OTP im sure i just have the base64 encoding wrong or dont have the right encoding on my id's so here is what i have if any one can answer what and where it should be. one issue is the base64 encoding is lager than the aesKey varchar(32) unsure if i need to increase or if im doing the encoding it wrong.

for this example my info is

AES KEY = d0bcfe42958ed134b2d3800b98b2a0de
private id = e7797c4edc91
public id = 85b71f2eeb4f in modhex = jgnibvduunfv

(some modhex + otp)

jgnibvduunfvlvhjdgkgtgthilikudckkldcnnllcjhh
jgnibvduunfvrthukvtjeuffrcvnudtlruvheflnrfhb

What i need to know

what should my __ADM_KEY_SECRET__ be for config.php in yubiphpbase?
what should my __ENC_KEY_SECRET__ be for config.php in yubiphpbase?

what should aesKey be in database ykksm table yubikeys?
what should publicName be in database ykksm table yubikeys?
what should internalName be in database ykksm table yubikeys?

what should secret be in database ykval table clients? the same or related to __ENC_KEY_SECRET__?
what should publicName be in database ykval table yubikeys? the same as ykksm?
what should internalName be in database ykval table yubikeys? the same as ykksm?

so if i get all of that correct i should get status=OK from verify.php and i should be able to set up my yms with little trouble.

thanks for any help!


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Tue Aug 04, 2009 7:54 am 
Offline
Yubico Team
Yubico Team

Joined: Wed Oct 01, 2008 8:11 am
Posts: 210
There is a step by step installation guide available at the following forum link:

viewtopic.php?f=5&t=315&p=1418#p1418

We would appreciate if you can try to install the YMS as per the steps given at the above forum post.


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 04, 2009 3:25 pm 
Offline

Joined: Mon Aug 03, 2009 4:42 pm
Posts: 8
I have been trying that but with no success i still get status=BAD_OTP, is
Code:
oppenssl enc base64
the best utility to use to get the base64 data? should my base64 encoding be larger than 32 characters, if so do i need to increase the limit on the database for aesKey table data, if someone can give me the above info in my first post i would be able to figure this out.

thanks


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 05, 2009 10:19 am 
Offline
Yubico Team
Yubico Team

Joined: Wed Oct 01, 2008 8:11 am
Posts: 210
There are many web based conversion utilities are available online. One of the good utility can be found at:

http://home2.paulschou.net/tools/xlate/

The converted values using the above utility are as follows:

AES KEY = d0bcfe42958ed134b2d3800b98b2a0de --> base 64 = 0Lz+QpWO0TSy04ALmLKg3g==
private id = e7797c4edc91 --> base 64 = 53l8TtyR
public id = 85b71f2eeb4f in modhex = jgnibvduunfv

The answers to your questions are as follows:

    1) what should my __ADM_KEY_SECRET__ be for config.php in yubiphpbase? --> Leave it blank or don't modify it, as the AES key is now stored in the YKKSM database and it is not required to store in in the YMS server database.

    2) what should my __ENC_KEY_SECRET__ be for config.php in yubiphpbase? --> This is the encryption key. This can be any string of your choice. Just convert your encryption key to base 64 format and enter it in the config.php file

    3) what should aesKey be in database ykksm table yubikeys? --> The AES Key should be entered in Hex encoded format. In your case it will be "d0bcfe42958ed134b2d3800b98b2a0de"

    4) what should publicName be in database ykksm table yubikeys? --> This is the YubiKey Id of your YubiKey (first 12 characters of the OTP). It needs to be in modhex encoded format. In your case it will be "jgnibvduunfv"

    5) what should internalName be in database ykksm table yubikeys? --> Internal name is the Private ID of the YubiKey. It needs to be entered in Hex encoded format. In your case it will be "e7797c4edc91"

    Once the YKKSM server is up and able to decrypt the OTP, you can then follow the exact steps mentioned at the following forum link to install the Yubico validation as well as the management server:

    viewtopic.php?f=5&t=315&p=1418#p1418

    To check if the YKKSM server can decrypt the OTP, use the "ykksm-decrypt.php". For example, the request to the YKKSM server will be as follows:

    Code:
    http://<WebServer IP/Domain name>/yubikey-ksm/ykksm-decrypt.php?otp=etlfjrhdghnljbeeicenintdlejjgfgfengkdkitukge


    This should return the following results:
    Code:
    OK counter=0001 low=2741 high=14 use=01


    We hope this helps!


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 05, 2009 6:06 pm 
Offline

Joined: Mon Aug 03, 2009 4:42 pm
Posts: 8
ok thanks for verifying my example and my encodings are the same as you stated above also i do get
Code:
OK counter=0002 low=dff2 high=33 use=04
from
decrypt.php?otp=jgnibvduunfvrjdfccbteevikntfnncdtjhdnviujgnj
but now the problem i have is when i verify.php?id=1&otp=jgnibvduunfvrjdfccbteevikntfnncdtjhdnviujgnj i get
Code:
verify.php?id=1&otp=jgnibvduunfvrjdfccbteevikntfnncdtjhdnviujgnj
h=WlJJSIUZ/41QIN215FGtp1gV898=
t=2009-08-05T14:20:37Z0958
status=BAD_OTP

and all i get from the error.log is
Code:
[Wed Aug 05 09:51:18 2009] [error] [client ] Request: id=1&otp=jgnibvduunfvrjdfccbteevikntfnncdtjhdnviujgnj
[Wed Aug 05 09:51:18 2009] [error] [client ] SQL query: SELECT id, secret FROM clients WHERE active AND id='1'
[Wed Aug 05 09:51:18 2009] [error] [client ] Client data: id=1 secret=0Lz+QpWO0TSy04ALmLKg3g==
[Wed Aug 05 09:51:18 2009] [error] [client ] SIGN: status=BAD_OTP&t=2009-08-05T13:51:18Z0500 H=G9qQhQGgZGlp+mHnuLq9h2OHpmI=

any idea what is causing this?

thanks again.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 06, 2009 11:32 am 
Offline
Yubico Team
Yubico Team

Joined: Wed Oct 01, 2008 8:11 am
Posts: 210
We would appreciate if you can provide us the MySQL database dump of your database. Please use the following command to take dump:

Code:
# mysqldump <name of the database> > <file name.sql>


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 06, 2009 2:52 pm 
Offline

Joined: Mon Aug 03, 2009 4:42 pm
Posts: 8
ok attachments dose not work so i will just post them

DB ykksm
Code:
-- MySQL dump 10.11
--
-- Host: localhost    Database: ykksm
-- ------------------------------------------------------
-- Server version   5.0.68

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `yubikeys`
--

DROP TABLE IF EXISTS `yubikeys`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `yubikeys` (
  `id` int(11) NOT NULL auto_increment,
  `serialNr` int(11) default NULL,
  `publicName` varchar(16) default NULL,
  `created` datetime NOT NULL,
  `internalName` varchar(12) default NULL,
  `aesKey` varchar(32) default NULL,
  `lockCode` varchar(12) default NULL,
  `creator` varchar(8) default NULL,
  `active` tinyint(1) default '1',
  `hardware` tinyint(1) default '1',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `publicName` (`publicName`)
) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=latin1;
SET character_set_client = @saved_cs_client;

--
-- Dumping data for table `yubikeys`
--

LOCK TABLES `yubikeys` WRITE;
/*!40000 ALTER TABLE `yubikeys` DISABLE KEYS */;
INSERT INTO `yubikeys` VALUES (1,1,'jgnibvduunfv','2009-08-01 21:27:51','e7797c4edc91','d0bcfe42958ed134b2d3800b98b2a0de',NULL,NULL,1,0);
/*!40000 ALTER TABLE `yubikeys` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping routines for database 'ykksm'
--
DELIMITER ;;
DELIMITER ;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2009-08-06 13:07:58


DB kyval
Code:
-- MySQL dump 10.11
--
-- Host: localhost    Database: ykval
-- ------------------------------------------------------
-- Server version   5.0.68

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `clients`
--

DROP TABLE IF EXISTS `clients`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `clients` (
  `id` int(11) NOT NULL auto_increment,
  `active` tinyint(1) default '1',
  `created` datetime NOT NULL,
  `secret` varchar(60) NOT NULL default '',
  `email` varchar(255) default NULL,
  `notes` varchar(100) default NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
SET character_set_client = @saved_cs_client;

--
-- Dumping data for table `clients`
--

LOCK TABLES `clients` WRITE;
/*!40000 ALTER TABLE `clients` DISABLE KEYS */;
INSERT INTO `clients` VALUES (1,1,'2008-08-07 21:27:51','0Lz+QpWO0TSy04ALmLKg3g==','admin@localhost',NULL);
/*!40000 ALTER TABLE `clients` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `yubikeys`
--

DROP TABLE IF EXISTS `yubikeys`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `yubikeys` (
  `id` int(11) NOT NULL auto_increment,
  `active` tinyint(1) default '1',
  `created` datetime NOT NULL,
  `accessed` datetime default NULL,
  `publicName` varchar(16) NOT NULL,
  `internalName` varchar(12) NOT NULL,
  `counter` int(11) default NULL,
  `low` int(11) default NULL,
  `high` int(11) default NULL,
  `sessionUse` int(11) default NULL,
  PRIMARY KEY  (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `publicName` (`publicName`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
SET character_set_client = @saved_cs_client;

--
-- Dumping data for table `yubikeys`
--

LOCK TABLES `yubikeys` WRITE;
/*!40000 ALTER TABLE `yubikeys` DISABLE KEYS */;
INSERT INTO `yubikeys` VALUES (1,1,'2008-09-03 02:21:34','2008-09-03 02:21:34','jgnibvduunfv','e7797c4edc91',0,0,0,0);
/*!40000 ALTER TABLE `yubikeys` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping routines for database 'ykval'
--
DELIMITER ;;
DELIMITER ;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2009-08-06 13:08:38


DB yubico
Code:
-- MySQL dump 10.11
--
-- Host: localhost    Database: yubico
-- ------------------------------------------------------
-- Server version   5.0.68

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `admin`
--

DROP TABLE IF EXISTS `admin`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `admin` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `keyid` int(11) NOT NULL default '0',
  `note` varchar(45) default NULL,
  `pin` varchar(120) default NULL,
  `last_access` datetime default NULL,
  `ip` varchar(45) default NULL,
  `creation` datetime default NULL,
  `client` int(11) NOT NULL default '0',
  `timeout` int(10) unsigned NOT NULL default '3600',
  PRIMARY KEY  (`id`),
  KEY `FK_admin_2` (`keyid`),
  KEY `FK_admin_1` (`client`),
  CONSTRAINT `FK_admin_1` FOREIGN KEY (`client`) REFERENCES `clients` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `FK_admin_2` FOREIGN KEY (`keyid`) REFERENCES `yubikeys` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
SET character_set_client = @saved_cs_client;

--
-- Dumping data for table `admin`
--

LOCK TABLES `admin` WRITE;
/*!40000 ALTER TABLE `admin` DISABLE KEYS */;
INSERT INTO `admin` VALUES (1,1,'Root admin','eXp9pHe0z1ix1L8fkoCEBQ==','2009-08-02 03:39:39','127.1.1.0','2009-08-02 03:39:39',1,3600);
/*!40000 ALTER TABLE `admin` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `buyers`
--

DROP TABLE IF EXISTS `buyers`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `buyers` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `email` varchar(100) default NULL,
  `created` datetime default NULL,
  `addr` varchar(200) default NULL,
  `qty` int(10) unsigned default NULL,
  `client_id` int(11) NOT NULL default '0',
  `name` varchar(45) default NULL,
  PRIMARY KEY  (`id`),
  KEY `FK_client_id_1` USING BTREE (`client_id`),
  CONSTRAINT `FK_client_info_1` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
SET character_set_client = @saved_cs_client;

--
-- Dumping data for table `buyers`
--

LOCK TABLES `buyers` WRITE;
/*!40000 ALTER TABLE `buyers` DISABLE KEYS */;
/*!40000 ALTER TABLE `buyers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `clients`
--

DROP TABLE IF EXISTS `clients`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `clients` (
  `id` int(11) NOT NULL auto_increment,
  `perm_id` int(11) default NULL,
  `active` tinyint(1) default NULL,
  `created` datetime NOT NULL default '0000-00-00 00:00:00',
  `email` varchar(255) NOT NULL default '',
  `secret` varchar(60) NOT NULL default '',
  `notes` varchar(100) default NULL,
  `chk_sig` tinyint(1) NOT NULL default '0',
  `chk_owner` tinyint(1) NOT NULL default '0',
  `chk_time` tinyint(1) NOT NULL default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `email` (`email`),
  KEY `perm_id` (`perm_id`),
  CONSTRAINT `clients_ibfk_1` FOREIGN KEY (`perm_id`) REFERENCES `perms` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
SET character_set_client = @saved_cs_client;

--
-- Dumping data for table `clients`
--

LOCK TABLES `clients` WRITE;
/*!40000 ALTER TABLE `clients` DISABLE KEYS */;
INSERT INTO `clients` VALUES (1,1,1,'2009-08-02 03:39:39','admin@localhost','0Lz+QpWO0TSy04ALmLKg3g==','Root client',0,0,1);
/*!40000 ALTER TABLE `clients` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `history`
--

DROP TABLE IF EXISTS `history`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `history` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `usrid` int(10) unsigned NOT NULL default '0',
  `note` varchar(45) NOT NULL default '',
  `ip` varchar(45) NOT NULL default '',
  `creation` datetime NOT NULL default '0000-00-00 00:00:00',
  `keyid` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `FK_hist_1` (`usrid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
SET character_set_client = @saved_cs_client;

--
-- Dumping data for table `history`
--

LOCK TABLES `history` WRITE;
/*!40000 ALTER TABLE `history` DISABLE KEYS */;
/*!40000 ALTER TABLE `history` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `perms`
--

DROP TABLE IF EXISTS `perms`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `perms` (
  `id` int(11) NOT NULL auto_increment,
  `verify_otp` tinyint(1) default '0',
  `add_clients` tinyint(1) default '0',
  `delete_clients` tinyint(1) default '0',
  `add_keys` tinyint(1) default '0',
  `delete_keys` tinyint(1) default '0',
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
SET character_set_client = @saved_cs_client;

--
-- Dumping data for table `perms`
--

LOCK TABLES `perms` WRITE;
/*!40000 ALTER TABLE `perms` DISABLE KEYS */;
INSERT INTO `perms` VALUES (1,1,1,1,1,1),(2,1,0,0,1,1),(3,1,0,0,0,0);
/*!40000 ALTER TABLE `perms` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `yubikeys`
--

DROP TABLE IF EXISTS `yubikeys`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `yubikeys` (
  `id` int(11) NOT NULL auto_increment,
  `client_id` int(11) NOT NULL default '0',
  `active` tinyint(1) default NULL,
  `created` datetime NOT NULL default '0000-00-00 00:00:00',
  `accessed` datetime default NULL,
  `tokenId` varchar(60) character set latin1 collate latin1_bin default NULL,
  `userId` varchar(60) NOT NULL default '',
  `secret` varchar(60) NOT NULL default '',
  `counter` int(11) default NULL,
  `low` int(11) default NULL,
  `high` int(11) default NULL,
  `notes` varchar(100) default NULL,
  `serial` varchar(45) default NULL,
  `sessionUse` int(11) default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `userId` (`userId`),
  UNIQUE KEY `tokenId` (`tokenId`),
  UNIQUE KEY `sn` (`serial`),
  KEY `client_id` (`client_id`),
  CONSTRAINT `yubikeys_ibfk_1` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
SET character_set_client = @saved_cs_client;

--
-- Dumping data for table `yubikeys`
--

LOCK TABLES `yubikeys` WRITE;
/*!40000 ALTER TABLE `yubikeys` DISABLE KEYS */;
INSERT INTO `yubikeys` VALUES (1,1,1,'2009-08-02 03:39:39','2009-08-02 03:39:39','hbcfLutP','jgnibvduunfv','0Lz+QpWO0TSy04ALmLKg3g==',0,0,0,'Root admin key','1',0);
/*!40000 ALTER TABLE `yubikeys` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping routines for database 'yubico'
--
DELIMITER ;;
DELIMITER ;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2009-08-06 13:09:04


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 07, 2009 9:46 am 
Offline
Yubico Team
Yubico Team

Joined: Wed Oct 01, 2008 8:11 am
Posts: 210
Thank you for providing the valuable information!

We are working on the issue and will update you soon.


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 11, 2009 4:33 pm 
Offline
Yubico Team
Yubico Team

Joined: Wed Oct 01, 2008 8:11 am
Posts: 210
We would appreciate if you can provide us some OTP from your YubiKey and the config.php file under the yubiphpbase directory.


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 12, 2009 3:58 am 
Offline

Joined: Mon Aug 03, 2009 4:42 pm
Posts: 8
some otp's

Code:
jgnibvduunfvrlnjnluethtnhcegktitjdrldebefiif
jgnibvduunfvvtdfiklvctfhkrdbnhbddlclclkhjkee
jgnibvduunfvgjencdtthgnbdljjftltldckgttfcdgg
jgnibvduunfvthejeujhkifhklndcguctllrkkfblrju
jgnibvduunfvincdducinculrjurtuegfhvvdnuvcrej
jgnibvduunfvghgjhnvfltgdtrnccduidlibhbubgihk
jgnibvduunfvleterbthrunhnfbdfuhedcjblltkgnji


and config.php from yubiphpbase

Code:
<?php
/******************************************************
 *
 *      Customize EVERY parameter for your environment
 *
 ******************************************************/

//// AES secrets
//
$aesParams = array ();



// Make up a random secret to encrypt data in DB in b64 format
$aesParams['__ENC_KEY_SECRET__'] = '0Lz+QpWO0TSy04ALmLKg3g==';

//// DB, email and web related
//
$baseParams = array ();
$baseParams['__DB_HOST__'] = 'localhost';
$baseParams['__DB_USER__'] = 'yubico';
$baseParams['__DB_PW__'] = 'yubico';
$baseParams['__DB_NAME__'] = 'yubico';

// Eg. $baseParams['__ROOT_EMAIL__'] = 'support@yubico.com';
$baseParams['__ROOT_EMAIL__'] = 'admin@localhost';

$baseParams['__ORDER_URL__'] = 'http://yubico.com/products/order/';
$baseParams['__DOMAIN__'] = 'localhost';

// Eg. $baseParams['__DOC_ROOT__'] = '/apache/htdocs/'
$baseParams['__DOC_ROOT__'] = '/var/www/html/';

//// Validation server
//

$valParams = array ();
$valParams['__VAL_URL__'] = 'http://localhost/wsapi/verify.php?id=';

//// HTML related
//
$headParams = array ();
$headParams['__SHORTCUT_ICON_URL__'] = 'http://localhost/kms/images/favicon.ico';

//// KMS admin activation welcome letter
//
$letterParams = array ();
$letterParams['__KMS_URL__'] = 'http://localhost/kms';

?>


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB® Forum Software © phpBB Group