<?xml version="1.0" encoding="iso-8859-1"?> 
<rdf:RDF
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
	xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
	xmlns:dc="http://purl.org/dc/elements/1.1/" 
	xmlns:dcterms="http://purl.org/dc/terms/" 
	xmlns:admin="http://webns.net/mvcb/"
	xmlns:thr="http://purl.org/rss/1.0/modules/threading/"
	xmlns:pb="http://www.ideaspace.net/users/wkearney/schema/postback/" 
	xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" 
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:mt="http://movabletype.org/"
	xmlns:foaf="http://xmlns.com/foaf/0.1/" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:html="http://www.w3.org/TR/REC-html40/"
	xmlns="http://purl.org/rss/1.0/"
> 

<rdf:Description rdf:about="http://www.ideaspace.net/users/wkearney/archives/entries/000130.html"> 
	<title>Testing pgp to gnupg interop</title>
	<link>http://www.ideaspace.net/users/wkearney/archives/entries/000130.html</link>
	<description>If you&apos;ve got the same keys in both system&apos;s keyrings this should work: echo &apos;hello world&apos; | pgp -fe [yourhexid]...</description> 

	<dc:creator>wkearney</dc:creator> 
	<dc:date>2003-03-05T08:21:59-05:00</dc:date> 
	<dc:identifier>http://www.ideaspace.net/users/wkearney/archives/entries/000130.html</dc:identifier>
	<dc:language>en-us</dc:language>

	 
	<dc:subject>PKI</dc:subject> 
	<dc:subject>Security</dc:subject>

	

	

	
	
	
	<dcterms:abstract>If you&apos;ve got the same keys in both system&apos;s keyrings this should work: echo &apos;hello world&apos; | pgp -fe [yourhexid]...</dcterms:abstract> 
	<dcterms:created>2003-03-05T08:21:59-05:00</dcterms:created> 
	<dcterms:isPartOf rdf:resource="http://www.ideaspace.net/users/wkearney/" /> 

	<mt:body><![CDATA[<p>If you've got the same keys in both system's keyrings this should work:</p>

<p>echo 'hello world' | pgp -fe <b>[yourhexid]</b> | gpg --decrypt</p>

<p>Replace <i>[yourhexID]</i> with your own, sans the [] brackets.  Mine's 0x79F14C94 but you wouldn't use it here.  What you're doing is echo'ing the 'hello world' text into pgp and encrypting it for delivery to your own key.  The results are then sent to gpg for decryption with that same key.  You should get the 'hello world' text back.  </p>

<p>This proves that your pgp key can create an encrypted message that the same gpg key can decrypt.  This would be rather important if you expected to use PKI to handle things like postbacks from messages as you post them in different comment sections.  Hint, hint...</p>

<p>There are some interop issues with using pgp and gnupg simultaneously.  I've not yet pinned them all down.  One thing's for certain, be sure you're using GnuPG v1.2.1 or greater.   I'd been banging my head trying to make 1.0.7 handle pgp 6.5.8's keyrings.  I'm not entirely certain but I think having a non-1024 bit key was bugging that version of GnuPG.  Trouble is now I'm off on a bug hunt getting the latest GnuPG and it's dependencies compiled. Oh they joys of unix software...</p>]]></mt:body>
	<mt:excerpt>If you&apos;ve got the same keys in both system&apos;s keyrings this should work: echo &apos;hello world&apos; | pgp -fe [yourhexid]...</mt:excerpt> 
	<mt:more></mt:more>
	<mt:keywords></mt:keywords> 
	<mt:entryID>130</mt:entryID>

	<mt:entryPrev>128</mt:entryPrev>
	<mt:entryNext>131</mt:entryNext>

	<html:link rel="prev" type="application/xml" href="http://www.ideaspace.net/users/wkearney/archives/entries/000128.html.xml" title="McLuhan redux" />
	<html:link rel="next" type="application/xml" href="http://www.ideaspace.net/users/wkearney/archives/entries/000131.html.xml" title="Switch?  How about the truth instead?" />
	
	<mt:author>wkearney</mt:author> 
	<mt:authorNickname>Bill Kearney</mt:authorNickname> 
	<mt:authorEmail>wkearney@ideaspace.net</mt:authorEmail>
	<mt:authorURL rdf:resource="http://www.ideaspace.net/users/wkearney" /> 
	
	<foaf:name>wkearney</foaf:name> 
	<foaf:mbox rdf:resource="mailto:wkearney@ideaspace.net" /> 
	<foaf:nick>Bill Kearney</foaf:nick> 
	<foaf:homepage rdf:resource="http://www.ideaspace.net/users/wkearney" />
	
	<rdfs:seeAlso rdf:resource="http://www.ideaspace.net/users/wkearney/xml/index.rdf" />
	<admin:generatorAgent rdf:resource="http://www.movabletype.org/?v=2.64" /> 
</rdf:Description>
</rdf:RDF>