<?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=842" />

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

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=5&amp;t=842</id>
<entry>
<author><name><![CDATA[Tom2]]></name></author>
<updated>2014-12-22T09:54:01+01:00</updated>
<published>2014-12-22T09:54:01+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=842&amp;p=6603#p6603</id>
<link href="https://forum.yubico.com/viewtopic.php?t=842&amp;p=6603#p6603"/>
<title type="html"><![CDATA[Re: Yubikey SSH ykclient issue 106]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=842&amp;p=6603#p6603"><![CDATA[
Thanks, this is interesting.<br /><br />Tom<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3364">Tom2</a> — Mon Dec 22, 2014 9:54 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[multiOTP]]></name></author>
<updated>2014-12-20T03:52:22+01:00</updated>
<published>2014-12-20T03:52:22+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=842&amp;p=6594#p6594</id>
<link href="https://forum.yubico.com/viewtopic.php?t=842&amp;p=6594#p6594"/>
<title type="html"><![CDATA[Re: Yubikey SSH ykclient issue 106]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=842&amp;p=6594#p6594"><![CDATA[
<div class="quotetitle">fozzy wrote:</div><div class="quotecontent"><br />Would you mind documenting how you've setup your raspberrypi for yubikey authentication.<br /><br />Taking it a step further, a raspberrypi port of the yubiradius server would be excellent for a home authentication server.<br /></div><br /><br />Hello, I've published an optimized Raspberry Pi binary image of multiOTP open source, a strong authentication RADIUS server with a simple web GUI that supports Yubikeys and also OATH-HOTP and OATH-TOTP hardware or software tokens. <strong>multi<em>OTP</em> open source</strong> is based on our open source PHP library.<br /><br />You can have a look here: <a href="http://www.multiotp.net/" class="postlink">http://www.multiotp.net/</a><br /><br />And the direct download of the Raspberry Pi image is here: <a href="http://download.multiotp.net/raspberry/" class="postlink">http://download.multiotp.net/raspberry/</a><br /><br />Best regards,<br /><br />Andre Liechti<br />Project leader of <strong>multi<em>OTP</em> open source</strong><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3398">multiOTP</a> — Sat Dec 20, 2014 3:52 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[fozzy]]></name></author>
<updated>2013-05-01T13:37:13+01:00</updated>
<published>2013-05-01T13:37:13+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=842&amp;p=3932#p3932</id>
<link href="https://forum.yubico.com/viewtopic.php?t=842&amp;p=3932#p3932"/>
<title type="html"><![CDATA[Re: Yubikey SSH ykclient issue 106]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=842&amp;p=3932#p3932"><![CDATA[
Would you mind documenting how you've setup your raspberrypi for yubikey authentication.<br /><br />Taking it a step further, a raspberrypi port of the yubiradius server would be excellent for a home authentication server.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2172">fozzy</a> — Wed May 01, 2013 1:37 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[yann]]></name></author>
<updated>2012-08-06T15:37:27+01:00</updated>
<published>2012-08-06T15:37:27+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=842&amp;p=3200#p3200</id>
<link href="https://forum.yubico.com/viewtopic.php?t=842&amp;p=3200#p3200"/>
<title type="html"><![CDATA[Re: Yubikey SSH ykclient issue 106]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=842&amp;p=3200#p3200"><![CDATA[
<div class="quotetitle">Klas-at-Yubico wrote:</div><div class="quotecontent"><br />Hello again,<br /><br />I've now pushed a possible fix (<!-- m --><a class="postlink" href="https://github.com/Yubico/yubico-c-client/commit/6fcc3d49d1d9b733c5bd04e4e60d400ed97cda40">https://github.com/Yubico/yubico-c-clie ... 0ed97cda40</a><!-- m -->) for this issue to github, with this fix my emulated ARM machine works as it should.<br /><br />Thanks for taking the time to report this issue!<br /><br />/klas<br /></div><br /><br />[EDIT]:<br />Wow! Thanks alot!!! Saved my day! No thanks, thank you ;-0<br />I hereby confirm that SSH-yubikey two-factor authentication is grand on an Rasperry Pi. (ARM)<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2115">yann</a> — Mon Aug 06, 2012 3:37 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Klas]]></name></author>
<updated>2012-08-06T14:06:01+01:00</updated>
<published>2012-08-06T14:06:01+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=842&amp;p=3199#p3199</id>
<link href="https://forum.yubico.com/viewtopic.php?t=842&amp;p=3199#p3199"/>
<title type="html"><![CDATA[Re: Yubikey SSH ykclient issue 106]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=842&amp;p=3199#p3199"><![CDATA[
Hello again,<br /><br />I've now pushed a possible fix (<!-- m --><a class="postlink" href="https://github.com/Yubico/yubico-c-client/commit/6fcc3d49d1d9b733c5bd04e4e60d400ed97cda40">https://github.com/Yubico/yubico-c-clie ... 0ed97cda40</a><!-- m -->) for this issue to github, with this fix my emulated ARM machine works as it should.<br /><br />Thanks for taking the time to report this issue!<br /><br />/klas<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2019">Klas</a> — Mon Aug 06, 2012 2:06 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Klas]]></name></author>
<updated>2012-08-06T13:15:11+01:00</updated>
<published>2012-08-06T13:15:11+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=842&amp;p=3198#p3198</id>
<link href="https://forum.yubico.com/viewtopic.php?t=842&amp;p=3198#p3198"/>
<title type="html"><![CDATA[Re: Yubikey SSH ykclient issue 106]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=842&amp;p=3198#p3198"><![CDATA[
You seem to be quite correct. I've started up an emulated ARM machine and I run into signature problems, something is buggy with the request signing on ARM. I'm working on finding and fixing it.<br /><br />/klas<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2019">Klas</a> — Mon Aug 06, 2012 1:15 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[yann]]></name></author>
<updated>2012-08-06T09:37:05+01:00</updated>
<published>2012-08-06T09:37:05+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=842&amp;p=3197#p3197</id>
<link href="https://forum.yubico.com/viewtopic.php?t=842&amp;p=3197#p3197"/>
<title type="html"><![CDATA[Re: Yubikey SSH ykclient issue 106]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=842&amp;p=3197#p3197"><![CDATA[
<div class="quotetitle">Klas-at-Yubico wrote:</div><div class="quotecontent"><br />Hello,<br /><br />The BAD_SERVER_SIGNATURE error is returned from the client when the signature on the server response doesn't match with the api-key inputted. Verify that the you've inputted the correct key from <!-- m --><a class="postlink" href="https://upgrade.yubico.com/getapikey/">https://upgrade.yubico.com/getapikey/</a><!-- m --><br /><br />/klas<br /></div><br /><br />Yeah, did that. Still get BAD_SERVER_SIGNATURE (even though I tried a few api keys, and waited a time).<br />Now when I issue ykclient --apikey KEY ID OTP, it gives me the 106 BAD_SERVER_SIGNATURE error.<br /><br />[EDIT]:<br /><br />I reinstalled everything, and I stil get the 106 error.<br />Also, I noticed that I have multiple versions of libusb. Is this normal?<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">user@test:~$ dpkg -l | grep yu<br />ii  libkeyutils1                      1.4-1                           Linux Key Management Utilities (library)<br />rc  libyubikey0                       1.5-1                           Yubikey OTP handling library runtime<br />user@test:~$ dpkg -l | grep liby<br />ii  libyaml-perl                      0.71-1                          YAML Ain't Markup Language<br />ii  libyaml-syck-perl                 1.12-1                          Perl module providing a fast, lightweight YAML loader and dumper<br />ii  libykclient-dev                   2.3-3                           Yubikey client library development files<br />ii  libykclient3                      2.3-3                           Yubikey client library runtime<br />rc  libyubikey0                       1.5-1                           Yubikey OTP handling library runtime<br />user@test:~$ dpkg -l | grep libusb<br />ri  libusb-0.1-4                      2:0.1.12-16                     userspace USB programming library<br />ri  libusb-1.0-0                      2:1.0.8-2                       userspace USB programming library<br />ii  libusb-1.0-0-dev                  2:1.0.8-2                       userspace USB programming library development files<br />ii  libusb-dev                        2:0.1.12-16                     userspace USB programming library development files<br />rc  libusbmuxd1                       1.0.4-1                         USB multiplexor daemon for iPhone and iPod Touch devices - library<br /></div><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2115">yann</a> — Mon Aug 06, 2012 9:37 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Klas]]></name></author>
<updated>2012-08-06T08:53:20+01:00</updated>
<published>2012-08-06T08:53:20+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=842&amp;p=3195#p3195</id>
<link href="https://forum.yubico.com/viewtopic.php?t=842&amp;p=3195#p3195"/>
<title type="html"><![CDATA[Re: Yubikey SSH ykclient issue 106]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=842&amp;p=3195#p3195"><![CDATA[
Hello,<br /><br />The BAD_SERVER_SIGNATURE error is returned from the client when the signature on the server response doesn't match with the api-key inputted. Verify that the you've inputted the correct key from <!-- m --><a class="postlink" href="https://upgrade.yubico.com/getapikey/">https://upgrade.yubico.com/getapikey/</a><!-- m --><br /><br />/klas<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2019">Klas</a> — Mon Aug 06, 2012 8:53 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[yann]]></name></author>
<updated>2012-08-05T13:05:33+01:00</updated>
<published>2012-08-05T13:05:33+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=842&amp;p=3192#p3192</id>
<link href="https://forum.yubico.com/viewtopic.php?t=842&amp;p=3192#p3192"/>
<title type="html"><![CDATA[Yubikey SSH ykclient issue 106]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=842&amp;p=3192#p3192"><![CDATA[
Dear Yubico-forum users,<br /> <br />I recently bought an yubikey, and trying to set it up with ssh (two factor authentication). <br />Going through all the steps from the Hak5 video, plus a lot of forums, github wiki's and google code groups, I still can't get it to work. (It's making me not sleep).<br /> <br />Some details:<br />(Yeah, the server is an raspberry pi)<br /> <br />Operating System: Linux 3.2.20-rpi1+ #5 Sun Jun 17 15:59:27 BST 2012 armv6l GNU/Linux<br /> <br />Versions:<br /> <br />Libykclient-dev  2.3-3<br />Libykclient3         2.3-3<br />Libkeyutils1         1.4-1<br />Libyubikey0         1.5-1<br /> <br />yubico-c-client                      ==&gt; latest pull from github<br />yubikey-personalization ==&gt; latest pull from github<br />yubico-pam                            ==&gt; latest pull from github<br /> <br /> <br /><br />Hereby I want to ask what is the solution to this error code:<br /> <br /> <br /> <br />&lt;--snip--&gt;<br /> <br /> <br />[pam_yubico.c:pam_sm_authenticate(901)] conv returned 55 bytes<br />[pam_yubico.c:pam_sm_authenticate(919)] Skipping first 11 bytes. Length is 55, token_id set to 12 and token OTP always 32.<br />[pam_yubico.c:pam_sm_authenticate(926)] OTP: xxxx ID: xxxx<br />[pam_yubico.c:pam_sm_authenticate(941)] Extracted a probable system password entered before the OTP - setting item PAM_AUTHTOK<br />[pam_yubico.c:pam_sm_authenticate(957)] ykclient return value (106): Server response signature was invalid (BAD_SERVER_SIGNATURE)<br />[pam_yubico.c:pam_sm_authenticate(997)] done. [Authentication service cannot retrieve authentication info]<br /> <br /> <br /> <br /> <br />&lt;/--snip--&gt;<br /> <br />I can only login to ssh with the yubikey, if I put 'sufficient' instead of 'required' in /etc/pam.d/sshd. <br />However, making auth sufficient, it isn't two factor authentication anymore.<br /> <br />[/etc/pam.d/sshd] <br />&lt;--snip--&gt;<br />auth required pam_yubico.so id=xxxx key=xxxxx= debug<br />&lt;/--snip--&gt;<br /> <br />Now the ssh server is only requesting the password, whereby I can login over ssh (without yubikey, even though all the configuration options are set).<br />I am using the YubiCloud to verify the key. (default)<br />When I try to authenticate, to the default yubico servers, using ykclient only it is successful.<br /><br />When making yubikey-personalization, I also get the following warning:<br /><br /><br />ykpersonalize.c:69: warning: initialization makes integer from pointer without a cast<br /><br /><br /><br />Thanks in advance.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2115">yann</a> — Sun Aug 05, 2012 1:05 pm</p><hr />
]]></content>
</entry>
</feed>