<?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: GnuPG Encryption with PHP	</title>
	<atom:link href="https://www.brandonchecketts.com/archives/gnupg-encryption-with-php/feed" rel="self" type="application/rss+xml" />
	<link>https://www.brandonchecketts.com/archives/gnupg-encryption-with-php</link>
	<description>Web Programming, Linux System Administation, and Entrepreneurship in Athens Georgia</description>
	<lastBuildDate>Wed, 13 Aug 2014 11:02:59 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>
		By: swapnil		</title>
		<link>https://www.brandonchecketts.com/archives/gnupg-encryption-with-php/comment-page-1#comment-4633</link>

		<dc:creator><![CDATA[swapnil]]></dc:creator>
		<pubDate>Wed, 13 Aug 2014 11:02:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonchecketts.com/archives/gnupg-encryption-with-php#comment-4633</guid>

					<description><![CDATA[Hi All ,

I got error while page running from web browser. Please check below error :


Crypt_GPG_FileException: Error reading GnuPG data file &#039;/var/www/.gnupg/trustdb.gpg&#039;. Check to make sure it is readable by the current user. in /var/www/testCrypt/GPG.php on line 454.

We have configuration Server Ubuntu : 12.04 ,PHP 5.3. also set the permission to /var/www/.gnupg check below :

dwr-------  2 root root      .gnupg 

I have checked the web user is like www-data.

Could somebody help me on this ?

Thanks,
Swapnil]]></description>
			<content:encoded><![CDATA[<p>Hi All ,</p>
<p>I got error while page running from web browser. Please check below error :</p>
<p>Crypt_GPG_FileException: Error reading GnuPG data file &#8216;/var/www/.gnupg/trustdb.gpg&#8217;. Check to make sure it is readable by the current user. in /var/www/testCrypt/GPG.php on line 454.</p>
<p>We have configuration Server Ubuntu : 12.04 ,PHP 5.3. also set the permission to /var/www/.gnupg check below :</p>
<p>dwr&#8212;&#8212;-  2 root root      .gnupg </p>
<p>I have checked the web user is like www-data.</p>
<p>Could somebody help me on this ?</p>
<p>Thanks,<br />
Swapnil</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Brandon		</title>
		<link>https://www.brandonchecketts.com/archives/gnupg-encryption-with-php/comment-page-1#comment-3317</link>

		<dc:creator><![CDATA[Brandon]]></dc:creator>
		<pubDate>Sun, 14 Apr 2013 01:32:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonchecketts.com/archives/gnupg-encryption-with-php#comment-3317</guid>

					<description><![CDATA[Ubuntu packages are now libgpgme11 and libgpgme11-dev]]></description>
			<content:encoded><![CDATA[<p>Ubuntu packages are now libgpgme11 and libgpgme11-dev</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Hani		</title>
		<link>https://www.brandonchecketts.com/archives/gnupg-encryption-with-php/comment-page-1#comment-3125</link>

		<dc:creator><![CDATA[Hani]]></dc:creator>
		<pubDate>Tue, 11 Dec 2012 01:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonchecketts.com/archives/gnupg-encryption-with-php#comment-3125</guid>

					<description><![CDATA[I changed the way errors are handled and now I am showing a &quot;get_key failed&quot; error.  So this would be a permission issue correct?  I&#039;m not TOO savvy working in shell, so how would I go about checking permissions (and on what folders/files) and then change them as I need to?  Any guidance is appreciated!]]></description>
			<content:encoded><![CDATA[<p>I changed the way errors are handled and now I am showing a &#8220;get_key failed&#8221; error.  So this would be a permission issue correct?  I&#8217;m not TOO savvy working in shell, so how would I go about checking permissions (and on what folders/files) and then change them as I need to?  Any guidance is appreciated!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Hani		</title>
		<link>https://www.brandonchecketts.com/archives/gnupg-encryption-with-php/comment-page-1#comment-3124</link>

		<dc:creator><![CDATA[Hani]]></dc:creator>
		<pubDate>Tue, 11 Dec 2012 01:28:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonchecketts.com/archives/gnupg-encryption-with-php#comment-3124</guid>

					<description><![CDATA[Thanks for the tutorial, Brandon!

I can&#039;t seem to figure out why, but the decrypted text is showing up blank for me.  The encrypted text shows up just fine - but there is nothing after &quot;Decrypted Text&quot;.  There aren&#039;t any errors either.  Any ideas about what could be happening or tips on how to troubleshoot some more?  (Been looking high and low for any possible reason for the issue I&#039;m facing.

Thanks!]]></description>
			<content:encoded><![CDATA[<p>Thanks for the tutorial, Brandon!</p>
<p>I can&#8217;t seem to figure out why, but the decrypted text is showing up blank for me.  The encrypted text shows up just fine &#8211; but there is nothing after &#8220;Decrypted Text&#8221;.  There aren&#8217;t any errors either.  Any ideas about what could be happening or tips on how to troubleshoot some more?  (Been looking high and low for any possible reason for the issue I&#8217;m facing.</p>
<p>Thanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: John		</title>
		<link>https://www.brandonchecketts.com/archives/gnupg-encryption-with-php/comment-page-1#comment-2855</link>

		<dc:creator><![CDATA[John]]></dc:creator>
		<pubDate>Sun, 11 Mar 2012 23:09:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonchecketts.com/archives/gnupg-encryption-with-php#comment-2855</guid>

					<description><![CDATA[Thank you for this post! Had to apply fixes mentioned in the comments, but due to some permissions issues I&#039;ve been trying to gnupg-php work for hours and this post solved it for me.]]></description>
			<content:encoded><![CDATA[<p>Thank you for this post! Had to apply fixes mentioned in the comments, but due to some permissions issues I&#8217;ve been trying to gnupg-php work for hours and this post solved it for me.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Atul		</title>
		<link>https://www.brandonchecketts.com/archives/gnupg-encryption-with-php/comment-page-1#comment-2684</link>

		<dc:creator><![CDATA[Atul]]></dc:creator>
		<pubDate>Wed, 15 Jun 2011 10:33:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonchecketts.com/archives/gnupg-encryption-with-php#comment-2684</guid>

					<description><![CDATA[This helped us a lot. Thank you for all the great work and also some of your inputs in the posts too.

Thank you,
Atul]]></description>
			<content:encoded><![CDATA[<p>This helped us a lot. Thank you for all the great work and also some of your inputs in the posts too.</p>
<p>Thank you,<br />
Atul</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: dave		</title>
		<link>https://www.brandonchecketts.com/archives/gnupg-encryption-with-php/comment-page-1#comment-1837</link>

		<dc:creator><![CDATA[dave]]></dc:creator>
		<pubDate>Fri, 07 Jan 2011 23:30:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonchecketts.com/archives/gnupg-encryption-with-php#comment-1837</guid>

					<description><![CDATA[works really well.
appreciate it.

--gen--keygpg
has now been changed to --gen--key
tks,
d.]]></description>
			<content:encoded><![CDATA[<p>works really well.<br />
appreciate it.</p>
<p>&#8211;gen&#8211;keygpg<br />
has now been changed to &#8211;gen&#8211;key<br />
tks,<br />
d.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Brandon		</title>
		<link>https://www.brandonchecketts.com/archives/gnupg-encryption-with-php/comment-page-1#comment-1799</link>

		<dc:creator><![CDATA[Brandon]]></dc:creator>
		<pubDate>Sat, 02 Oct 2010 20:35:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonchecketts.com/archives/gnupg-encryption-with-php#comment-1799</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.brandonchecketts.com/archives/gnupg-encryption-with-php/comment-page-1#comment-1790&quot;&gt;Bartek&lt;/a&gt;.

@Bartek, if it works from the command line, but not when accessed through the web server, my guess would be some permissions problem.   Try watching the web server&#039;s error log for indications of the failure.  Make sure that the user which the web server runs under has permission to read the private key file and write to the temporary directory.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.brandonchecketts.com/archives/gnupg-encryption-with-php/comment-page-1#comment-1790">Bartek</a>.</p>
<p>@Bartek, if it works from the command line, but not when accessed through the web server, my guess would be some permissions problem.   Try watching the web server&#8217;s error log for indications of the failure.  Make sure that the user which the web server runs under has permission to read the private key file and write to the temporary directory.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Bartek		</title>
		<link>https://www.brandonchecketts.com/archives/gnupg-encryption-with-php/comment-page-1#comment-1790</link>

		<dc:creator><![CDATA[Bartek]]></dc:creator>
		<pubDate>Mon, 13 Sep 2010 06:54:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonchecketts.com/archives/gnupg-encryption-with-php#comment-1790</guid>

					<description><![CDATA[Hello,

I have problems with decrypt in php. With command line i haven&#039;t any problems.

I don&#039;t know what to do. I always got decrypt failed error.]]></description>
			<content:encoded><![CDATA[<p>Hello,</p>
<p>I have problems with decrypt in php. With command line i haven&#8217;t any problems.</p>
<p>I don&#8217;t know what to do. I always got decrypt failed error.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sven		</title>
		<link>https://www.brandonchecketts.com/archives/gnupg-encryption-with-php/comment-page-1#comment-1579</link>

		<dc:creator><![CDATA[Sven]]></dc:creator>
		<pubDate>Wed, 18 Nov 2009 10:28:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonchecketts.com/archives/gnupg-encryption-with-php#comment-1579</guid>

					<description><![CDATA[Hi Brandon, 

thx for this nice post. It was very useful for me.

I found 2 errors in Your Application code:

on Line 9 
dont use $encrypted =  $this-&#062;gpg-&#062;encrypt($data);
use $encrypted =  $gpg-&#062;encrypt($data);

on Line 21 change gnugp_fingerprint to gnupg_fingerprint

Greetings from Germany, Sven]]></description>
			<content:encoded><![CDATA[<p>Hi Brandon, </p>
<p>thx for this nice post. It was very useful for me.</p>
<p>I found 2 errors in Your Application code:</p>
<p>on Line 9<br />
dont use $encrypted =  $this-&gt;gpg-&gt;encrypt($data);<br />
use $encrypted =  $gpg-&gt;encrypt($data);</p>
<p>on Line 21 change gnugp_fingerprint to gnupg_fingerprint</p>
<p>Greetings from Germany, Sven</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
