<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SupportSages &#187; key generation</title>
	<atom:link href="http://www.supportsages.com/blog/tag/key-generation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.supportsages.com/blog</link>
	<description>Technical Support and Server Management : Musings in the fox hole.</description>
	<lastBuildDate>Thu, 05 Jan 2012 03:05:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>gpg: no writable public keyring found: eof</title>
		<link>http://www.supportsages.com/blog/2009/12/gpg-no-writable-public-keyring-found-eof/</link>
		<comments>http://www.supportsages.com/blog/2009/12/gpg-no-writable-public-keyring-found-eof/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 23:53:00 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[key generation]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=576</guid>
		<description><![CDATA[<strong>gpg --gen-key</strong> was the command issued and after a few entropy delay [+++++++++++++++++++++++++++.+++++....+++++++++++++++++++++++++........................+++++
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.]

the command failed to return 

<strong>gpg: no writable public keyring found: eof
Key generation failed: eof
</strong>

<strong>Solution</strong> would be to execute <strong>rm -rf ~/.gnugpg</strong> as there were a few files in the server which was root owned. 

If you face any error like "GPGME: Bad passphrase", but you ...]]></description>
			<content:encoded><![CDATA[<p><strong>gpg &#8211;gen-key</strong> was the command issued and after a few entropy delay [+++++++++++++++++++++++++++.+++++....+++++++++++++++++++++++++........................+++++<br />
We need to generate a lot of random bytes. It is a good idea to perform<br />
some other action (type on the keyboard, move the mouse, utilize the<br />
disks) during the prime generation; this gives the random number<br />
generator a better chance to gain enough entropy.]</p>
<p>the command failed to return </p>
<p><strong>gpg: no writable public keyring found: eof<br />
Key generation failed: eof<br />
</strong></p>
<p><strong>Solution</strong> would be to execute <strong>rm -rf ~/.gnugpg</strong> as there were a few files in the server which was root owned. </p>
<p>If you face any error like &#8220;GPGME: Bad passphrase&#8221;, but you were never asked for a passphrase, probability that issue is with the memory. Just increase the memory limit and you should be fine. In ubuntu, it will be at /etc/security/limits.conf</p>
<div class="tweetthis" style="text-align:left;"><p> <a  class="tt" href="http://twitter.com/home/?status=gpg%3A+no+writable+public+keyring+found%3A+eof++http%3A%2F%2Fwww.supportsages.com%2Fblog%2F576" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter3.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=gpg%3A+no+writable+public+keyring+found%3A+eof++http%3A%2F%2Fwww.supportsages.com%2Fblog%2F576" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/12/gpg-no-writable-public-keyring-found-eof/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

