<?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=33&amp;t=2688" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2017-08-16T07:42:55+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=33&amp;t=2688</id>
<entry>
<author><name><![CDATA[lsanil]]></name></author>
<updated>2017-08-16T07:42:16+01:00</updated>
<published>2017-08-16T07:42:16+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2688&amp;p=9709#p9709</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2688&amp;p=9709#p9709"/>
<title type="html"><![CDATA[Re: Preventing duplicate key registrations]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2688&amp;p=9709#p9709"><![CDATA[
I did not understand the reason for registered key array in u2f.register api. Makes total sense now.<br />Thanks for the pointers! Great info.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4870">lsanil</a> — Wed Aug 16, 2017 7:42 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[dain]]></name></author>
<updated>2017-08-14T09:21:00+01:00</updated>
<published>2017-08-14T09:21:00+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2688&amp;p=9706#p9706</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2688&amp;p=9706#p9706"/>
<title type="html"><![CDATA[Re: Preventing duplicate key registrations]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2688&amp;p=9706#p9706"><![CDATA[
<div class="quotetitle">lsanil wrote:</div><div class="quotecontent"><br />Is is true to that for a given YubiKey model, they have same attestation cert?<br /></div><br />No, that is incorrect. The attestation certificate is unique per batch, not per model. In practice this means that 2 devices of the same model may have the same certificate, but not necessarily so. It's also possible that a batch spans multiple firmware versions, so it's possible for two devices with different versions to have the same certificate.<br /><br /><div class="quotetitle">lsanil wrote:</div><div class="quotecontent"><br />Is there a way to detect duplicate registration from the same key?<br /></div><br />Yes, this is part of the U2F specification. Assuming you're using the latest high level JS api, the call to u2f.register() takes a list of &quot;RegisteredKey&quot; objects, where each entry represents an already registered U2F device. The purpose if this is exactly to avoid the problem you've stated of registering the same device multiple times. Each &quot;RegisteredKey&quot; contains an existing keyHandle used to check if the device is already registered. See the JS API specification for more exact details: <a href="https://fidoalliance.org/specs/fido-u2f-v1.2-ps-20170411/fido-u2f-javascript-api-v1.2-ps-20170411.html" class="postlink">https://fidoalliance.org/specs/fido-u2f-v1.2-ps-20170411/fido-u2f-javascript-api-v1.2-ps-20170411.html</a><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=504">dain</a> — Mon Aug 14, 2017 9:21 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[lsanil]]></name></author>
<updated>2017-08-16T07:42:55+01:00</updated>
<published>2017-08-13T11:19:12+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2688&amp;p=9705#p9705</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2688&amp;p=9705#p9705"/>
<title type="html"><![CDATA[[Solved] Preventing duplicate key registrations]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2688&amp;p=9705#p9705"><![CDATA[
I am integrating U2F into our application and trying to standardize on YubiKeys for U2F. Initial tests results look great. Some of our users are not tech savvy. There are use cases where some advanced users can have more than 1 Yubi key. Given this requirement, is it possible to prevent duplicate registration from the same key?<br /><br />I have two Yubi keys for testing and I see that both of them have same serial number and subject on attestation cert. Is it possible to prevent same YubiKey registered twice for same app id? Reading on the Internet, I get the impression that it is not possible to detect duplicate keys as it provides ability to track users to a key. <br /><br />Here are my questions<br /> Is is true to that for a given YubiKey model, they have same attestation cert?<br /> Is there a way to detect duplicate registration from the same key?<br /><br />Thanks in advance!<br />Anil<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4870">lsanil</a> — Sun Aug 13, 2017 11:19 am</p><hr />
]]></content>
</entry>
</feed>