<?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 on: RSA with Perl, PHP and Python</title>
	<atom:link href="http://cd34.com/blog/programming/rsa-with-perl-php-and-python/feed/" rel="self" type="application/rss+xml" />
	<link>http://cd34.com/blog/programming/rsa-with-perl-php-and-python/</link>
	<description>This is my blog, there are many others like it but this one is mine.</description>
	<lastBuildDate>Thu, 19 Aug 2010 14:02:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: <img src='http://cd34.com/blog/wp-content/plugins/rpx/images/google.png'/> tcnolan</title>
		<link>http://cd34.com/blog/programming/rsa-with-perl-php-and-python/comment-page-1/#comment-1311</link>
		<dc:creator><img src='http://cd34.com/blog/wp-content/plugins/rpx/images/google.png'/> tcnolan</dc:creator>
		<pubDate>Wed, 18 Aug 2010 23:43:41 +0000</pubDate>
		<guid isPermaLink="false">http://cd34.com/blog/?p=635#comment-1311</guid>
		<description>Fancy seeing you here chad. :)</description>
		<content:encoded><![CDATA[<p>Fancy seeing you here chad. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: <img src='http://cd34.com/blog/wp-content/plugins/rpx/images/facebook.png'/> Chad Maron</title>
		<link>http://cd34.com/blog/programming/rsa-with-perl-php-and-python/comment-page-1/#comment-522</link>
		<dc:creator><img src='http://cd34.com/blog/wp-content/plugins/rpx/images/facebook.png'/> Chad Maron</dc:creator>
		<pubDate>Thu, 16 Jul 2009 14:34:26 +0000</pubDate>
		<guid isPermaLink="false">http://cd34.com/blog/?p=635#comment-522</guid>
		<description>Ah, almost exactly the same as what I&#039;m doing. I&#039;ll have to look elsewhere for my issue.

Thanks again!
Chad</description>
		<content:encoded><![CDATA[<p>Ah, almost exactly the same as what I&#8217;m doing. I&#8217;ll have to look elsewhere for my issue.</p>
<p>Thanks again!<br />
Chad</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: <img src='http://cd34.com/blog/wp-content/plugins/rpx/images/facebook.png'/> cd34</title>
		<link>http://cd34.com/blog/programming/rsa-with-perl-php-and-python/comment-page-1/#comment-521</link>
		<dc:creator><img src='http://cd34.com/blog/wp-content/plugins/rpx/images/facebook.png'/> cd34</dc:creator>
		<pubDate>Thu, 16 Jul 2009 13:35:35 +0000</pubDate>
		<guid isPermaLink="false">http://cd34.com/blog/?p=635#comment-521</guid>
		<description>&lt;pre&gt;
#!/usr/bin/perl

use Crypt::OpenSSL::RSA;

  &amp;generate_keys();

sub generate_keys {

  $rsa = Crypt::OpenSSL::RSA-&gt;generate_key(2048);

  chomp($hostname=`/bin/hostname -f`);

  if (!(-e &quot;keys/$hostname.private.key&quot;)) {

    open PRIVATE,&quot;&gt;keys/$hostname.private.key&quot;;
    print PRIVATE $rsa-&gt;get_private_key_string();
    close PRIVATE;

    open PUBLIC, &quot;&gt;keys/$hostname.public.key&quot;;
    print PUBLIC $rsa-&gt;get_public_key_x509_string();
    close PUBLIC;
  }

  return;
}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<pre>
#!/usr/bin/perl

use Crypt::OpenSSL::RSA;

  &#038;generate_keys();

sub generate_keys {

  $rsa = Crypt::OpenSSL::RSA->generate_key(2048);

  chomp($hostname=`/bin/hostname -f`);

  if (!(-e "keys/$hostname.private.key")) {

    open PRIVATE,">keys/$hostname.private.key";
    print PRIVATE $rsa->get_private_key_string();
    close PRIVATE;

    open PUBLIC, ">keys/$hostname.public.key";
    print PUBLIC $rsa->get_public_key_x509_string();
    close PUBLIC;
  }

  return;
}
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: <img src='http://cd34.com/blog/wp-content/plugins/rpx/images/facebook.png'/> Chad Maron</title>
		<link>http://cd34.com/blog/programming/rsa-with-perl-php-and-python/comment-page-1/#comment-520</link>
		<dc:creator><img src='http://cd34.com/blog/wp-content/plugins/rpx/images/facebook.png'/> Chad Maron</dc:creator>
		<pubDate>Thu, 16 Jul 2009 12:04:09 +0000</pubDate>
		<guid isPermaLink="false">http://cd34.com/blog/?p=635#comment-520</guid>
		<description>I have found your post VERY helpful but I have one question: How did you generate your
public and private keys? Did you use the openssl command line app or did you let one of
the libraries generate them?

I am working on a Perl script that encrypts data to be decrypted by PHP and it appears
letting Perl generate the keys makes PHP sad.

Any thoughts? 
Thanks!

Chad</description>
		<content:encoded><![CDATA[<p>I have found your post VERY helpful but I have one question: How did you generate your<br />
public and private keys? Did you use the openssl command line app or did you let one of<br />
the libraries generate them?</p>
<p>I am working on a Perl script that encrypts data to be decrypted by PHP and it appears<br />
letting Perl generate the keys makes PHP sad.</p>
<p>Any thoughts?<br />
Thanks!</p>
<p>Chad</p>
]]></content:encoded>
	</item>
</channel>
</rss>
