<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=5&amp;t=1655" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2014-12-24T16:46:53+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=5&amp;t=1655</id>
<entry>
<author><name><![CDATA[gpr]]></name></author>
<updated>2014-12-24T16:46:53+01:00</updated>
<published>2014-12-24T16:46:53+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1655&amp;p=6620#p6620</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1655&amp;p=6620#p6620"/>
<title type="html"><![CDATA[[SOLVED] Generate KSM-KEY]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1655&amp;p=6620#p6620"><![CDATA[
Ok found the problem.<br /><br />Edit /home/val/.bashrc to add :<br /><br />export GPG_TTY=tty<br />export PINENTRY_USER_DATA=&quot;USE_CURSES=1&quot;<br /><br />Edit /home/val/.gnupg/gpg.conf tu uncomment :<br /><br />default-key xxxxxxx<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3369">gpr</a> — Wed Dec 24, 2014 4:46 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[gpr]]></name></author>
<updated>2014-12-24T10:50:52+01:00</updated>
<published>2014-12-24T10:50:52+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1655&amp;p=6617#p6617</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1655&amp;p=6617#p6617"/>
<title type="html"><![CDATA[Re: Generate KSM-KEY]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1655&amp;p=6617#p6617"><![CDATA[
Hi,<br /><br />All is OK now.<br />Problem was with path defined...<br />Copy files from /etc/yubico/ksm to /etc/yubico/val and fix rights and owner solved problem I think..<br /><br />I created KMS Key.<br />Now, problem is with Keys generation...<br /><br />./ykksm-gen-keys 1 5 | gpg -a --encrypt -r C6186423 &gt; /home/val/KSMkeys.txt<br />gpg: can't open `/home/val/.gnupg/pubring.gpg'<br />gpg: keydb_search failed: file open error<br />gpg: C6186423: skipped: file open error<br />gpg: [stdin]: encryption failed: file open error<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3369">gpr</a> — Wed Dec 24, 2014 10:50 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[gpr]]></name></author>
<updated>2014-12-23T17:39:41+01:00</updated>
<published>2014-12-23T17:39:41+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1655&amp;p=6615#p6615</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1655&amp;p=6615#p6615"/>
<title type="html"><![CDATA[Re: Generate KSM-KEY]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1655&amp;p=6615#p6615"><![CDATA[
Hi,<br /><br />Permissions seems to be OK.<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">/usr/share/yubikey-ksm$ ls -l<br />total 12<br />-rwx------ 1 www-data root 4557 nov.  13 16:57 ykksm-decrypt.php<br />-rw-r----- 1 root     root 2428 nov.  13 16:57 ykksm-utils.php</div><br /><br /><br />For ykksm-config.php, I have it in the two directory :<br />- /etc/yubico/ksm/<br />- /etc/yubico/val/<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3369">gpr</a> — Tue Dec 23, 2014 5:39 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Tom2]]></name></author>
<updated>2014-12-22T10:17:55+01:00</updated>
<published>2014-12-22T10:17:55+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1655&amp;p=6606#p6606</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1655&amp;p=6606#p6606"/>
<title type="html"><![CDATA[Re: Generate KSM-KEY]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1655&amp;p=6606#p6606"><![CDATA[
check permission and sym-links are pointing correctly<br /><br />also why ykksm-config.php is not in /ksm subfolder ? <br />/etc/yubico/ksm/ykksm-config.php<br /><br />you have it ykval<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3364">Tom2</a> — Mon Dec 22, 2014 10:17 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[gpr]]></name></author>
<updated>2014-12-19T15:22:45+01:00</updated>
<published>2014-12-19T15:22:45+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1655&amp;p=6585#p6585</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1655&amp;p=6585#p6585"/>
<title type="html"><![CDATA[Re: Generate KSM-KEY]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1655&amp;p=6585#p6585"><![CDATA[
Hi,<br /><br />thanks a lot for your response.<br />For the fisrt problem, roger, i'm on a VM.<br />Now, I have a KSM Key.<br /><br />So now, just the problem to decrypt the key.<br />Seems to be a problem with access rights or file missing... strange because I followed the doc step by step...<br />Maybe because I installed Yubikey Validation Server and KSM on same server...<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">/var/log/apache2$ tail ykval-error.log<br /><br />&#91;Fri Dec 19 14:07:21 2014&#93; &#91;error&#93; &#91;client 46.x.x.x&#93; PHP Warning:  require_once(/etc/yubico/val/ykksm-config.php): failed to open stream: Permission denied in /usr/share/yubikey-ksm/ykksm-decrypt.php on line 31<br />&#91;Fri Dec 19 14:07:21 2014&#93; &#91;error&#93; &#91;client 46.x.x.x&#93; PHP Fatal error:  require_once(): Failed opening required 'ykksm-config.php' (include_path='.:/etc/yubico/val:/usr/share/yubikey-val') in /usr/share/yubikey-ksm/ykksm-decrypt.php on line 31</div><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3369">gpr</a> — Fri Dec 19, 2014 3:22 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Tom2]]></name></author>
<updated>2014-12-12T14:43:13+01:00</updated>
<published>2014-12-12T14:43:13+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1655&amp;p=6495#p6495</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1655&amp;p=6495#p6495"/>
<title type="html"><![CDATA[Re: Generate KSM-KEY]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1655&amp;p=6495#p6495"><![CDATA[
The random byte message it is probably because you are on a virtual machine.<br /><br />The first error, sounds like some php error what is in the error log?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3364">Tom2</a> — Fri Dec 12, 2014 2:43 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[gpr]]></name></author>
<updated>2014-12-10T16:33:22+01:00</updated>
<published>2014-12-10T16:33:22+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1655&amp;p=6487#p6487</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1655&amp;p=6487#p6487"/>
<title type="html"><![CDATA[Generate KSM-KEY]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1655&amp;p=6487#p6487"><![CDATA[
Hi,<br /><br />I have a problem with KSM.<br />I installed and configured Yubikey Validation Server.<br />Test seems to be Ok, bacause when I go to <!-- m --><a class="postlink" href="http://yubico.mydomain.net/wsapi/verify">http://yubico.mydomain.net/wsapi/verify</a><!-- m -->, answer is :<br />h=JC1clA/JHRc6O4RSBGKyo7Cm5AU=<br />t=2014-12-10T08:28:35Z0097<br />status=MISSING_PARAMETER<br /><br />Now i want to install KSM, but it doesn't work...<br />When I test to go to <!-- m --><a class="postlink" href="http://yubico.mydomain.net/wsapi/decrypt?otp=sdqsdqsdsdqsd3Cwvfdgfgdfd">http://yubico.mydomain.net/wsapi/decryp ... wvfdgfgdfd</a><!-- m -->, <strong>answer is a white page... no message displayed</strong><br /><br />Do you have any idea ? I tested on same server that Validation Server, and on an other server, same result...<br /><br />Other problem, I tested to generate KSM key, using this doc : <!-- m --><a class="postlink" href="https://github.com/Yubico/yubikey-ksm/blob/master/doc/Generate_KSM_Key.adoc">https://github.com/Yubico/yubikey-ksm/b ... M_Key.adoc</a><!-- m --><br />Impossible to generate KSM Key... error message :<br /><br />We need to generate a lot of random bytes. It is a good idea to perform<br />some other action (type on the keyboard, move the mouse, utilize the<br />disks) during the prime generation; this gives the random number<br />generator a better chance to gain enough entropy.<br /><br /><strong>There is not enough random bytes availables....</strong><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3369">gpr</a> — Wed Dec 10, 2014 4:33 pm</p><hr />
]]></content>
</entry>
</feed>