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

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2014-09-03T08:39:04+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=26&amp;t=1457</id>
<entry>
<author><name><![CDATA[Tom]]></name></author>
<updated>2014-09-03T08:39:04+01:00</updated>
<published>2014-09-03T08:39:04+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1457&amp;p=5533#p5533</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1457&amp;p=5533#p5533"/>
<title type="html"><![CDATA[Re: [question] problem loading an applet on Yubikey Neo]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1457&amp;p=5533#p5533"><![CDATA[
Here, in the lab I have success with a 3.0.1 unfortunately I don't know about 3.0.4<br /><br />Will check.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2195">Tom</a> — Wed Sep 03, 2014 8:39 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[bobo]]></name></author>
<updated>2014-09-02T15:30:48+01:00</updated>
<published>2014-09-02T15:30:48+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1457&amp;p=5519#p5519</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1457&amp;p=5519#p5519"/>
<title type="html"><![CDATA[Re: [question] problem loading an applet on Yubikey Neo]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1457&amp;p=5519#p5519"><![CDATA[
hello,<br /><br />The serial number on my Yubikey is 2276188 (thus below 3000000).<br />I don't think the problem is related to the card manager keys, since I am able to load/delete some applets built with JCDK 2.2.2<br /><br />As far as I know, the applets sources provided by Yubikey (eg. ykneo-openpgp, ykneo-oath) are all built using the 'old' JCDK 2.2.2.<br />The problem comes when I try to load applets build with JCDK 3.0.4. <br /><br />Is there a specific guide for building cap file with JCDK 3.0.4 (similar to <!-- m --><a class="postlink" href="https://github.com/Yubico/ykneo-openpgp/blob/master/doc/Building.txt">https://github.com/Yubico/ykneo-openpgp ... ilding.txt</a><!-- m --> for jcdk-2.2.2)?<br /><br />Currently, I use Netbeans 8.0 IDE with the Javacard plugin made by Tim Boudreau and the JCDK 3.0.4 on Windows 8 (<!-- m --><a class="postlink" href="https://netbeans.org/kb/docs/javame/java-card.html">https://netbeans.org/kb/docs/javame/java-card.html</a><!-- m -->). The cap file is generated without error but I cannot load it on the Yubikey.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2990">bobo</a> — Tue Sep 02, 2014 3:30 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Tom]]></name></author>
<updated>2014-09-02T14:17:19+01:00</updated>
<published>2014-09-02T14:17:19+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1457&amp;p=5518#p5518</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1457&amp;p=5518#p5518"/>
<title type="html"><![CDATA[Re: [question] problem loading an applet on Yubikey Neo]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1457&amp;p=5518#p5518"><![CDATA[
What serial number is your Yubikey NEO?<br /><br /><!-- m --><a class="postlink" href="http://www.yubico.com/2014/07/yubikey-neo-updates/">http://www.yubico.com/2014/07/yubikey-neo-updates/</a><!-- m --><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2195">Tom</a> — Tue Sep 02, 2014 2:17 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[bobo]]></name></author>
<updated>2014-09-02T13:03:26+01:00</updated>
<published>2014-09-02T13:03:26+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1457&amp;p=5515#p5515</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1457&amp;p=5515#p5515"/>
<title type="html"><![CDATA[Re: [question] problem loading an applet on Yubikey Neo]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1457&amp;p=5515#p5515"><![CDATA[
For the sake of completeness, I also tried to load the same Helloworld cap file from oracle with GPShell without success:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">F:\Downloads\Progs\GPShell-1.4.4\GPShell-1.4.4&gt;GPShell.exe gpinstall.txt<br />mode_211<br />enable_trace<br />establish_context<br />card_connect<br />select -AID a000000003000000<br />Command --&gt; 00A4040008A000000003000000<br />Wrapped command --&gt; 00A4040008A000000003000000<br />Response &lt;-- 6F658408A000000003000000A5599F6501FF9F6E06479112103800734A06072A864886FC6B01600C060A2A864886FC6B02020101630<br />906072A864886FC6B03640B06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012A026E01029000<br />open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4<br />e4f<br />Command --&gt; 80CA006600<br />Wrapped command --&gt; 80CA006600<br />Response &lt;-- 664C734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B040255650B0<br />6092B8510864864020103660C060A2B060104012A026E01029000<br />Command --&gt; 805000000832462DBE18310D0F00<br />Wrapped command --&gt; 805000000832462DBE18310D0F00<br />Response &lt;-- 00003107006324967007FF02002EDA7D1A9E34DA7C090ABAEC9755139000<br />Command --&gt; 84820100106727A81A39AA12FB4C8DD264E3EF4B88<br />Wrapped command --&gt; 84820100106727A81A39AA12FB4C8DD264E3EF4B88<br />Response &lt;-- 9000<br />install -file helloworld-sun.cap -instParam 00 -priv 00<br />Command --&gt; 80E602001C09A00000006203010C0108A0000000030000000006EF04C60201C00000<br />Wrapped command --&gt; 84E602002409A00000006203010C0108A0000000030000000006EF04C60201C00057B690DAA536FBA700<br />Response &lt;-- 009000<br />Command --&gt; 80E80000EFC48201B2010013DECAFFED010204000109A00000006203010C0102001F0013001F000E00150036000C0074000A00130000<br />006C00000000000002010004001502050107A0000000620101000107A000000062000103000E010AA00000006203010C0101001406000C0080030100<br />0107010000001F070074000210188C000118110100900B8700188B00027A02308F00033D8C00043B7A0523198B00052D1A0325610A1A042510A46B03<br />7A198B0006320329041F651B1A08AD0016041F8D00073B16041F41290419088B00083270E6198B00093B19160408418B000A1903088B000B19AD0003<br />16048B000C7A08000A00<br />Wrapped command --&gt; 84E80000F7C48201B2010013DECAFFED010204000109A00000006203010C0102001F0013001F000E00150036000C0074000A<br />00130000006C00000000000002010004001502050107A0000000620101000107A000000062000103000E010AA00000006203010C0101001406000C00<br />800301000107010000001F070074000210188C000118110100900B8700188B00027A02308F00033D8C00043B7A0523198B00052D1A0325610A1A0425<br />10A46B037A198B0006320329041F651B1A08AD0016041F8D00073B16041F41290419088B00083270E6198B00093B19160408418B000A1903088B000B<br />19AD000316048B000C7A08000A009C91E10B50BF7E4B<br />Response &lt;-- 6A80<br />load() returns 0x80206A80 (6A80: Wrong data / Incorrect values in command data.)<br /></div><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2990">bobo</a> — Tue Sep 02, 2014 1:03 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[bobo]]></name></author>
<updated>2014-09-02T12:42:34+01:00</updated>
<published>2014-09-02T12:42:34+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1457&amp;p=5514#p5514</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1457&amp;p=5514#p5514"/>
<title type="html"><![CDATA[[question] problem loading an applet on Yubikey Neo]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1457&amp;p=5514#p5514"><![CDATA[
Hello,<br /><br />I tried hard to load an applet on the Yubikey but without success...<br /><br />Please note that I correctly configured the Yubikey to allow CCID as described here: <!-- m --><a class="postlink" href="http://www.yubico.com/2012/12/yubikey-neo-composite-device/">http://www.yubico.com/2012/12/yubikey-n ... te-device/</a><!-- m --><br /><br />I was also able to load/remove some javacard applets from .cap files generated using the JCDK 2.2.2.<br /><br />However, I cannot load applet generated from the last JCDK 3.0.4.<br />For example, I was not able to load the 'HelloWorld' applet provided with the JCDK 3.0.4. compiled by oracle (<!-- m --><a class="postlink" href="http://www.oracle.com/technetwork/java/embedded/javacard/downloads/javacard-sdk-2043229.html">http://www.oracle.com/technetwork/java/ ... 43229.html</a><!-- m -->).<br /><br />I also tried to build the HelloWorld cap file from sources but without success. I used Netbeans IDE 8.0 with the java card plugin and JCDK 3.0.4 classic edition  on Windows 8 . I received the following error using GPJ to load the cap file:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent"><br />F:\Dropbox\NetBeansJava\gpj\gpj-20120310&gt;java -jar gpj.jar -load HelloWorld.cap -install<br />Found terminals: &#91;PC/SC terminal Yubico Yubikey NEO OTP+CCID 0&#93;<br />Found card in terminal: Yubico Yubikey NEO OTP+CCID 0<br />ATR: 3B FA 13 00 00 81 31 FE 15 59 75 62 69 6B 65 79 4E 45 4F A6<br />DEBUG: Command  APDU: 00 A4 04 00 07 A0 00 00 01 51 00 00<br />DEBUG: Response APDU: 6A 82<br />Failed to select Security Domain GP211 A0 00 00 01 51 00 00 , SW: 6A 82<br />DEBUG: Command  APDU: 00 A4 04 00 08 A0 00 00 00 18 43 4D 00<br />DEBUG: Response APDU: 6A 82<br />Failed to select Security Domain GemaltoXpressPro A0 00 00 00 18 43 4D 00 , SW: 6A 82<br />DEBUG: Command  APDU: 00 A4 04 00 08 A0 00 00 00 03 00 00 00<br />DEBUG: Response APDU: 6F 65 84 08 A0 00 00 00 03 00 00 00 A5 59 9F 65 01 FF 9F 6E 06 47 91 12 10 38 00 73 4A 06 07 2A 86<br /> 48 86 FC 6B 01 60 0C 06 0A 2A 86 48 86 FC 6B 02 02 01 01 63 09 06 07 2A 86 48 86 FC 6B 03 64 0B 06 09 2A 86 48 86 FC 6B<br /> 04 02 55 65 0B 06 09 2B 85 10 86 48 64 02 01 03 66 0C 06 0A 2B 06 01 04 01 2A 02 6E 01 02 90 00<br />Successfully selected Security Domain OP201a A0 00 00 00 03 00 00 00<br />DEBUG: Command  APDU: 80 50 00 00 08 FB A5 CA 3F 44 E7 1A 51<br />DEBUG: Response APDU: 00 00 31 07 00 63 24 96 70 07 FF 02 00 2D 06 0C DF 9A 37 DD 07 B2 86 E1 76 7A DF 9B 90 00<br />DEBUG: Command  APDU: 84 82 00 00 10 22 47 D6 85 26 F5 AC 9E 7C 0A CE FF 7F C8 DF 01<br />DEBUG: Response APDU: 90 00<br />DEBUG: Command  APDU: 84 82 00 00 08 22 47 D6 85 26 F5 AC 9E<br />DEBUG: Response APDU: 90 00<br />DEBUG: packagePath: com/sun/jcclassic/samples/helloworld/javacard/<br />DEBUG: package: com.sun.jcclassic.samples.helloworld<br />DEBUG: package AID: A0 00 00 00 62 03 01 0C 01<br />DEBUG: applet AIDs: &#91;A0 00 00 00 62 03 01 0C 01 01 &#93;<br />DEBUG: Command  APDU: 80 E6 02 00 16 09 A0 00 00 00 62 03 01 0C 01 08 A0 00 00 00 03 00 00 00 00 00 00<br />DEBUG: Response APDU: 00 90 00<br />DEBUG: Command  APDU: 80 E6 02 00 16 09 A0 00 00 00 62 03 01 0C 01 08 A0 00 00 00 03 00 00 00 00 00 00<br />DEBUG: Response APDU: 00 90 00<br />DEBUG: Command  APDU: 80 E8 00 00 FF C4 82 01 43 01 00 13 DE CA FF ED 01 02 04 00 01 09 A0 00 00 00 62 03 01 0C 01 02 00<br /> 1F 00 13 00 1F 00 0E 00 15 00 36 00 0C 00 74 00 0A 00 13 00 00 00 6C 00 00 00 00 00 00 02 01 00 04 00 15 02 05 01 07 A0<br /> 00 00 00 62 01 01 00 01 07 A0 00 00 00 62 00 01 03 00 0E 01 0A A0 00 00 00 62 03 01 0C 01 01 00 14 06 00 0C 00 80 03 01<br /> 00 01 07 01 00 00 00 1F 07 00 74 00 02 10 18 8C 00 01 18 11 01 00 90 0B 87 00 18 8B 00 02 7A 02 30 8F 00 03 3D 8C 00 04<br /> 3B 7A 05 23 19 8B 00 05 2D 1A 03 25 61 0A 1A 04 25 10 A4 6B 03 7A 19 8B 00 06 32 03 29 04 1F 65 1B 1A 08 AD 00 16 04 1F<br /> 8D 00 07 3B 16 04 1F 41 29 04 19 08 8B 00 08 32 70 E6 19 8B 00 09 3B 19 16 04 08 41 8B 00 0A 19 03 08 8B 00 0B 19 AD 00<br /> 03 16 04 8B 00 0C 7A 08 00 0A 00 00 00 00 00 00 00 00 00 00 05 00 36 00 0D 02 00<br />DEBUG: Response APDU: 6A 80<br />DEBUG: Command  APDU: 80 E8 00 00 FF C4 82 01 43 01 00 13 DE CA FF ED 01 02 04 00 01 09 A0 00 00 00 62 03 01 0C 01 02 00<br /> 1F 00 13 00 1F 00 0E 00 15 00 36 00 0C 00 74 00 0A 00 13 00 00 00 6C 00 00 00 00 00 00 02 01 00 04 00 15 02 05 01 07 A0<br /> 00 00 00 62 01 01 00 01 07 A0 00 00 00 62 00 01 03 00 0E 01 0A A0 00 00 00 62 03 01 0C 01 01 00 14 06 00 0C 00 80 03 01<br /> 00 01 07 01 00 00 00 1F 07 00 74 00 02 10 18 8C 00 01 18 11 01 00 90 0B 87 00 18 8B 00 02 7A 02 30 8F 00 03 3D 8C 00 04<br /> 3B 7A 05 23 19 8B 00 05 2D 1A 03 25 61 0A 1A 04 25 10 A4 6B 03 7A 19 8B 00 06 32 03 29 04 1F 65 1B 1A 08 AD 00 16 04 1F<br /> 8D 00 07 3B 16 04 1F 41 29 04 19 08 8B 00 08 32 70 E6 19 8B 00 09 3B 19 16 04 08 41 8B 00 0A 19 03 08 8B 00 0B 19 AD 00<br /> 03 16 04 8B 00 0C 7A 08 00 0A 00 00 00 00 00 00 00 00 00 00 05 00 36 00 0D 02 00<br />DEBUG: Response APDU: 6A 80<br />net.sourceforge.gpj.cardservices.exceptions.GPLoadException: Load failed, SW: 6A 80<br />        at net.sourceforge.gpj.cardservices.GlobalPlatformService.loadCapFile(Unknown Source)<br />        at net.sourceforge.gpj.cardservices.GlobalPlatformService.main(Unknown Source)<br /></div><br /><br />Any idea on what causes the problem?<br /><br />Thanks in advance for your help!<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2990">bobo</a> — Tue Sep 02, 2014 12:42 pm</p><hr />
]]></content>
</entry>
</feed>