<?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>SavvyAdmin.com &#187; Zip</title>
	<atom:link href="http://savvyadmin.com/tag/zip/feed/" rel="self" type="application/rss+xml" />
	<link>http://savvyadmin.com</link>
	<description>For savvy admins everywhere...</description>
	<lastBuildDate>Thu, 05 Aug 2010 03:30:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Symmetric Key Encryption with GnuPG</title>
		<link>http://savvyadmin.com/symmetric-key-encryption-with-gnupg/</link>
		<comments>http://savvyadmin.com/symmetric-key-encryption-with-gnupg/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 03:59:06 +0000</pubDate>
		<dc:creator>gmendoza</dc:creator>
				<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[GnuPG]]></category>
		<category><![CDATA[PGP]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tar]]></category>
		<category><![CDATA[Zip]]></category>

		<guid isPermaLink="false">http://www.savvyadmin.com/?p=438</guid>
		<description><![CDATA[If you ever want to quickly protect a file by encrypting it with a simple password, you can use GnuPG and symmetric key encryption for the job. Using this method, you can use industry strength encryption like AES256 and not have to worry about public and private keys. Just remember your password and use PGP [...]


Related posts:<ol><li><a href='http://savvyadmin.com/perform-gnupg-functions-within-vim/' rel='bookmark' title='Permanent Link: Perform GnuPG Functions Within Vim'>Perform GnuPG Functions Within Vim</a></li>
<li><a href='http://savvyadmin.com/gnupg-context-menu-options-for-gnome-nautilus/' rel='bookmark' title='Permanent Link: GnuPG Context Menu Options for Gnome Nautilus'>GnuPG Context Menu Options for Gnome Nautilus</a></li>
<li><a href='http://savvyadmin.com/rar-and-unrar-from-linux-cli/' rel='bookmark' title='Permanent Link: RAR and UNRAR from Linux CLI'>RAR and UNRAR from Linux CLI</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you ever want to quickly protect a file by encrypting it with a simple password, you can use GnuPG and symmetric key encryption for the job.  Using this method, you can use industry strength encryption like AES256 and not have to worry about public and private keys.  Just remember your password and use PGP compatible software to decrypt the files when needed.</p>
<p>For example, this is how you can encrypt a zip file called <code>backup.zip</code> and output the result to a new file called <code>backup.zip.gpg</code>.</p>
<blockquote><p><code><strong>gpg --symmetric --cipher-algo aes256 -o backup.zip.gpg backup.zip</strong><br />
Enter passphrase: <strong>*******</strong><br />
Repeat passphrase: <strong>*******</strong></code></p></blockquote>
<p>To decrypt the file, the following will work.</p>
<blockquote><p><code><strong>gpg -d -o backup.zip backup.zip.gpg</strong><br />
gpg: AES256 encrypted data<br />
Enter passphrase: <strong>*******</strong><br />
gpg: encrypted with 1 passphrase</code></p></blockquote>
<p>For fun, here&#8217;s how to create a Gzip Tar archive (tar.gz) and encrypt it on the fly.</p>
<blockquote><p><code><strong>tar czvpf - SomeFiles/ | gpg --symmetric --cipher-algo aes256 -o backup.tar.gz.gpg</strong><br />
Enter passphrase: <strong>*******</strong><br />
Repeat passphrase: <strong>*******</strong></code></p></blockquote>
<p>To decrypt and extract in a single command, the following also works.</p>
<blockquote><p><code><strong>gpg -d backup.tar.gz.gpg | tar xzvf -</strong><br />
gpg: AES256 encrypted data<br />
Enter passphrase: <strong>*******</strong><br />
gpg: encrypted with 1 passphrase</code></p></blockquote>
<p>If you&#8217;re curious to know what other ciphers are available to you, simple use the <code>gpg --version</code> command.</p>
<blockquote><p><code><strong>gpg --version | grep Cipher</strong><br />
Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH</code></p></blockquote>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fsavvyadmin.com%2Fsymmetric-key-encryption-with-gnupg%2F&amp;partner=sociable" title="Print"><img src="http://savvyadmin.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fsavvyadmin.com%2Fsymmetric-key-encryption-with-gnupg%2F&amp;t=Symmetric%20Key%20Encryption%20with%20GnuPG" title="Facebook"><img src="http://savvyadmin.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Symmetric%20Key%20Encryption%20with%20GnuPG%20-%20http%3A%2F%2Fsavvyadmin.com%2Fsymmetric-key-encryption-with-gnupg%2F" title="Twitter"><img src="http://savvyadmin.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fsavvyadmin.com%2Fsymmetric-key-encryption-with-gnupg%2F&amp;title=Symmetric%20Key%20Encryption%20with%20GnuPG&amp;notes=If%20you%20ever%20want%20to%20quickly%20protect%20a%20file%20by%20encrypting%20it%20with%20a%20simple%20password%2C%20you%20can%20use%20GnuPG%20and%20symmetric%20key%20encryption%20for%20the%20job.%20%20Using%20this%20method%2C%20you%20can%20use%20industry%20strength%20encryption%20like%20AES256%20and%20not%20have%20to%20worry%20about%20publi" title="del.icio.us"><img src="http://savvyadmin.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://savvyadmin.com/feed/" title="RSS"><img src="http://savvyadmin.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fsavvyadmin.com%2Fsymmetric-key-encryption-with-gnupg%2F&amp;title=Symmetric%20Key%20Encryption%20with%20GnuPG&amp;bodytext=If%20you%20ever%20want%20to%20quickly%20protect%20a%20file%20by%20encrypting%20it%20with%20a%20simple%20password%2C%20you%20can%20use%20GnuPG%20and%20symmetric%20key%20encryption%20for%20the%20job.%20%20Using%20this%20method%2C%20you%20can%20use%20industry%20strength%20encryption%20like%20AES256%20and%20not%20have%20to%20worry%20about%20publi" title="Digg"><img src="http://savvyadmin.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=Symmetric%20Key%20Encryption%20with%20GnuPG&amp;body=http%3A%2F%2Fsavvyadmin.com%2Fsymmetric-key-encryption-with-gnupg%2F" title="email"><img src="http://savvyadmin.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fsavvyadmin.com%2Fsymmetric-key-encryption-with-gnupg%2F&amp;title=Symmetric%20Key%20Encryption%20with%20GnuPG&amp;source=SavvyAdmin.com+For+savvy+admins+everywhere...&amp;summary=If%20you%20ever%20want%20to%20quickly%20protect%20a%20file%20by%20encrypting%20it%20with%20a%20simple%20password%2C%20you%20can%20use%20GnuPG%20and%20symmetric%20key%20encryption%20for%20the%20job.%20%20Using%20this%20method%2C%20you%20can%20use%20industry%20strength%20encryption%20like%20AES256%20and%20not%20have%20to%20worry%20about%20publi" title="LinkedIn"><img src="http://savvyadmin.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fsavvyadmin.com%2Fsymmetric-key-encryption-with-gnupg%2F" title="Identi.ca"><img src="http://savvyadmin.com/wp-content/plugins/sociable/images/identica.png" title="Identi.ca" alt="Identi.ca" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fsavvyadmin.com%2Fsymmetric-key-encryption-with-gnupg%2F&amp;title=Symmetric%20Key%20Encryption%20with%20GnuPG&amp;annotation=If%20you%20ever%20want%20to%20quickly%20protect%20a%20file%20by%20encrypting%20it%20with%20a%20simple%20password%2C%20you%20can%20use%20GnuPG%20and%20symmetric%20key%20encryption%20for%20the%20job.%20%20Using%20this%20method%2C%20you%20can%20use%20industry%20strength%20encryption%20like%20AES256%20and%20not%20have%20to%20worry%20about%20publi" title="Google Bookmarks"><img src="http://savvyadmin.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fsavvyadmin.com%2Fsymmetric-key-encryption-with-gnupg%2F&amp;title=Symmetric%20Key%20Encryption%20with%20GnuPG" title="StumbleUpon"><img src="http://savvyadmin.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
</ul>
</div>


<p>Related posts:<ol><li><a href='http://savvyadmin.com/perform-gnupg-functions-within-vim/' rel='bookmark' title='Permanent Link: Perform GnuPG Functions Within Vim'>Perform GnuPG Functions Within Vim</a></li>
<li><a href='http://savvyadmin.com/gnupg-context-menu-options-for-gnome-nautilus/' rel='bookmark' title='Permanent Link: GnuPG Context Menu Options for Gnome Nautilus'>GnuPG Context Menu Options for Gnome Nautilus</a></li>
<li><a href='http://savvyadmin.com/rar-and-unrar-from-linux-cli/' rel='bookmark' title='Permanent Link: RAR and UNRAR from Linux CLI'>RAR and UNRAR from Linux CLI</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://savvyadmin.com/symmetric-key-encryption-with-gnupg/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
