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

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

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=26&amp;t=1325</id>
<entry>
<author><name><![CDATA[martinpaljak]]></name></author>
<updated>2014-03-04T02:23:38+01:00</updated>
<published>2014-03-04T02:23:38+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1325&amp;p=5023#p5023</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1325&amp;p=5023#p5023"/>
<title type="html"><![CDATA[Re: [QUESTION] What tools do you use for debugging Neo apple]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1325&amp;p=5023#p5023"><![CDATA[
<div class="quotetitle">hiviah wrote:</div><div class="quotecontent"><br />Thanks for the tip, Martin.<br /><br />Do you perhaps also know if jsimcard could simulate they Neo button keypress? I've found that the button state should be <a href="http://forum.yubico.com/viewtopic.php?t=1299&amp;p=4881" class="postlink">accessible from applet</a>, but requires JCOP tools - that's why I asked how to get them. Actually I just noticed it was coincidentally you who asked the linked Neo button question.<br /></div><br /><br />Not really related, but after looking at the jcardsim code I decided it is not fit for my purposes and made my own emulator:<br /><br /><!-- m --><a class="postlink" href="https://github.com/martinpaljak/vJCRE#import-projavacardvre">https://github.com/martinpaljak/vJCRE#i ... avacardvre</a><!-- m --><br /><br />It is still a bit raw and doesn't implement many algorithms, but the javacard*.* codebase is complete, from covering all basic API-s up to JC3.0.4. So once I get to releasing a JAR file it can easily be used inside an IDE instead of the api.jar. Right now only RSA is implemented, but that is due to change ASAP.<br /><br />The main motivator for this is the ability to run on Android, which I'll add later this week.<br />Talking about the button - I could easily add whatever extensions to the emulator, but I don't know what purposes this would serve. It would only matter if you would actually have a device where the emulated API would *do* something.<br /><br />Nevertheless, as I want to use some weirdo integration with Android, I'll be experimenting with extending the API in a &quot;meaningful and portable way&quot; so maybe providing something for &quot;external keyboard&quot; as wel.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2780">martinpaljak</a> — Tue Mar 04, 2014 2:23 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[hiviah]]></name></author>
<updated>2014-02-25T18:08:41+01:00</updated>
<published>2014-02-25T18:08:41+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1325&amp;p=4995#p4995</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1325&amp;p=4995#p4995"/>
<title type="html"><![CDATA[Re: [QUESTION] What tools do you use for debugging Neo apple]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1325&amp;p=4995#p4995"><![CDATA[
<div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />You need a NDA with NXP as well I suspect.<br /></div><br />Do I understand it right that if I want to use detecting the button state from applet on an actual Yubikey, I need NDA? Does is require some proprietary code from NXP to be used in my applet?<br /><br />EDIT: seems that way - NDA is required for the button.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2457">hiviah</a> — Tue Feb 25, 2014 6:08 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[martinpaljak]]></name></author>
<updated>2014-02-25T14:48:51+01:00</updated>
<published>2014-02-25T14:48:51+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1325&amp;p=4988#p4988</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1325&amp;p=4988#p4988"/>
<title type="html"><![CDATA[Re: [QUESTION] What tools do you use for debugging Neo apple]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1325&amp;p=4988#p4988"><![CDATA[
<div class="quotetitle">hiviah wrote:</div><div class="quotecontent"><br />Thanks for the tip, Martin.<br /><br />Do you perhaps also know if jsimcard could simulate they Neo button keypress? I've found that the button state should be <a href="http://forum.yubico.com/viewtopic.php?t=1299&amp;p=4881" class="postlink">accessible from applet</a>, but requires JCOP tools - that's why I asked how to get them. Actually I just noticed it was coincidentally you who asked the linked Neo button question.<br /></div><br /><br />You need a NDA with NXP as well I suspect. JCOP tools itself is not the point, it is just a toolkit (but I don't know as I don't have JCOP tools). You could emulate a full-blown 102 key keyboard, but that is not the point either, the final hardware/firmware matters.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2780">martinpaljak</a> — Tue Feb 25, 2014 2:48 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[hiviah]]></name></author>
<updated>2014-02-25T14:42:35+01:00</updated>
<published>2014-02-25T14:42:35+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1325&amp;p=4987#p4987</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1325&amp;p=4987#p4987"/>
<title type="html"><![CDATA[Re: [QUESTION] What tools do you use for debugging Neo apple]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1325&amp;p=4987#p4987"><![CDATA[
Thanks for the tip, Martin.<br /><br />Do you perhaps also know if jsimcard could simulate they Neo button keypress? I've found that the button state should be <a href="http://forum.yubico.com/viewtopic.php?t=1299&amp;p=4881" class="postlink">accessible from applet</a>, but requires JCOP tools - that's why I asked how to get them. Actually I just noticed it was coincidentally you who asked the linked Neo button question.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2457">hiviah</a> — Tue Feb 25, 2014 2:42 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[martinpaljak]]></name></author>
<updated>2014-02-24T20:27:34+01:00</updated>
<published>2014-02-24T20:27:34+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1325&amp;p=4977#p4977</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1325&amp;p=4977#p4977"/>
<title type="html"><![CDATA[Re: [QUESTION] What tools do you use for debugging Neo apple]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1325&amp;p=4977#p4977"><![CDATA[
<div class="quotetitle">hiviah wrote:</div><div class="quotecontent"><br />Hi,<br /><br />I already have complete toolchain with JCKit, ant, Eclipse + eclipse-jcde, gpshell that allows me to build and upload an applet such as OpenPGP to the Yubikey.<br /><br />I was wondering if you use any tools for simulation/debugging before the applet is put on the card. So far I've seen three tools - <a href="http://jcardsim.org/" class="postlink">jcardsim</a>, CREF and JCWDE. I'm not sure though if any of these can be used not just as simulators, but to debug as well (e.g. set breakpoints, inspect variables).<br /><br />I've seen several mentions of Eclipse JCOP tools on this forum, but haven't found where to get them (all links I googled seem to be outdated or gone).<br /></div><br /><br /><br />Shameless plug: I believe the easiest tool for working with applets from command line on any JavaCard (including NEO) is my GlobalPlatform tool:<br /><br /><!-- m --><a class="postlink" href="https://github.com/martinpaljak/GlobalPlatform#globalplatform-from-openkms">https://github.com/martinpaljak/GlobalP ... om-openkms</a><!-- m --><br /><br />No need for scripts or specifying cryptic hex constants all over the place unless you have to. Simple command line options that should do the trick 99% of the time.<br /><br />For debugging applets I think jcardsim might have the best chance of becoming something useful. I have my own &quot;mock javacard classes&quot; that allow to run unit tests. You might get &quot;debugger cards&quot; from some vendor with a 500€ SDK as well.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2780">martinpaljak</a> — Mon Feb 24, 2014 8:27 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[hiviah]]></name></author>
<updated>2014-03-03T13:56:25+01:00</updated>
<published>2014-02-24T17:57:00+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1325&amp;p=4974#p4974</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1325&amp;p=4974#p4974"/>
<title type="html"><![CDATA[[SOLVED] What tools do you use for debugging Neo applets?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1325&amp;p=4974#p4974"><![CDATA[
Hi,<br /><br />I already have complete toolchain with JCKit, ant, Eclipse + eclipse-jcde, gpshell that allows me to build and upload an applet such as OpenPGP to the Yubikey.<br /><br />I was wondering if you use any tools for simulation/debugging before the applet is put on the card. So far I've seen three tools - <a href="http://jcardsim.org/" class="postlink">jcardsim</a>, CREF and JCWDE. I'm not sure though if any of these can be used not just as simulators, but to debug as well (e.g. set breakpoints, inspect variables).<br /><br />I've seen several mentions of Eclipse JCOP tools on this forum, but haven't found where to get them (all links I googled seem to be outdated or gone).<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2457">hiviah</a> — Mon Feb 24, 2014 5:57 pm</p><hr />
]]></content>
</entry>
</feed>