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

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

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=26&amp;t=1303</id>
<entry>
<author><name><![CDATA[hazza]]></name></author>
<updated>2014-11-09T15:12:07+01:00</updated>
<published>2014-11-09T15:12:07+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1303&amp;p=6158#p6158</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=6158#p6158"/>
<title type="html"><![CDATA[Re: Larger key size in Yubikey NEO (OpenPGP Card)]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=6158#p6158"><![CDATA[
Just a heads-up that <a href="http://lists.gnupg.org/pipermail/gnupg-announce/2014q4/000358.html" class="postlink">GnuPG 2.1.0 has now been released</a> as the 'modern' branch.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3172">hazza</a> — Sun Nov 09, 2014 3:12 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[air]]></name></author>
<updated>2014-06-18T14:51:09+01:00</updated>
<published>2014-06-18T14:51:09+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1303&amp;p=5346#p5346</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=5346#p5346"/>
<title type="html"><![CDATA[Re: Larger key size in Yubikey NEO (OpenPGP Card)]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=5346#p5346"><![CDATA[
For OpenPGP I see there is a proposed standard for ECC, RFC 6637, but it is only a proposed standard at this stage. GPG 2.1, which is still in beta after ~3 years, has ECC, but you need to go into expert mode.<br /><br />GPG has support for the curves based on OIDs so Brainpool curves, etc., can be used (all parties would need support of course).<br /><br />Ah that makes sense. I saw it was only a couple of hours (at the time), but saw that it had earlier commits, these must have been from when it was private.<br /><br />I will investigate OpenPGP and OpenSC further. Perhaps with the help from GPG's ECC code and ykneo-curves code it will be possible to add ECC support to the OpenPGP applet.<br /><br />Thanks for the help Klas.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2675">air</a> — Wed Jun 18, 2014 2:51 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Klas]]></name></author>
<updated>2014-06-18T13:10:58+01:00</updated>
<published>2014-06-18T13:10:58+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1303&amp;p=5343#p5343</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=5343#p5343"/>
<title type="html"><![CDATA[Re: Larger key size in Yubikey NEO (OpenPGP Card)]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=5343#p5343"><![CDATA[
Hard to be aware of it, it's been internal until this morning. It should only be viewed as a demonstrator/test for different ecc curves, nothing to be used as is. With that said though, it stores the keys it generates, one key per curve.<br /><br />The openpgp applet might be possible to use for pkcs11 through opensc, though I haven't tried it and it might require some work. Apart from that the only thing Yubico has for pkcs11 is the PIV applet, which as you noted is proprietary and only available as is on shipped Neos.<br /><br />The problem with adding other curves to the PIV applet is that no supporting software would work with those curves, everything would have to be modified to know about them. Windows wouldn't recognize the algorithm used, OpenSC wouldn't recognize it without patches, etc.<br /><br />/klas<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2019">Klas</a> — Wed Jun 18, 2014 1:10 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[air]]></name></author>
<updated>2014-06-18T12:20:33+01:00</updated>
<published>2014-06-18T12:20:33+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1303&amp;p=5342#p5342</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=5342#p5342"/>
<title type="html"><![CDATA[Re: Larger key size in Yubikey NEO (OpenPGP Card)]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=5342#p5342"><![CDATA[
Thanks Klas, I wasn't aware of the ykneo-curves applet. I will check it out.<br />Does it store the private key or is it only used at run-time?<br /><br />Is there any other PKCS#11 applets besides the PIV applet? I ask because my only reason for using PIV is to gain PKCS#11 support, but the PIV applet appears to be proprietary, since we are not able to perform upgrades of it. I want to be able to use 320-bit ECC, even if it doesn't conform to the PIV standard, such as by using the brainpoolp320r1 curve.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2675">air</a> — Wed Jun 18, 2014 12:20 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Klas]]></name></author>
<updated>2014-06-18T09:34:24+01:00</updated>
<published>2014-06-18T09:34:24+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1303&amp;p=5341#p5341</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=5341#p5341"/>
<title type="html"><![CDATA[Re: Larger key size in Yubikey NEO (OpenPGP Card)]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=5341#p5341"><![CDATA[
and as a follow-up, we've published the test applet for those curves at: <!-- m --><a class="postlink" href="https://github.com/Yubico/ykneo-curves">https://github.com/Yubico/ykneo-curves</a><!-- m --><br /><br />pull requests with more curves are ofcourse welcome.<br /><br />/klas<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2019">Klas</a> — Wed Jun 18, 2014 9:34 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Klas]]></name></author>
<updated>2014-06-18T08:55:54+01:00</updated>
<published>2014-06-18T08:55:54+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1303&amp;p=5340#p5340</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=5340#p5340"/>
<title type="html"><![CDATA[Re: Larger key size in Yubikey NEO (OpenPGP Card)]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=5340#p5340"><![CDATA[
Hello,<br /><br />For the openpgp applet we've held off on ecc support since there is no spec and gnupg 2.1 is still so much in flux. When there is stable software supporting smartcard with ecc there we plan to revisit this.<br /><br />For PIV only two ecc curves are defined secp256r1 and secp384r1, of those only secp256r1 can run in the Neo (since it only support curves up to 320 bit). So implementing other curves here would break with the spec and supporting software..<br /><br />In experiments we've run a couple of other curves:<br />brainpoolp256r1<br />brainpoolp256t1<br />brainpoolp320r1<br />gost2001<br />secp256k1<br />secp256r1<br />frp256v1<br /><br />other curves might work as well, though not tested by us.<br /><br />/klas<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2019">Klas</a> — Wed Jun 18, 2014 8:55 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[air]]></name></author>
<updated>2014-06-18T08:28:29+01:00</updated>
<published>2014-06-18T08:28:29+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1303&amp;p=5339#p5339</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=5339#p5339"/>
<title type="html"><![CDATA[Re: Larger key size in Yubikey NEO (OpenPGP Card)]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=5339#p5339"><![CDATA[
The OpenPGP applet doesn't have ECC support, let alone for 320-bit keys.<br /><br />The PIV applet depending on which version you have might support ECC, but only 256-bit keys. Not 320-bit keys. When will a PIV applet or similar be available that can use 320-bit ECC keys (PKCS#11/X.509)?<br /><br />Is it possible to use secp256k1 curve or other 256-bit curves rather than the secp256r1 curve which is rumored to be backdoored by the NSA?<br /><br />Similarly is it possible to use Koblitz or other curves at key-sizes greater than 256-bits (up to 320-bits) such as K-283, brainpoolP320r1, or brainpoolP320t1? Would the hardware support these and it's just a matter of the software (applets) to implement/use them?<br /><br />I believe RSA2048, which is equivalent to 112-bit symmetric key, and ECC P-256, which is equivalent to 128-bit symmetric key, may be insufficient for some uses. For example the US Government requires key-lengths of 192 or greater for highly sensitive data. I guess this is not a requirement for most YubiKey users nor a goal of Yubico, but it would be nice to have on-par security especially if the hardware supports it and it's just a software development issue. It could also be a boon to Yubico to sell into government areas, all though this will probably need improvements in other areas as well, such as tamper-resistance.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2675">air</a> — Wed Jun 18, 2014 8:28 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ppc]]></name></author>
<updated>2014-02-13T21:37:36+01:00</updated>
<published>2014-02-13T21:37:36+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1303&amp;p=4936#p4936</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=4936#p4936"/>
<title type="html"><![CDATA[Re: Larger key size in Yubikey NEO (OpenPGP Card)]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=4936#p4936"><![CDATA[
Thanks for clearing that up. (I'm sorry for muddying the waters; I was working off of what the NXP TagInfo app reported.)<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2785">ppc</a> — Thu Feb 13, 2014 9:37 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Klas]]></name></author>
<updated>2014-02-13T20:28:37+01:00</updated>
<published>2014-02-13T20:28:37+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1303&amp;p=4935#p4935</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=4935#p4935"/>
<title type="html"><![CDATA[Re: Larger key size in Yubikey NEO (OpenPGP Card)]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=4935#p4935"><![CDATA[
Hello,<br /><br />Just to clear the confusion, it's based on the a700x chip from nxp (<!-- m --><a class="postlink" href="http://www.nxp.com/products/identification_and_security/authentication/series/A700X_FAMILY.html">http://www.nxp.com/products/identificat ... AMILY.html</a><!-- m -->) so it's limited to 2048 bit RSA and 320 bit ecc over gf(p).<br /><br />/klas<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2019">Klas</a> — Thu Feb 13, 2014 8:28 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[martinpaljak]]></name></author>
<updated>2014-01-29T21:30:18+01:00</updated>
<published>2014-01-29T21:30:18+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1303&amp;p=4891#p4891</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=4891#p4891"/>
<title type="html"><![CDATA[Re: Larger key size in Yubikey NEO (OpenPGP Card)]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=4891#p4891"><![CDATA[
<div class="quotetitle">ppc wrote:</div><div class="quotecontent"><br />The Yubikey NEO is using a <a href="http://www.nxp.com/products/identification_and_security/smart_card_ics/smartmx_dual_interface_controllers/series/P5CD081.html" class="postlink">NXP SmartMX P5CD081</a>, right? The hardware supports 4k RSA keys and ECC (though you're right about the GnuPG ECC/non-NIST support... no point in chasing that).<br />Is there any reason I'm not seeing that this couldn't be fixed in the applet?<br /></div><br /><br />The same way my CPU can handle (in theory) 2^64 of memory, yet it pracitcally handles a bunch of gigabytes which in turn is limited by the motherboard support and number of slots.<br /><br />At least according to &quot;public specs&quot; the JCOP chip can't do more than 2k, maybe there is some proprietary extension in JCOP that allows to do some, but then again, you'd be able to take the &quot;NDA your grandma&quot; approach to get that. You can't initiate a key with a bigger bit size than 2k according to JC.<br /><br />Have a look at <!-- m --><a class="postlink" href="http://www.fi.muni.cz/~xsvenda/jcsupport.html">http://www.fi.muni.cz/~xsvenda/jcsupport.html</a><!-- m --><br /><br />Support for ECC is a different story.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2780">martinpaljak</a> — Wed Jan 29, 2014 9:30 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ppc]]></name></author>
<updated>2014-01-26T22:47:43+01:00</updated>
<published>2014-01-26T22:47:43+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1303&amp;p=4884#p4884</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=4884#p4884"/>
<title type="html"><![CDATA[Re: Larger key size in Yubikey NEO (OpenPGP Card)]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=4884#p4884"><![CDATA[
<div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />Don't trust OpenSC on this - it is apparently wrong. It seems that 2048+ RSA is not supported by the card (I wish it did 3k) and ECC requires more work on GnuPG side, still. Non-NIST curves in GnuPG is another problem point.<br /></div><br /><br />The Yubikey NEO is using a <a href="http://www.nxp.com/products/identification_and_security/smart_card_ics/smartmx_dual_interface_controllers/series/P5CD081.html" class="postlink">NXP SmartMX P5CD081</a>, right? The hardware supports 4k RSA keys and ECC (though you're right about the GnuPG ECC/non-NIST support... no point in chasing that).<br /><br />Is there any reason I'm not seeing that this couldn't be fixed in the applet?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2785">ppc</a> — Sun Jan 26, 2014 10:47 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[martinpaljak]]></name></author>
<updated>2014-01-23T10:13:45+01:00</updated>
<published>2014-01-23T10:13:45+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1303&amp;p=4874#p4874</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=4874#p4874"/>
<title type="html"><![CDATA[Re: Larger key size in Yubikey NEO (OpenPGP Card)]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=4874#p4874"><![CDATA[
<div class="quotetitle">ppc wrote:</div><div class="quotecontent"><br />The OpenPGP card applet in the Yubikey NEO only supports 2048 bit RSA keys. Is there any plan to support larger keys and EC keys?<br /><br />&quot;opensc-tool --list-algorithms&quot; indicates that the Yubikey NEO is capable of:<br /><br />Is there any plan to accommodate larger key sizes in the hardware, such as 4096 bit RSA?<br /><br />.<br /></div><br /><br />Don't trust OpenSC on this - it is apparently wrong. It seems that 2048+ RSA is not supported by the card (I wish it did 3k) and ECC requires more work on GnuPG side, still. Non-NIST curves in GnuPG is another problem point.<br /><br />If you can withstand the trouble of changing your PGP keys, changes to the appelt can be done independently from Yubico.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2780">martinpaljak</a> — Thu Jan 23, 2014 10:13 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Tom]]></name></author>
<updated>2014-01-23T08:17:23+01:00</updated>
<published>2014-01-23T08:17:23+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1303&amp;p=4869#p4869</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=4869#p4869"/>
<title type="html"><![CDATA[Re: Larger key size in Yubikey NEO (OpenPGP Card)]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=4869#p4869"><![CDATA[
No, only 2048.<br /><br />No plans for more currently.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2195">Tom</a> — Thu Jan 23, 2014 8:17 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ppc]]></name></author>
<updated>2014-01-23T01:45:09+01:00</updated>
<published>2014-01-23T01:45:09+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1303&amp;p=4867#p4867</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=4867#p4867"/>
<title type="html"><![CDATA[Larger key size in Yubikey NEO (OpenPGP Card)]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1303&amp;p=4867#p4867"><![CDATA[
The OpenPGP card applet in the Yubikey NEO only supports 2048 bit RSA keys. Is there any plan to support larger keys and EC keys?<br /><br />&quot;opensc-tool --list-algorithms&quot; indicates that the Yubikey NEO is capable of:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">Algorithm: rsa<br />Key length: 1024<br /><br />Algorithm: rsa<br />Key length: 2048<br /><br />Algorithm: rsa<br />Key length: 3072<br /><br />Algorithm: ec<br />Key length: 256<br /><br />Algorithm: ec<br />Key length: 384</div><br /><br />Is there any plan to accommodate larger key sizes in the hardware, such as 4096 bit RSA?<br /><br />.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2785">ppc</a> — Thu Jan 23, 2014 1:45 am</p><hr />
]]></content>
</entry>
</feed>