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

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

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=5&amp;t=2799</id>
<entry>
<author><name><![CDATA[patrickherber]]></name></author>
<updated>2017-12-07T09:34:51+01:00</updated>
<published>2017-12-07T09:34:51+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2799&amp;p=10048#p10048</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2799&amp;p=10048#p10048"/>
<title type="html"><![CDATA[Re: [SOLVED] ErrorCode 1 trying to perform device registrati]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2799&amp;p=10048#p10048"><![CDATA[
Thanks to the support of the Yubico team I could solve this problem:<br /><br />Debugging the class BouncyCastleCrypto I could find out the source of the problem. The following exception was thrown at the line &quot;ecdsaSignature.initVerify(publicKey);&quot;:<br /><br />java.security.InvalidKeyException: No installed provider supports this key: org.bouncycastle.jce.provider.JCEECPublicKey<br /><br />The source of it was a conflict in the version of BouncyCastle used inside the application (we had a dependent library which depended on an older version of BC). Fixing the dependencies solved the problem.<br /><br />Thanks a lot for your precious help and best regards.<br />Patrick<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=5003">patrickherber</a> — Thu Dec 07, 2017 9:34 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[patrickherber]]></name></author>
<updated>2017-12-05T16:50:15+01:00</updated>
<published>2017-12-05T16:50:15+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2799&amp;p=10045#p10045</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2799&amp;p=10045#p10045"/>
<title type="html"><![CDATA[Re: [QUESTION] ErrorCode 1 trying to perform device registra]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2799&amp;p=10045#p10045"><![CDATA[
Hello, <br />the problem I had yesterday was probably related to my Ubuntu PC.<br />I've tried now using a MacOS and it works fine.<br />However when I try to register in my application (where for the moment I've simply used the sample code provided in your example) I get a &quot;Bad signature&quot; error message during the finishRegistration method:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">com.yubico.u2f.exceptions.U2fBadInputException: Bad signature<br />   at com.yubico.u2f.crypto.BouncyCastleCrypto.checkSignature(BouncyCastleCrypto.java:45)<br />   at com.yubico.u2f.crypto.BouncyCastleCrypto.checkSignature(BouncyCastleCrypto.java:31)<br />   at com.yubico.u2f.data.messages.key.RawRegisterResponse.checkSignature(RawRegisterResponse.java:97)<br />   at com.yubico.u2f.U2fPrimitives.finishRegistration(U2fPrimitives.java:89)<br />   at com.yubico.u2f.U2F.finishRegistration(U2F.java:81)<br />   at com.yubico.u2f.U2F.finishRegistration(U2F.java:67)<br />   at U2FManager.finishRegistration(U2FManager.java:82)<br /></div><br /><br />The RegisterResponse and RegisterRequestData seem correct...<br /><br />What could be the cause of this problem?<br /><br />Thanks and best regards<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=5003">patrickherber</a> — Tue Dec 05, 2017 4:50 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[patrickherber]]></name></author>
<updated>2017-12-04T14:27:41+01:00</updated>
<published>2017-12-04T14:27:41+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2799&amp;p=10042#p10042</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2799&amp;p=10042#p10042"/>
<title type="html"><![CDATA[[QUESTION] ErrorCode 1 trying to perform device registration]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2799&amp;p=10042#p10042"><![CDATA[
Hello<br />I'm trying to integrate U2F authentication in our web application using the sample code you provide. <br />Both on our application than with your u2flib-server-demo application when I try to perform a registration I get following error message:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">{&quot;errorCode&quot;:1,&quot;errorMessage&quot;:&quot;device status code: -200&quot;}<br /></div><br /><br />What could be its reason?<br /><br />I'm performing the tests on Ubuntu 14.04 using Chrome version 63.0.3239.59 and a Yubikey NEO<br /><br />Thanks a lot for your support and best regards<br /><br />Patrick<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=5003">patrickherber</a> — Mon Dec 04, 2017 2:27 pm</p><hr />
]]></content>
</entry>
</feed>