Yubico Forum
https://forum.yubico.com/

How do I import keys from YMS to yk-val and yk-ksm?
https://forum.yubico.com/viewtopic.php?f=5&t=343
Page 1 of 1

Author:  rancor [ Sun Jun 28, 2009 12:21 pm ]
Post subject:  How do I import keys from YMS to yk-val and yk-ksm?

Hi.

If I creates an admin key in YMS and are using install.php to put all data in yubico database. How do I move the key to yk-val and yk-ksm so I can log in to the YMS and add more keys?

Best regards Johan Ryberg
Bokadoktorn i Sverige AB

Author:  network-marvels [ Mon Jun 29, 2009 1:24 pm ]
Post subject:  Re: How do I import keys from YMS to yk-val and yk-ksm?

We need to add the AES keys to the YK-KSM database for OTP validation, but the install.php script will add the YubiKey record to the YK-VAL database.

We can enter the YubiKey records into the YK-KSM database using the "ykksm-import.pl" script. For more information, please visit the following link:

http://code.google.com/p/yubikey-ksm/wi ... tKeysToKSM

We hope this helps !

Author:  rancor [ Tue Jun 30, 2009 7:43 pm ]
Post subject:  Re: How do I import keys from YMS to yk-val and yk-ksm?

network-marvels wrote:
We need to add the AES keys to the YK-KSM database for OTP validation, but the install.php script will add the YubiKey record to the YK-VAL database.

We can enter the YubiKey records into the YK-KSM database using the "ykksm-import.pl" script. For more information, please visit the following link:

http://code.google.com/p/yubikey-ksm/wi ... tKeysToKSM

We hope this helps !


The only information I have from my key are:
Yubikey id: <12 char>
Secret ID: <12 char>
AES key: <the key>

How do I match this with "serialNr,publicName,internalName,aesKey,lockCode,created,accessed"?

publicName = Yubikey id?
internaName = Secret ID?
aesKey = AES key?

What is lockCode then?

Best regards Johan

Author:  rancor [ Fri Jul 03, 2009 10:35 pm ]
Post subject:  Re: How do I import keys from YMS to yk-val and yk-ksm?

I managed to get it to work but I still got some questions.

1. Do I need to add anything manually in ykval or is it automatic altered by the the script?
2. I need to add all keys in ykksm right? Then, are the following cells used:
- serialNr, lockCode, hardware, creator? What data is expected to be here?

Regards Johan Ryberg aka rancor

Author:  rancor [ Fri Jul 03, 2009 10:45 pm ]
Post subject:  Re: How do I import keys from YMS to yk-val and yk-ksm?

I found this page: https://wiki.duckcorp.org/YubikeyHelp

Maybe Yubico should use that page and add this to the help/wiki because this was exactly the info I think was missing and obvious I was not alone since someone has written it.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/