<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Aaron Johnson</title>
	<atom:link href="http://cephas.net/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://cephas.net/blog</link>
	<description>Now with 50% less caffeine!</description>
	<lastBuildDate>Fri, 11 May 2012 16:34:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>Comment on How MoreLikeThis Works in Lucene by Mike Bria</title>
		<link>http://cephas.net/blog/2008/03/30/how-morelikethis-works-in-lucene/#comment-894372</link>
		<dc:creator>Mike Bria</dc:creator>
		<pubDate>Fri, 11 May 2012 16:34:24 +0000</pubDate>
		<guid isPermaLink="false">http://cephas.net/blog/2008/03/30/how-morelikethis-works-in-lucene/#comment-894372</guid>
		<description>Fantastic post, very clear and helpful!

Mike</description>
		<content:encoded><![CDATA[<p>Fantastic post, very clear and helpful!</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PGP Encryption using Bouncy Castle by Dipti</title>
		<link>http://cephas.net/blog/2004/04/01/pgp-encryption-using-bouncy-castle/#comment-894308</link>
		<dc:creator>Dipti</dc:creator>
		<pubDate>Fri, 11 May 2012 05:39:29 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress.cephas.net/?p=582#comment-894308</guid>
		<description>I am trying to encrypt a text file by using public key and bouncy castle algorithm. I am getting the below error: 
org.bouncycastle.openpgp.PGPException: exception constructing public key

I had also changed the security files in jre of the application server - Tomcat. But still i am getting this issue. Below is the piece of code i am using for encryption:

 private static void _encrypt(String fileName, OutputStream out, PGPPublicKey encKey)  
                          throws IOException, NoSuchProviderException, PGPException, NoSuchPaddingException  
      {  
              out = new DataOutputStream(out);  
              ByteArrayOutputStream bOut = new ByteArrayOutputStream();  
              System.out.println(&quot;creating comData...&quot;);  
             
              // get the data from the original file  
              PGPCompressedDataGenerator comData = new PGPCompressedDataGenerator(PGPCompressedDataGenerator.ZIP);  
              PGPUtil.writeFileToLiteralData(comData.open(bOut), PGPLiteralData.BINARY, new File(fileName));  
              comData.close();  
              System.out.println(&quot;comData created...&quot;);  
              System.out.println(&quot;using PGPEncryptedDataGenerator...&quot;);  
            
              // object that encrypts the data  
              PGPEncryptedDataGenerator cPk = new PGPEncryptedDataGenerator(PGPEncryptedDataGenerator.CAST5,   
                                              new SecureRandom(), &quot;BC&quot;);  
              cPk.addMethod(encKey);  
              System.out.println(&quot;used PGPEncryptedDataGenerator...&quot;); 
              
              // take the outputstream of the original file and turn it into a byte  array  
              byte[] bytes = bOut.toByteArray();  
              System.out.println(&quot;wrote bOut to byte array...&quot;);  
              
              // write the plain text bytes to the armored outputstream  
              
              OutputStream cOut = cPk.open(out, bytes.length);  
              cOut.write(bytes);  
              cPk.close();  
             out.close();  
      }</description>
		<content:encoded><![CDATA[<p>I am trying to encrypt a text file by using public key and bouncy castle algorithm. I am getting the below error:<br />
org.bouncycastle.openpgp.PGPException: exception constructing public key</p>
<p>I had also changed the security files in jre of the application server &#8211; Tomcat. But still i am getting this issue. Below is the piece of code i am using for encryption:</p>
<p> private static void _encrypt(String fileName, OutputStream out, PGPPublicKey encKey)<br />
                          throws IOException, NoSuchProviderException, PGPException, NoSuchPaddingException<br />
      {<br />
              out = new DataOutputStream(out);<br />
              ByteArrayOutputStream bOut = new ByteArrayOutputStream();<br />
              System.out.println(&#8220;creating comData&#8230;&#8221;);  </p>
<p>              // get the data from the original file<br />
              PGPCompressedDataGenerator comData = new PGPCompressedDataGenerator(PGPCompressedDataGenerator.ZIP);<br />
              PGPUtil.writeFileToLiteralData(comData.open(bOut), PGPLiteralData.BINARY, new File(fileName));<br />
              comData.close();<br />
              System.out.println(&#8220;comData created&#8230;&#8221;);<br />
              System.out.println(&#8220;using PGPEncryptedDataGenerator&#8230;&#8221;);  </p>
<p>              // object that encrypts the data<br />
              PGPEncryptedDataGenerator cPk = new PGPEncryptedDataGenerator(PGPEncryptedDataGenerator.CAST5,<br />
                                              new SecureRandom(), &#8220;BC&#8221;);<br />
              cPk.addMethod(encKey);<br />
              System.out.println(&#8220;used PGPEncryptedDataGenerator&#8230;&#8221;); </p>
<p>              // take the outputstream of the original file and turn it into a byte  array<br />
              byte[] bytes = bOut.toByteArray();<br />
              System.out.println(&#8220;wrote bOut to byte array&#8230;&#8221;);  </p>
<p>              // write the plain text bytes to the armored outputstream  </p>
<p>              OutputStream cOut = cPk.open(out, bytes.length);<br />
              cOut.write(bytes);<br />
              cPk.close();<br />
             out.close();<br />
      }</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PGP Encryption using Bouncy Castle by Evgeny</title>
		<link>http://cephas.net/blog/2004/04/01/pgp-encryption-using-bouncy-castle/#comment-893925</link>
		<dc:creator>Evgeny</dc:creator>
		<pubDate>Tue, 08 May 2012 20:48:08 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress.cephas.net/?p=582#comment-893925</guid>
		<description>You got

&lt;cite&gt; org.bouncycastle.openpgp.PGPException: Can&#039;t use DSA for encryption &lt;/cite&gt;

because DSA is Digital Signature Algorithm which is used for file signing not for encryption.</description>
		<content:encoded><![CDATA[<p>You got</p>
<p><cite> org.bouncycastle.openpgp.PGPException: Can&#8217;t use DSA for encryption </cite></p>
<p>because DSA is Digital Signature Algorithm which is used for file signing not for encryption.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Playing with the Fitbit API by Thorusan</title>
		<link>http://cephas.net/blog/2011/03/17/playing-with-the-fitbit-api/#comment-893577</link>
		<dc:creator>Thorusan</dc:creator>
		<pubDate>Sat, 05 May 2012 08:40:20 +0000</pubDate>
		<guid isPermaLink="false">http://cephas.net/blog/?p=1353#comment-893577</guid>
		<description>What exactly do you need?
Yesterday I sucessfully ran basic fitbit project and it shows User info to me.

I also dveloped in Eclipse IDE.</description>
		<content:encoded><![CDATA[<p>What exactly do you need?<br />
Yesterday I sucessfully ran basic fitbit project and it shows User info to me.</p>
<p>I also dveloped in Eclipse IDE.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Playing with the Fitbit API by Thorusan</title>
		<link>http://cephas.net/blog/2011/03/17/playing-with-the-fitbit-api/#comment-893576</link>
		<dc:creator>Thorusan</dc:creator>
		<pubDate>Sat, 05 May 2012 08:39:24 +0000</pubDate>
		<guid isPermaLink="false">http://cephas.net/blog/?p=1353#comment-893576</guid>
		<description>I&#039;ve already solved the problem :)

When you get oath andverifier tokens, you have to invoke fitbitApiAuthExampleServlet again and it will show User info ;)</description>
		<content:encoded><![CDATA[<p>I&#8217;ve already solved the problem <img src='http://cephas.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>When you get oath andverifier tokens, you have to invoke fitbitApiAuthExampleServlet again and it will show User info <img src='http://cephas.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Playing with the Fitbit API by Thorusan</title>
		<link>http://cephas.net/blog/2011/03/17/playing-with-the-fitbit-api/#comment-893480</link>
		<dc:creator>Thorusan</dc:creator>
		<pubDate>Fri, 04 May 2012 09:34:02 +0000</pubDate>
		<guid isPermaLink="false">http://cephas.net/blog/?p=1353#comment-893480</guid>
		<description>Ok, I started developing in Eclipse and it seems debugger can get access to doGet method ... I also got access to Fitbit, it shows Welcome Fitbit page in browser, it wants to have an authorisation with my email and password.

I&#039;ll keep you posted.</description>
		<content:encoded><![CDATA[<p>Ok, I started developing in Eclipse and it seems debugger can get access to doGet method &#8230; I also got access to Fitbit, it shows Welcome Fitbit page in browser, it wants to have an authorisation with my email and password.</p>
<p>I&#8217;ll keep you posted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Playing with the Fitbit API by Thorusan</title>
		<link>http://cephas.net/blog/2011/03/17/playing-with-the-fitbit-api/#comment-893468</link>
		<dc:creator>Thorusan</dc:creator>
		<pubDate>Fri, 04 May 2012 08:24:46 +0000</pubDate>
		<guid isPermaLink="false">http://cephas.net/blog/?p=1353#comment-893468</guid>
		<description>Hi!

I&#039;m also trying to set basic fitbit project and running in the IntelliJ Idea.
I have this example servlet FitbitApiAuthExample servelet and in it: init and doGet method. However when I debug this it goes well through init method, but I don&#039;t get in &quot;doGet&quot; method. What seems to be wrong?
Do I have to make special request to &quot;fire&quot; doGet method?

then my: fitbitApiAuthExample.jsp shows the labels without data.
e.g.:

Full Name:
Display Name:

....

Can you please help me?</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I&#8217;m also trying to set basic fitbit project and running in the IntelliJ Idea.<br />
I have this example servlet FitbitApiAuthExample servelet and in it: init and doGet method. However when I debug this it goes well through init method, but I don&#8217;t get in &#8220;doGet&#8221; method. What seems to be wrong?<br />
Do I have to make special request to &#8220;fire&#8221; doGet method?</p>
<p>then my: fitbitApiAuthExample.jsp shows the labels without data.<br />
e.g.:</p>
<p>Full Name:<br />
Display Name:</p>
<p>&#8230;.</p>
<p>Can you please help me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Playing with the Fitbit API by Breo</title>
		<link>http://cephas.net/blog/2011/03/17/playing-with-the-fitbit-api/#comment-893407</link>
		<dc:creator>Breo</dc:creator>
		<pubDate>Thu, 03 May 2012 22:05:14 +0000</pubDate>
		<guid isPermaLink="false">http://cephas.net/blog/?p=1353#comment-893407</guid>
		<description>Hi! I am trying to get access to the data as well. What I need it is to create a desktop app (I dont need to create a web-service) for accesing to the activity data and keep it in my computer in a .CSV format which is very similar to that A. Johnson has done.

Since I am not so familiar to Java, I am having a lot of problems with the FITBIT libraries. I don&#039;t know how to make the whole thing work, so I would appreciate any kind of help. A complete coding with the A. J. program would be perfect, since it is exactly what I need.

Thanks in advance!</description>
		<content:encoded><![CDATA[<p>Hi! I am trying to get access to the data as well. What I need it is to create a desktop app (I dont need to create a web-service) for accesing to the activity data and keep it in my computer in a .CSV format which is very similar to that A. Johnson has done.</p>
<p>Since I am not so familiar to Java, I am having a lot of problems with the FITBIT libraries. I don&#8217;t know how to make the whole thing work, so I would appreciate any kind of help. A complete coding with the A. J. program would be perfect, since it is exactly what I need.</p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How MoreLikeThis Works in Lucene by HobbyHorse</title>
		<link>http://cephas.net/blog/2008/03/30/how-morelikethis-works-in-lucene/#comment-893177</link>
		<dc:creator>HobbyHorse</dc:creator>
		<pubDate>Wed, 02 May 2012 11:20:41 +0000</pubDate>
		<guid isPermaLink="false">http://cephas.net/blog/2008/03/30/how-morelikethis-works-in-lucene/#comment-893177</guid>
		<description>Great post. Well Done and thank you very much for it.</description>
		<content:encoded><![CDATA[<p>Great post. Well Done and thank you very much for it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Eclipse Keyboard Shortcuts by john</title>
		<link>http://cephas.net/blog/2003/09/24/eclipse-keyboard-shortcuts/#comment-893070</link>
		<dc:creator>john</dc:creator>
		<pubDate>Tue, 01 May 2012 22:12:53 +0000</pubDate>
		<guid isPermaLink="false">http://wordpress.cephas.net/?p=508#comment-893070</guid>
		<description>Thank You!</description>
		<content:encoded><![CDATA[<p>Thank You!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

