<?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>Devon Hillard&#039;s Digital Sanctuary &#187; encryption</title>
	<atom:link href="http://www.digitalsanctuary.com/tech-blog/tag/encryption/feed" rel="self" type="application/rss+xml" />
	<link>http://www.digitalsanctuary.com/tech-blog</link>
	<description>Java, ATG, Seam, and related Technologies</description>
	<lastBuildDate>Mon, 30 Jan 2012 23:04:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>What&#8217;s up with SMTPS?</title>
		<link>http://www.digitalsanctuary.com/tech-blog/general/whats-up-with-smtps.html</link>
		<comments>http://www.digitalsanctuary.com/tech-blog/general/whats-up-with-smtps.html#comments</comments>
		<pubDate>Tue, 14 Nov 2006 07:09:37 +0000</pubDate>
		<dc:creator>Devon</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[smtps]]></category>

		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech/archives/10</guid>
		<description><![CDATA[Let&#8217;s start with SMTP. Simple Mail Transport Protocol. This is how e-mail gets sent. This is how e-mail makes it from you, to your recipient. When you check your e-mail, you use POP or IMAP to get the e-mail from &#8230; <a href="http://www.digitalsanctuary.com/tech-blog/general/whats-up-with-smtps.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s start with SMTP.  Simple Mail Transport Protocol.  This is how e-mail gets sent.  This is how e-mail makes it from you, to your recipient.  When you check your e-mail, you use POP or IMAP to get the e-mail from the server.  But when you&#8217;re sending e-mail, you use SMTP.  SMTP is how your mail client communicates with your mail server, and then how your mail server communicates with other mail servers to deliver your precious e-mail to it&#8217;s destination.</p>
<p>SMTP has been around since 1982 and is used everywhere.  It works, but it&#8217;s lacking in many ways, most of which are out of scope for this posting.</p>
<p>Basically the way it works is:</p>
<p><span id="more-10"></span>you write an e-mail to your mother (really, you should be calling your mother, but for the sake of this example, you can e-mail her).  You click the send button, and your e-mail client (Maill.app, Outlook, etc&#8230;) opens up a connection to your mail server (most likely provided by your ISP) and says &#8220;Hi, I&#8217;d like to send an e-mail&#8221;, your mail server says &#8220;ok, go for it.&#8221;, and your mail client says &#8220;<strong>to</strong>:mom@mom.com  <strong>subject</strong>:hi mom <strong>body</strong>:Mom, I&#8217;m outta money and my clothes are all dirty&#8230;&#8221;.  Your mail server then looks up the mail server for mom.com.  Then it opens up a connection to the mail server for mom.com.  It says &#8220;Hi mail server, I have an e-mail for mom@mom.com, here it is: blah blah blah&#8221;.   Then when your mom checks her e-mail, she sees your e-mail.<br />
Sometimes usernames and passwords are included with this, to identify your rights to send e-mail through a given mail server.</p>
<p>So here is the fundamental issue I&#8217;d like to bring up: your username, password, what you write, and who you write to, are all sent, in plain text, between many computers and across many network connections.  Intercepting e-mails, usernames, passwords, and more is very simple.</p>
<p>SMTPS is basically SMTP done over SSL.  SSL is the same encryption technology used to make using your credit card on web pages safe and secure.  This prevents anyone from snooping on your e-mails.  Every single major mail client and mail server supports SMTPS.  For some reason by default they just use SMTP.</p>
<p>The only reason I can think of for this, is that in order to use SMTPS, each server needs a SSL Certificate.  Universally trusted certificates cost money and have to be installed.  Self-signed certificates are free and easy to create, however, they don&#8217;t guarantee the identity of the server.   So I can picture someone saying &#8220;since getting a trusted signed certificate can be a pain, we should default to non-encrypted transport, and just use SMTP.&#8221;</p>
<p>Here is the problem with that potential logic: let&#8217;s assume that instead of the current system, mail servers defaulted to creating self-signed SSL certificates automatically (with the option to install your own validated signed certificates if you have them), and defaulted to providing SMTPS and attempting SMTPS connections before falling back to SMTP if SMTPS is unavailable.  It&#8217;s true that server identity validation won&#8217;t be provided by self-signed certificates, but we don&#8217;t have that now, so it&#8217;s no real loss.  What we would get out of this is automatic encryption for all mail transport, protecting passwords and e-mail contents, with no effort.</p>
<p>Thoughts?</p>
<p>This idea plays into my larger scope thought, slowly being explained here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalsanctuary.com/tech-blog/general/whats-up-with-smtps.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PGP E-mail Encryption conceptual issue</title>
		<link>http://www.digitalsanctuary.com/tech-blog/general/pgp-e-mail-encryption-conceptual-issue.html</link>
		<comments>http://www.digitalsanctuary.com/tech-blog/general/pgp-e-mail-encryption-conceptual-issue.html#comments</comments>
		<pubDate>Mon, 06 Nov 2006 10:24:38 +0000</pubDate>
		<dc:creator>Devon</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[pgp]]></category>

		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech/archives/8</guid>
		<description><![CDATA[I have a number of thoughts in mind, which will likely turn into posts, and they are all leading up to a bigger unified thought. This is one of them. PGP / GPG email encryption is a good thing. It&#8217;s &#8230; <a href="http://www.digitalsanctuary.com/tech-blog/general/pgp-e-mail-encryption-conceptual-issue.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have a number of thoughts in mind, which will likely turn into posts, and they are all leading up to a bigger unified thought.   This is one of them.</p>
<p><a target="_blank" title="PGP.com" href="http://www.pgp.com/">PGP</a> / <a target="_blank" title="GPG" href="http://www.gnupg.org/">GPG</a> email encryption is a good thing.  It&#8217;s a pretty secure system, and the public registries of public keys makes it easy to communicate securely with someone new, with a reasonable amount of trust.  One major issue, which I think most people identify as the biggest issue with PGP, is that the popular mail programs don&#8217;t support it out of the box, or don&#8217;t support it well.</p>
<p><span id="more-8"></span></p>
<p>It would be great if every major e-mail program (Outlook, Mail.app, GMail, YahooMail, MSN Mail, etc..) all had built-in support for PGP, and could auto-create public/private key pairs, and upload the public key to the key-server automatically, etc&#8230;<br />
And any time you were sending e-mail to someone who had a public key in the key-server, it would ask if you wanted to encrypt it.  I also like the idea of auto-signing even non-encrypted mails, and you could then use the signature to validate that sender listed in the from or reply-to headers, actually sent the e-mail.  If they don&#8217;t, you know it&#8217;s very likely to be spam (more on spam later&#8230;).</p>
<p>Implementing this using the <a target="_blank" title="RFC 2440" href="http://www.ietf.org/rfc/rfc2440.txt">OpenPGP RFC</a> as a standard really wouldn&#8217;t be that hard.  There are open source implementations in use today.  And tons of available libraries to handle all the heavy lifting.  I honestly don&#8217;t know what&#8217;s holding companies back from this.  It would be very easy to do right, and aside from the privacy gains, the usefulness in other areas, like fighting spam, and being able to have some legal trust weight to verifiably signed e-mails, seems like a win-win situation.  I&#8217;m going to leave my tin-foil hat off for now, and attribute the lack of this being in place to short-sighted non-standards embracing companies, and not governmental pressure.</p>
<p>However, the other MAJOR issue I see with PGP is this: key-pairs are associated with e-mail addresses.  There is ideally a one-to-one relationship between e-mail address and PGP key-pairs.  In practice this doesn&#8217;t work out all the time.  I have, over time, had three different key-pairs linked with my primary e-mail address.  I&#8217;d set one up, then over time stop using it, get a new computer, lose the old private key, and then have to create a new key-pair.  So over time it became a one-to-many relationship, which as you can imagine, poses issues.  This is just a side effect of the real issue.  A PGP key-pair is meant to represent an individual entity (person or virtual person (such as a corporate e-mail address)).  Signing something with my private key means that <strong>I</strong> signed it, not someone else.  Message encrypted to my public key, should only be readable by <strong>ME</strong> the entity.  So here is the issue.</p>
<p>People do not have a one-to-one relationship with e-mail addresses.<br />
Currently I, the entity, have about 10 different e-mail addresses.  In the past, I have had perhaps 10 other e-mail address, which I no longer control.  This means that in order to be able to read all my current and archived mail, I would need to keep 20 private keys, forever.</p>
<p>Going the other way, many families share an ISP e-mail address.  Obviously this is becoming less prevalent with the introduction of effective free solutions for e-mail, like GMail, however, it is still, and will continue to be an issue.<br />
The relationship between entities and e-mail address is many-to many.  This means that the relationship between entities and pgp key-pairs is many-to-many as well.  This is a fundamental flaw in the implementation of PGP as a privacy and signing mechanism.</p>
<p>Tune back to learn how I think we should fix this&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalsanctuary.com/tech-blog/general/pgp-e-mail-encryption-conceptual-issue.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 1/21 queries in 0.004 seconds using disk: basic
Object Caching 304/351 objects using disk: basic

Served from: www.digitalsanctuary.com @ 2012-02-07 00:15:05 -->
