<?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: PHP public key cryptography using OpenSSL</title>
	<atom:link href="http://www.webtatic.com/blog/2009/07/php-public-key-cryptography/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webtatic.com/blog/2009/07/php-public-key-cryptography/</link>
	<description>Just another technical blog</description>
	<lastBuildDate>Wed, 03 Mar 2010 21:29:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: agesorder</title>
		<link>http://www.webtatic.com/blog/2009/07/php-public-key-cryptography/comment-page-1/#comment-296</link>
		<dc:creator>agesorder</dc:creator>
		<pubDate>Fri, 22 Jan 2010 15:17:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.webtatic.com/blog/2009/07/php-public-key-cryptography/#comment-296</guid>
		<description>You can have OpenSSL installed but no PHP module available, just as you can have MySQL installed but no PHP module available (indeed, you have to add the MySQLi extension to php.ini manually upon installation).  It&#039;s annoying, but sometimes there just isn&#039;t much you can do about it.</description>
		<content:encoded><![CDATA[<p>You can have OpenSSL installed but no PHP module available, just as you can have MySQL installed but no PHP module available (indeed, you have to add the MySQLi extension to php.ini manually upon installation).  It&#8217;s annoying, but sometimes there just isn&#8217;t much you can do about it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.webtatic.com/blog/2009/07/php-public-key-cryptography/comment-page-1/#comment-287</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Thu, 14 Jan 2010 21:11:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.webtatic.com/blog/2009/07/php-public-key-cryptography/#comment-287</guid>
		<description>Yes, some shared hosts don&#039;t have it installed, but if you&#039;re dealing with sensitive data, you would be using https, so I&#039;d expect hosting services that provide that would also provide more common extensions such as php-openssl.

Also, it&#039;s in your hosting provider&#039;s interests to provide support so you can request that php-openssl be set up correctly if they have it installed.

In my case, it was a dedicated server that I have full access to, and a default extension suited me better than a third-party cryptography library which I&#039;d have to assess it&#039;s trustworthiness.

After all, php-openssl uses the same library as the https connection uses.</description>
		<content:encoded><![CDATA[<p>Yes, some shared hosts don&#8217;t have it installed, but if you&#8217;re dealing with sensitive data, you would be using https, so I&#8217;d expect hosting services that provide that would also provide more common extensions such as php-openssl.</p>
<p>Also, it&#8217;s in your hosting provider&#8217;s interests to provide support so you can request that php-openssl be set up correctly if they have it installed.</p>
<p>In my case, it was a dedicated server that I have full access to, and a default extension suited me better than a third-party cryptography library which I&#8217;d have to assess it&#8217;s trustworthiness.</p>
<p>After all, php-openssl uses the same library as the https connection uses.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: agesorder</title>
		<link>http://www.webtatic.com/blog/2009/07/php-public-key-cryptography/comment-page-1/#comment-283</link>
		<dc:creator>agesorder</dc:creator>
		<pubDate>Thu, 14 Jan 2010 04:08:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.webtatic.com/blog/2009/07/php-public-key-cryptography/#comment-283</guid>
		<description>If you&#039;re trying to write a portable app, I would avoid using php-openssl.

1. php-opensl isn&#039;t installed on a lot of shared hosts in my experience.

2. php-openssl doesn&#039;t fail gracefully.  You can test to see if the extension&#039;s installed by using extension_loaded() but that&#039;s not enough - there needs to be a openssl.cnf file as well.

3. You can only load public keys if they&#039;re contained within an X.509 certificate.  openssl_pkey_get_details() provides you with a non-X.509 encoded public key but php-openssl doesn&#039;t provide you with any mechanism to actually load it since it&#039;s not contained within an X.509 certificate.

My own personal recommendation would be to use phpseclib&#039;s Crypt_RSA implementation:

http://phpseclib.sourceforge.net/</description>
		<content:encoded><![CDATA[<p>If you&#8217;re trying to write a portable app, I would avoid using php-openssl.</p>
<p>1. php-opensl isn&#8217;t installed on a lot of shared hosts in my experience.</p>
<p>2. php-openssl doesn&#8217;t fail gracefully.  You can test to see if the extension&#8217;s installed by using extension_loaded() but that&#8217;s not enough &#8211; there needs to be a openssl.cnf file as well.</p>
<p>3. You can only load public keys if they&#8217;re contained within an X.509 certificate.  openssl_pkey_get_details() provides you with a non-X.509 encoded public key but php-openssl doesn&#8217;t provide you with any mechanism to actually load it since it&#8217;s not contained within an X.509 certificate.</p>
<p>My own personal recommendation would be to use phpseclib&#8217;s Crypt_RSA implementation:</p>
<p><a href="http://phpseclib.sourceforge.net/" rel="nofollow">http://phpseclib.sourceforge.net/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.webtatic.com/blog/2009/07/php-public-key-cryptography/comment-page-1/#comment-228</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Mon, 09 Nov 2009 08:06:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.webtatic.com/blog/2009/07/php-public-key-cryptography/#comment-228</guid>
		<description>Yes, as long as you have php-openssl installed on both systems, their keys and data should work between them.</description>
		<content:encoded><![CDATA[<p>Yes, as long as you have php-openssl installed on both systems, their keys and data should work between them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alessandro</title>
		<link>http://www.webtatic.com/blog/2009/07/php-public-key-cryptography/comment-page-1/#comment-220</link>
		<dc:creator>Alessandro</dc:creator>
		<pubDate>Fri, 30 Oct 2009 15:59:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.webtatic.com/blog/2009/07/php-public-key-cryptography/#comment-220</guid>
		<description>Hi, do you think that this method could work also between different os? Example: I create the public and private file in Linux but I have to use the public file into Windows&#039;s enviroment. 
Thanks

Alessandro</description>
		<content:encoded><![CDATA[<p>Hi, do you think that this method could work also between different os? Example: I create the public and private file in Linux but I have to use the public file into Windows&#8217;s enviroment.<br />
Thanks</p>
<p>Alessandro</p>
]]></content:encoded>
	</item>
</channel>
</rss>
