<?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>Leaf Duo &#187; PGP</title>
	<atom:link href="http://blog.leafduo.com/tag/pgp/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.leafduo.com</link>
	<description>All About My Life and Information Technology</description>
	<lastBuildDate>Sat, 06 Aug 2011 07:34:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>怎样废弃 PGP 密钥</title>
		<link>http://blog.leafduo.com/22/how-to-revoke-a-pgp-key/</link>
		<comments>http://blog.leafduo.com/22/how-to-revoke-a-pgp-key/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 06:24:22 +0000</pubDate>
		<dc:creator>Leaf Duo</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[GnuPG]]></category>
		<category><![CDATA[PGP]]></category>

		<guid isPermaLink="false">http://leafduo.com/blog/?p=204</guid>
		<description><![CDATA[由于种种原因，比如密钥已经泄露，或者你改了名字或者 email，你很可能需要废弃以前使用的 PGP 密钥，简单地不用它总不太好吧，我们来告诉别人你已经不再用这个密钥了。 以 GnuPG 为例： 首先，我们需要拿到 PGP 密钥的废弃证书： gpg -o revoke.asc --gen-revoke user-id（替换成你自己的 user-id） 这样我们就把废弃证书写到 revoke.asc 里了。其实废弃密钥应该在产生密钥对的时候就生成，然后放在安全的地方，当然我比较懒…… 之后我们导入废弃证书： gpg --import revoke.asc 这样我们就废弃了这个证书，最后我们把废弃掉的 PGP 公钥发到 keyserver 上。 gpg --send-key key-id （用 gpg --list-keys 列出 key-id） 好了，这样大家就都知道你的 PGP 密钥已经 revoked &#8230; <a href="http://blog.leafduo.com/22/how-to-revoke-a-pgp-key/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>由于种种原因，比如密钥已经泄露，或者你改了名字或者 email，你很可能需要废弃以前使用的 PGP 密钥，简单地不用它总不太好吧，我们来告诉别人你已经不再用这个密钥了。</p>
<p>以 GnuPG 为例：</p>
<p>首先，我们需要拿到 PGP 密钥的废弃证书：</p>
<blockquote><p>gpg -o revoke.asc --gen-revoke user-id（替换成你自己的 user-id）</p></blockquote>
<p>这样我们就把废弃证书写到 revoke.asc 里了。其实废弃密钥应该在产生密钥对的时候就生成，然后放在安全的地方，当然我比较懒……</p>
<p>之后我们导入废弃证书：</p>
<blockquote><p>gpg --import revoke.asc</p></blockquote>
<p>这样我们就废弃了这个证书，最后我们把废弃掉的 PGP 公钥发到 keyserver 上。</p>
<blockquote><p>gpg --send-key key-id</p></blockquote>
<p>（用 gpg --list-keys 列出 key-id）</p>
<p>好了，这样大家就都知道你的 PGP 密钥已经 revoked 了。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.leafduo.com/22/how-to-revoke-a-pgp-key/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

