<?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>Shibumi Dojo &#187; gnupg</title>
	<atom:link href="http://www.shibumidojo.org/index.php/tag/gnupg/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shibumidojo.org</link>
	<description></description>
	<lastBuildDate>Mon, 16 Jan 2012 07:48:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>GNU Privacy Guard</title>
		<link>http://www.shibumidojo.org/index.php/2008/09/13/gnu-privacy-guard/</link>
		<comments>http://www.shibumidojo.org/index.php/2008/09/13/gnu-privacy-guard/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 18:43:56 +0000</pubDate>
		<dc:creator>CorpusCallosum</dc:creator>
				<category><![CDATA[GNU Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[gnupg]]></category>

		<guid isPermaLink="false">http://www.shibumidojo.org/?p=32</guid>
		<description><![CDATA[GPG is a PGP suite of cryptographic software of GNU which is part of Free Software Foundation, was developed by Werner Koch. You can send encrypted files via gnuPG to anyone just has public key. It is based on assymetric cryptography. Let me tell about public-key encryption(assymetric cryptography) more. In this technique, it is possible [...]]]></description>
			<content:encoded><![CDATA[<p>GPG is a PGP suite of cryptographic software of GNU which is part of Free Software Foundation, was developed by Werner Koch. You can send encrypted files via gnuPG to anyone just has public key. It is based on assymetric cryptography. Let me tell about public-key encryption(assymetric cryptography) more. <span id="more-32"></span></p>
<p><img hspace="1" height="182" border="1" align="left" width="185" vspace="1" alt="" src="http://upload.wikimedia.org/wikipedia/commons/thumb/f/f9/Public_key_encryption.svg/280px-Public_key_encryption.svg.png" /></p>
<p>In this technique, it is possible to divide the key into two parts, public keys and private keys. Public keys are public =). You can share it with anyone you want, but the private one must be kept secret. Incoming messages would have been encrypted with the recipient&#8217;s public key, and can only be decrypted with corresponding private key. The keys are related mathematically, but cannot be derived each other practically.</p>
<p>As you can see in the figure, Bob wants to send a message to Alice. Bob encrypts the data (Hello Alice) using Alice&#8217;s public key and sends it. When the encrypted data receives Alice, she has to use her private keys in order to decrypt it.</p>
<p>After a short brief, lets come back to our topic. First you have to install the gnupg programme according to install procedure of your operating system or distro.</p>
<p>In order to communicate in an encrypted way, you have to generate your keys.</p>
<p>To generate the keys, open a terminal and type <strong><em>&quot;gpg &#8211; -gen &#8211; -key&quot;</em></strong>.<em> </em>In order to export your public key out, type <strong>&quot;<em>gpg &#8211; - export [UID]</em>&quot;&nbsp; </strong>or you may need to other people&#8217;s public keys. In that situation, save the public key in a file name is for example &quot;Bob.txt&quot; or &quot;Bob.asc&quot;, then type in terminal <strong>&quot;gpg &#8211; -import Bob.txt&quot;</strong>.</p>
<p>Now we have our public and private keys and also Bob&#8217;s public key has already imported. Assume that we have data.pdf as a document which we want to send in encrypted way. The only thing that we should do is, <strong>&quot;gpg -u [sender] -r [Bob] &#8211;armor &#8211;encrypt [filepath]&quot;. </strong>If we want to decrypted the file that is sent by one of our friends, assume that that files is &quot;abc.doc&quot;, the we should type <strong>&quot;gpg &#8211; - output [filename] &#8211; -decrypt [encryptedfilepath]&quot;</strong>.</p>
<p>&nbsp;After these information, i want to give you some extras;</p>
<p><strong>gpg &#8211;list &#8211;keys </strong>list of all keys imported your system</p>
<p><strong>gpg &#8211;list &#8211;sigs </strong>list of all signs imported your system</p>
<p><strong>gpg &#8211;fingerprint </strong>list fingerprints as HEX</p>
<p><strong>gpg &#8211;list-secret-keys </strong>shows imported secret keys</p>
<p><strong>gpg &#8211;delete-key [UID] </strong>deletes any key according to User ID</p>
<ul class="related_post"></ul>]]></content:encoded>
			<wfw:commentRss>http://www.shibumidojo.org/index.php/2008/09/13/gnu-privacy-guard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

