<?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>Aaron Toponce &#187; Cryptology</title> <atom:link href="http://pthree.org/category/cryptology/feed/" rel="self" type="application/rss+xml" /><link>http://pthree.org</link> <description>Linux.  GNU.  Freedom.</description> <lastBuildDate>Thu, 29 Jul 2010 15:16:21 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.1-alpha</generator> <item><title>GnuPG Up And Close</title><link>http://pthree.org/2009/06/08/gnupg-up-and-close/</link> <comments>http://pthree.org/2009/06/08/gnupg-up-and-close/#comments</comments> <pubDate>Tue, 09 Jun 2009 06:09:15 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Cryptology]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Security]]></category><guid
isPermaLink="false">http://pthree.org/?p=1069</guid> <description><![CDATA[Every GNU/Linux distribution ships with GnuPG by default. While they all don&#8217;t ship with the same GUI frontend, they do ship with the the same CLI backend. So, we&#8217;ll be interfacing with that throughout this informational session. I&#8217;m not presenting this as anything necessarily useful. Rather, I hope you find it informational/educational, and learn a [...]]]></description> <content:encoded><![CDATA[<p>Every GNU/Linux distribution ships with GnuPG by default. While they all don&#8217;t ship with the same GUI frontend, they do ship with the the same CLI backend. So, we&#8217;ll be interfacing with that throughout this informational session. I&#8217;m not presenting this as anything necessarily useful. Rather, I hope you find it informational/educational, and learn a little bit with how GnuPG works &#8220;under the hood&#8221;. So, let&#8217;s have some fun. First, a list of the &#8220;standard&#8221; algorithms that ship with GnuPG on a GNU/Linux system. This is completely based on the type of main public and private keys as well as any subkeys that you&#8217;ve generated. You can see a list of supported cipher, digest and compression algorithms by invoking the gpg binary and passing &#8220;&#8211;version&#8221; as an option. For example, here is the output from my Debian GNU/Linux unstable laptop:</p><pre>$ gpg -v --version
gpg (GnuPG) 1.4.9
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cipher: 3DES (S2), CAST5 (S3), BLOWFISH (S4), AES (S7), AES192 (S8),
        AES256 (S9), TWOFISH (S10)
Hash: MD5 (H1), SHA1 (H2), RIPEMD160 (H3), SHA256 (H8), SHA384 (H9),
      SHA512 (H10), SHA224 (H11)
Compression: Uncompressed (Z0), ZIP (Z1), ZLIB (Z2), BZIP2 (Z3)</pre><p>So, for ciphers, I support 3DES, CAST5, BLOWFISH, AES, AES192, AES256 and BLOWFISH. For digest hashes, I support MD5, SHA1, RIPEMD160, SHA224, SHA256, SHA384 and SHA512. Lastly, for compression algorithms, I support uncompressed, ZIP, ZLIB and BZIP2. Your output my vary slightly one way or the other. For example, you may not see the full suite of SHA algorithms. This can be obtained by generating an RSA subkey for signing only. Other ciphers might include IDEA, CAMELLIA128, CAMELLIA192 and CAMELLIA256, and you could have TIGER and WHIRLPOOL as possible supported hashes.</p><p>With all these algorithms, how do you know which to use and when? Fortunately, GnuPG takes care of that for you automatically. However, you can tell it what you would to prefer to use for each, if you like. You can set these in your ~/.gnupg/gpg.conf file. The options you are looking to set are &#8220;default-preference-list&#8221;, &#8220;personal-cipher-preferences&#8221;, &#8220;personal-digest-preferences&#8221; and &#8220;personal-compress-preferences&#8221;. For myself, here is what I have set in my gpg.conf:</p><pre>default-preference-list 3DES CAST5 BLOWFISH AES AES192 AES256 TWOFISH MD5 SHA1 RIPEMD160 SHA224 SHA256 SHA384 SHA512 Uncompressed ZIP ZLIB BZIP2
personal-cipher-preferences TWOFISH AES256 AES192 AES BLOWFISH CAST5 3DES
personal-digest-preferences SHA512 SHA384 SHA256 SHA224 SHA1 RIPEMD160 MD5
personal-compress-preferences BZIP2 ZLIB ZIP Uncompressed</pre><p>Now, when we printed out the verbose version, we saw in parenthesis S2, S3, H8, H9, Z1, Z2 and so on. We can use these instead of the name in our gpg.conf if we so wish. I prefer the name, as I can&#8217;t recall the key to the algorithm, and it&#8217;s easier to read. So, in my case, I list out everything that I want for a default list of preferences, then I choose the order of which to pick from when encrypting, signing and compressing. So, for encryption, I have set TWOFISH as my first choice, with AES256 as my second choice, then AES192 as my third, and so forth. I&#8217;ve done the same with my preferred digest hashing algorithm choosing SHA512 first, then SHA384 second, and so on, and the same with compression.</p><p>Why set the preference? For starters, if you&#8217;re like me, you sign all your email by default. You probably want your signature to withstand the test of time as long as possible. Given the strength of today&#8217;s hardware, why not choose the strongest encryption and hash algorithms? But on a more practical note, if you&#8217;re encrypting data to yourself, this would tell GnuPG to use TWOFISH as the encryption algorithm. This means that if you want to decrypt it at a later date, maybe on another computer, you&#8217;ll need to make sure TWOFISH is compiled into GnuPG. How would you know what was used? We&#8217;ll cover that in a bit.</p><p>However, what about encrypting to someone else other than yourself? How do these preferences come into play? Well, you can also set preferences in your public key. The purpose of this, is when people grab a copy of your key, and they want to encrypt something to you, GnuPG will negotiate the first preferred algorithm that is common between the two end points (the one doing the encrypting and the one receiving the encrypted data).</p><p>For example, let&#8217;s suppose Alice has a GnuPG keypair as does Bob. In Alice&#8217;s public key, which Bob has a legitimate copy of, she has set a cipher preference order of: TWOFISH BLOWFISH AES CAST5 and 3DES. Bob wants to encrypt data to Alice. Because he has a copy of her public key, he can do this. The question here is, which algorithm will be chosen for the encryption? Well, Alice prefers TWOFISH as a first pick. If Bob has compiled TWOFISH support in his copy of GnuPG, then it will be used. Suppose he doesn&#8217;t have TWOFISH support. Then the next preferred algorithm is BLOWFISH, because it&#8217;s Alice&#8217;s second pick. Let&#8217;s say Bob does support it, then BLOWFISH is the algorithm used for encrypting the data to Alice. When Alice receives the encrypted data, she&#8217;ll use the BLOWFISH algorithm along with her private key to decrypt the data. Should she wish to reply, her copy of GnuPG will pull out the preferences from Bob&#8217;s public key, and go through the same process looking for the first preferred algorithm by Bob that is supported by both parties. The &#8220;SSL handshake&#8221; works much in this same manner.</p><p>Digest hashing works much the same way, but slightly different. Because the recipient doesn&#8217;t matter with signed data, then rather than looking to public keys for the digest algorithm preference, you turn to your gpg.conf file, if listed, and use that there. If the recipient, or recipients have a copy of your public key, <em>and</em> the same digest algorithm compiled into their copy of GnuPG, they can verify your signature. If either is missing, the public key, or the algorithm, the signature will fail, and GnuPG will explain the problem. This process is the same for compression algorithms.</p><p>So, we&#8217;ve made the preferences in our gpg.conf, but how do we set them in the public key, so we can distribute this to others? Well, in this case, we need to edit our key. From the terminal (I&#8217;ve snipped out the noise, focusing only on what&#8217;s important):</p><pre>$ gpg --edit-key KEYID
gpg (GnuPG) 1.4.9; Copyright (C) 2008 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Secret key is available.
[ ... SNIP ... ]

Command&gt;</pre><p>We are now sitting at a command prompt that we can use to pass commands in an interactive fashion. I should mention that all this can be done non-interactively. Checking out the gpg manual will provide the list of options for making this possible. Typing &#8220;help&#8221; will give us the list of commands that we can pass:</p><pre>Command&gt; help
[... SNIP ...]
pref        list preferences (expert)
showpref    list preferences (verbose)
setpref     set preference list for the selected user IDs
[... SNIP ...]</pre><p>The commands that we are interested in &#8220;pref&#8221; and &#8220;setpref&#8221;. Passing &#8220;pref&#8221; might give us something like the following:</p><pre>Command&gt; pref
[ultimate] (1). Aaron &lt;aaron@example.com&gt;
     S10 S9 S8 S7 S4 S3 S2 H10 H9 H8 H11 H2 H3 H1 Z3 Z2 Z1 Z0 [mdc] [no-ks-modify]</pre><p>See those algorithm codes we saw at the beginning of this tutorial? They are listed in the preferred order that we wish to have each algorithm. In my case, I have all my encryption algorithms lists, from strong to weak, then hashing from strong to weak, then compression from most tight to no compression. What if I wanted to set a different order, or maybe not include some preferences: Using &#8220;setpref&#8221; makes this possible:</p><pre>Command> setpref S10 S9 S8 S7 H10 H9 H8 H2 H3 Z2 Z1 Z3 Z0
Set preference list to:
     Cipher: TWOFISH, AES256, AES192, AES, 3DES
     Digest: SHA512, SHA384, SHA256, SHA1, RIPEMD160
     Compression: ZLIB, ZIP, BZIP2, Uncompressed
     Features: MDC, Keyserver no-modify
Really update the preferences? (y/N)</pre><p>Typing &#8220;y&#8221; will of course make the setting in your key. At this point, you&#8217;ll be asked to enter your private key passphrase successfully before continuing. At that point, it will be statically set in your public key, and you can send your key off to the keyservers and emailed to your family and friends, so they can immediately start taking advantage of the new preferences. Type &#8220;quit&#8221; to leave the prompt.</p><p>Now, let&#8217;s say you have some signed and encrypted data, and you&#8217;re curious of the algorithms used when creating the cipher text. This can be done by passing the &#8220;&#8211;list-packets&#8221; option to gpg to see the data packets. We&#8217;ll need to turn on verbosity as well. For example, the output of a file I sent to a friend using the Mutt email client (emphasis mine):</p><pre>gpg -v --list-packets file.txt
gpg: armor header: Version: GnuPG v2.0.11 (GNU/Linux)
[... SNIP ...]
<b>gpg: AES256 encrypted data</b>
<b>:compressed packet: algo=3</b>
<b>&#58;onepass_sig packet</b>: keyid CE7911B7FC04088F
	version 3, sigclass 0x01, <b>digest 8</b>, pubkey 1, last=1
:literal data packet:
	mode t (74), created 1244484492, name="mutt-helios-1000-24974-13",
	raw data: unknown length
</pre><p>Here, I can easily see that AES256 was used for the encryption algorithm, but what&#8217;s this compressed &#8220;algo=3&#8243; and &#8220;onepass_sig packet digest 8&#8243; stuff? Well, in order to understand those, we need to turn to <a
href="http://www.faqs.org/rfcs/rfc4880.html">RFC 4880</a>. This RFC describes the OpenPGP message format and the standards used. Browse your way down to section 9, and you&#8217;ll see what &#8220;algo=3&#8243; means for compression and &#8220;digest 8&#8243; is for signatures. It appears, according to that RFC, that BZIP2 was used for compression and SHA256 was used for the hashing algorithm. So, in this case, Christer and myself preferred those settings higher than the others, and my GnuPG acknowledged those preferences and did the encrypting, signing and compressing as told. We can see these by &#8220;editing&#8221; his key:</p><pre>$ gpg --edit-key christer
[... SNIP ...]
Command&gt; pref
[  full  ] (1). Christer &lt;christer@example.com&gt;
     S9 S8 S7 S3 S2 H2 H8 H3 Z2 Z3 Z1 [mdc] [no-ks-modify]
[... SNIP ...]

Command&gt; quit</pre><p>Christer places AES256 has his first preferred encryption algorithm. Because I also support this algorithm, this is used for the encryption. SHA1 is his preferred digest hashing algorithm with SHA256 as his second preferred, but remember that for the signature and compression, these preferences are found in my gpg.conf instead. I prefer SHA512 as my first preference, but he doesn&#8217;t list it as suported (according to his public key), so I move down to SHA384. Again, he doesn&#8217;t list it, so I try SHA256. He lists it, so it&#8217;s used. Lastly, BZIP2 as the compression algorithm, and he lists it, thus it&#8217;s chosen. Thus, the results we got. Make sense?</p><p>I hope this has been informative. It&#8217;s been great discovering the details of how these algorithms were chosen, and it&#8217;s been fun playing with all sorts of encrypted emails and files to get to the guts of the GunPG process. If I&#8217;ve misrepresented any data here, or you have questions, please let me know.</p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2009/06/08/gnupg-up-and-close/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>Using GnuPGv2</title><link>http://pthree.org/2008/08/12/using-gnupgv2/</link> <comments>http://pthree.org/2008/08/12/using-gnupgv2/#comments</comments> <pubDate>Tue, 12 Aug 2008 16:15:54 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Cryptology]]></category><guid
isPermaLink="false">http://pthree.org/?p=660</guid> <description><![CDATA[I&#8217;ve moved to GnuPG version 2, mainly just out of curiosity. I have read the feature list between version 1 and 2. Apparently, version 2 supports the same algorithms, completely backwards-compatible with version 1, more modular and supports additional functionality. So, with that, my GPG key has been re-exported using version 2. It&#8217;s available on [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;ve moved to GnuPG version 2, mainly just out of curiosity.  I have read the feature list between version 1 and 2.  Apparently, version 2 supports the same algorithms, completely backwards-compatible with version 1, more modular and supports additional functionality.  So, with that, my GPG key has been re-exported using version 2. <a
href="http://aarontoponce.org/aaron.asc">It&#8217;s available on my personal site</a>.  Feel free to update as needed.  The most current version of my public key will always be found there.  Further, all my email will be signed with version 2.  If this causes any problems with verifying my emails, please let me know.</p><p>GnuPG version 2 is available in the Ubuntu repositories.  Pull up a terminal, and type:</p><div
class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table
cellspacing="0" cellpadding="0"><tbody><tr><td
style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br
/></div></td><td><div
class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span
style="color: #c20cb9; font-weight: bold;">sudo</span> <span
style="color: #c20cb9; font-weight: bold;">aptitude</span> <span
style="color: #c20cb9; font-weight: bold;">install</span> gnupg2</div></td></tr></tbody></table></div><p>If you want to make version 2 the default for all applications, including Seahorse, KGPG, GPA, Enigmail, and others, then we just need to backup our currently installed binary, and create a symbolic link pointing to version 2:</p><div
class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table
cellspacing="0" cellpadding="0"><tbody><tr><td
style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br
/>2<br
/>3<br
/>4<br
/></div></td><td><div
class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span
style="color: #c20cb9; font-weight: bold;">sudo</span> <span
style="color: #c20cb9; font-weight: bold;">mv</span> <span
style="color: #000000; font-weight: bold;">/</span>usr<span
style="color: #000000; font-weight: bold;">/</span>bin<span
style="color: #000000; font-weight: bold;">/</span>gpg <span
style="color: #000000; font-weight: bold;">/</span>usr<span
style="color: #000000; font-weight: bold;">/</span>bin<span
style="color: #000000; font-weight: bold;">/</span>gpg.back<br
/> <span
style="color: #c20cb9; font-weight: bold;">sudo</span> <span
style="color: #c20cb9; font-weight: bold;">mv</span> <span
style="color: #000000; font-weight: bold;">/</span>usr<span
style="color: #000000; font-weight: bold;">/</span>bin<span
style="color: #000000; font-weight: bold;">/</span>gpgv <span
style="color: #000000; font-weight: bold;">/</span>usr<span
style="color: #000000; font-weight: bold;">/</span>bin<span
style="color: #000000; font-weight: bold;">/</span>gpgv.back<br
/> <span
style="color: #c20cb9; font-weight: bold;">sudo</span> <span
style="color: #c20cb9; font-weight: bold;">ln</span> <span
style="color: #660033;">-s</span> <span
style="color: #000000; font-weight: bold;">/</span>usr<span
style="color: #000000; font-weight: bold;">/</span>bin<span
style="color: #000000; font-weight: bold;">/</span>gpg2 <span
style="color: #000000; font-weight: bold;">/</span>usr<span
style="color: #000000; font-weight: bold;">/</span>bin<span
style="color: #000000; font-weight: bold;">/</span>gpg<br
/> <span
style="color: #c20cb9; font-weight: bold;">sudo</span> <span
style="color: #c20cb9; font-weight: bold;">ln</span> <span
style="color: #660033;">-s</span> <span
style="color: #000000; font-weight: bold;">/</span>usr<span
style="color: #000000; font-weight: bold;">/</span>bin<span
style="color: #000000; font-weight: bold;">/</span>gpgv2 <span
style="color: #000000; font-weight: bold;">/</span>usr<span
style="color: #000000; font-weight: bold;">/</span>bin<span
style="color: #000000; font-weight: bold;">/</span>gpgv</div></td></tr></tbody></table></div><p>If there is a better way to do this with your ~/.gnupg/gpg.conf file, I would be very interested.  The above seems &#8220;hack-ish&#8221; to me.  Removing the &#8216;gnupg&#8217; package from Ubuntu also breaks many, many packages, so that doesn&#8217;t seem to be a sane option.</p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2008/08/12/using-gnupgv2/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Update My Public Key</title><link>http://pthree.org/2008/01/22/update-my-public-key/</link> <comments>http://pthree.org/2008/01/22/update-my-public-key/#comments</comments> <pubDate>Wed, 23 Jan 2008 00:13:57 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Cryptology]]></category><guid
isPermaLink="false">http://pthree.org/?p=539</guid> <description><![CDATA[At your earliest convenience, you&#8217;ll need to update my public key in your keyring. You can grab the cleaned copy from my site, or your can get an uncleaned copy from either the Ubuntu keyserver or the PGP keyserver. Please do not use the MIT PGP keyserver, until I can get straightened out why they [...]]]></description> <content:encoded><![CDATA[<p>At your earliest convenience, you&#8217;ll need to update my public key in your keyring.  You can grab the <a
href="http://aarontoponce.org/aaron.asc">cleaned copy from my site</a>, or your can get an uncleaned copy from either the <a
href="http://keyserver.ubuntu.com:11371/pks/lookup?search=0x8086060F&#038;op=vindex">Ubuntu keyserver</a> or the <a
href="http://subkeys.pgp.net:11371/pks/lookup?search=0x8086060F&#038;fingerprint=on&#038;op=index">PGP keyserver</a>.  Please do not use the MIT PGP keyserver, until I can get straightened out why they won&#8217;t accept my public key (I think it is more involved than just lack of support for photo IDs in keys).</p><p>The update is necessary to keep you from encrypting data to me using an algorithm that is not supported by GnuPG.  At a previous job, I needed support for the IDEA algorithm, found in PGP2, so I imported that library into GPG and added support for it in my key.  As I no longer need support for that patented algorithm, I&#8217;ve removed the preference from my key, which will affect the public key that you have.</p><p>If you have any errors encrypting data to me, or verifying my digital signature, please email me the error, along with a screenshot, so I can troubleshoot the issue.  I believe I may have a few more cockroaches lying around, such as the IDEA algorithm.</p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2008/01/22/update-my-public-key/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>MIT PGP Keyserver</title><link>http://pthree.org/2008/01/05/mit-pgp-keyserver/</link> <comments>http://pthree.org/2008/01/05/mit-pgp-keyserver/#comments</comments> <pubDate>Sat, 05 Jan 2008 19:53:22 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Cryptology]]></category><guid
isPermaLink="false">http://www.pthree.org/2008/01/05/mit-pgp-keyserver/</guid> <description><![CDATA[I just discovered, after spending some time trying to get my public key uploaded to the MIT PGP keyserver that they do not support photos in public keys. I find this rather unfortunate, as photos add a level of security to the key. This also means that any IDs that I add to my key [...]]]></description> <content:encoded><![CDATA[<p>I just discovered, after spending some time trying to get my public key uploaded to the <a
href="http://pgp.mit.edu">MIT PGP keyserver</a> that they do not support photos in public keys.  I find this rather unfortunate, as photos add a level of security to the key.  This also means that any IDs that I add to my key after adding the photo will also not be updated on their server.  It seems that MIT has no plans on implementing support for photos in public keys, and I have no plans on removing the photo from my key, so that places MIT and I at an impasse.  Fortunately, the <a
href="http://keyserver.ubuntu.com:11371">Ubuntu PGP keyserver</a> does support photos, so as such, if grabbing my key, you will always find the <a
href="http://keyserver.ubuntu.com:11371/pks/lookup?op=get&#038;search=0x22EEE0488086060F">latest version there</a>, as well as <a
href="http://aarontoponce.org/aaron.asc">under my domain here</a>.  Just FYI, in case anyone else was having issues uploading their public key to the MIT server, and received an &#8220;Error decoding key block&#8221;.</p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2008/01/05/mit-pgp-keyserver/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>GnuPG Turns 10</title><link>http://pthree.org/2007/12/20/gnupg-turns-10/</link> <comments>http://pthree.org/2007/12/20/gnupg-turns-10/#comments</comments> <pubDate>Thu, 20 Dec 2007 15:34:52 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Cryptology]]></category> <category><![CDATA[OSS]]></category><guid
isPermaLink="false">http://www.pthree.org/2007/12/20/gnupg-turns-10/</guid> <description><![CDATA[Happy Birthday to the GnuPG team and community. GnuPG turns 10 today! For those caught unaware, GnuPG was designed to be a Free Software implementation of PGP, removing the patented algorithms, such as RSA and IDEA, and replacing them with Free Software algorithms, such as Blowfish and ElGamal. Being a strong advocate of GnuPG and [...]]]></description> <content:encoded><![CDATA[<p>Happy Birthday to the GnuPG team and community. <a
href="http://gnupg.org">GnuPG</a> turns 10 today!  For those caught unaware, GnuPG was designed to be a Free Software implementation of PGP, removing the patented algorithms, such as RSA and IDEA, and replacing them with Free Software algorithms, such as Blowfish and ElGamal.  Being a strong advocate of GnuPG and cryptography in general, this is great news. <a
href="http://lists.gnupg.org/pipermail/gnupg-announce/2007q4/000268.html">Werner Koch mailed the GnuPG-Announce mailing list</a>, giving a brief history of the project.  Worth a read for anyone who uses GPG.</p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2007/12/20/gnupg-turns-10/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>A Perfect Reason Why You Should Digitally Sign Emails</title><link>http://pthree.org/2006/07/28/a-perfect-reason-why-you-should-digitally-sign-emails/</link> <comments>http://pthree.org/2006/07/28/a-perfect-reason-why-you-should-digitally-sign-emails/#comments</comments> <pubDate>Fri, 28 Jul 2006 14:36:33 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Cryptology]]></category> <category><![CDATA[Security]]></category><guid
isPermaLink="false">http://www.pthree.org/2006/07/28/a-perfect-reason-why-you-should-digitally-sign-emails/</guid> <description><![CDATA[According to a supposed email from lead developer of PHP Jani Taskinen, he&#8217;s outta here, and not looking back. Goodbye PHP, goodbye cruel world! is the theme of his email. From: Jani Taskinen Subject: Good bye. Group: php.internals Date: Thu Jul 27 20:28:45 2006 Thank you all for the last 6 years or so. It [...]]]></description> <content:encoded><![CDATA[<p>According to a <a
href="http://news.php.net/php.internals/25023">supposed email</a> from lead developer of PHP Jani Taskinen, he&#8217;s outta here, and not looking back.  Goodbye PHP, goodbye cruel world! is the theme of his email.</p><blockquote><p><strong>From:</strong> <a
href="mailto:sniper+at+iki+dot+fi">Jani Taskinen</a><br
/> <strong>Subject:</strong> Good bye.<br
/> <strong>Group:</strong> <a
href="http://news.php.net/php.internals">php.internals</a><br
/> <strong>Date:</strong> Thu Jul 27 20:28:45 2006</p><p>Thank you all for the last 6 years or so. It has been fun (sometimes) and many times not so much fun. Unfortunately I have had enough and I don&#8217;t want to be associated with this project anymore.</p><p>I&#8217;m sure most people (the ones who matter) can understand why. If someone doesn&#8217;t, I could not care less. Take care.</p><p>Please do not reply to this email.</p><p>&#8211;Jani</p><p>p.s. Delete my CVS account. I have no use for it anymore.</p></blockquote><p>When I give my security presentations on cryptography, a common security flaw that I like to bring up is using 3rd party programs to send email to others which looks as though it came from a certain account; in this case, Jani&#8217;s email at iki.fi.  Heck, even a little JavaScript can do the trick.</p><p>Once, while giving a presentation to university class, I told the class the following scenario:</p><blockquote><p>If you were to receive an email in your inbox from your professors email address, would you believe it was send from him?  Of course you would.  There would be no reason not to.  At least not yet.</p><p>What if the email said that due to a family emergency, he would no longer be able to instruct the class, and that everyone will get an &#8216;A&#8217; for the course.  The email would say further, don&#8217;t bother attending class or responding to the email as he will be out of town taking care of the family emergency.  Also, he&#8217;ll have all the details worked out with the school.</p><p>Would you still believe the email is legit?</p></blockquote><p>Not surprisingly, everyone in the class, including the professor, said they would totally believe the email, and quit attending class.  Only a handful of students said that they would stay in contact with the school administration making sure all the details went smooth.  It is unfortunate that they would be the only ones, with the professors help, smoothing out the scam.</p><p>What is the point?  The point is to generate a public cryptography key-pair, and begin digitally signing all of your emails.  This way, everyone can be assured that the email did in fact come from whomever it says it came from, so long as the email validates, and the necessary steps have been taken to ensure the public key belongs to the actual owner.</p><p>Right now at this point, I am not believing the email.  I believe that it is scam, and the wrinkles will be smoothed out soon.  Hopefully, Jani signs his emails, and will be able to refute this nonsense.  However, if the email is legit, confusion could have been avoided if the email was just signed.  It will undoubtedly be a big loss for the PHP community.</p><p>I&#8217;ve said it before, and I&#8217;ll say it again: If you receive an email from me and it is not signed, or the signature fails, you should question the authenticity of the email text and whether or not it did actually come from me.  I go to great lengths to ensure that my email validates before sending, so rarely will an email from me not check out.</p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2006/07/28/a-perfect-reason-why-you-should-digitally-sign-emails/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Public Keyservers</title><link>http://pthree.org/2006/06/25/public-keyservers/</link> <comments>http://pthree.org/2006/06/25/public-keyservers/#comments</comments> <pubDate>Mon, 26 Jun 2006 01:37:50 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Cryptology]]></category><guid
isPermaLink="false">http://www.pthree.org/2006/06/25/public-keyservers/</guid> <description><![CDATA[As mentioned in my last post, I don&#8217;t generally use keyservers. I would much rather just email the key or leave it posted on my blog. However, with that said, I do have my key published to the 3 most popular keyservers on the web, with the first as my default in both Seahorse and [...]]]></description> <content:encoded><![CDATA[<p>As mentioned in my last post, I don&#8217;t generally use keyservers.  I would much rather just email the key or leave it posted on my blog.  However, with that said, I do have my key published to the 3 most popular keyservers on the web, with the first as my default in both Seahorse and GPA (for obvious reasons I hope).</p><ul><li><a
href="http://keyserver.ubuntu.com:11371">http://keyserver.ubuntu.com:11371</a></li><li><a
href="http://keyserver.veridis.com:11371">http://keyserver.veridis.com:11371</a></li><li><a
href="http://pgp.mit.edu/">http://pgp.mit.edu</a></li></ul><p>The main reason I choose these are because they can handle multiple subkeys and modified UIDs whereas many keyservers cannot.  At any rate, I thought that I would share this, because they are solid, always up, great web interface and easy to use.</p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2006/06/25/public-keyservers/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>My GnuPG Public Key</title><link>http://pthree.org/2006/06/24/my-gnupg-public-key/</link> <comments>http://pthree.org/2006/06/24/my-gnupg-public-key/#comments</comments> <pubDate>Sat, 24 Jun 2006 15:00:28 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Cryptology]]></category><guid
isPermaLink="false">http://www.pthree.org/2006/06/24/my-gnupg-public-key/</guid> <description><![CDATA[For those of you who read my blog and wonder if I have a GPG key, well your in luck! I have had a key since Glen, a friend of mine, introduced me the world of encryption and security in September 2004, and my life hasn&#8217;t been the same since. I used to sign all [...]]]></description> <content:encoded><![CDATA[<p>For those of you who read my blog and wonder if I have a GPG key, well your in luck!  I have had a key since Glen, a friend of mine, introduced me the world of encryption and security in September 2004, and my life hasn&#8217;t been the same since.</p><p>I used to sign all of my emails, regardless.  Well lately, I have been getting lazy and haven&#8217;t been so steadfast.  However, my motivation has been renewed since <a
href="http://christer.homeip.net/">Christer</a> started asking me questions about it.  So, from here on out, every email sent from me will be signed.  If the email is not signed with my key, then you should question whether or not it came from me.  If the signature fails (I will always do my best to make sure this doesn&#8217;t happen), you should also question the authenticity of the email.</p><p>I try and keep an updated version of my key on all the public keyservers that I can, however, you can always find the most <a
href="http://www.pthree.org/author-colophon/">up-to-date key on this blog</a>.  Speaking of which, I made some edits to the key this morning, so it is recommended that you grab <a
href="http://www.pthree.org/wp-content/uploads/2006/06/aaron.asc">this most updated copy</a>.</p><p>Being a Computer Science Major and Math Minor, I enjoy cryptology immensely.  I hope to be a cryptologist when I grow up.  I have been studying in this vast field for quite some time, and would love to speak to any Linux Users Group concerning cryptology- whether it be about its history, application, variations, or related fields.  I have a great amount of data on the subject at hand, so presenting on just about any aspect of it is no problem at all.  Just <a
href="http://www.pthree.org/contact/">drop me a line</a>.</p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2006/06/24/my-gnupg-public-key/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
Page Caching using disk (enhanced) (user agent is rejected)

Served from: pthree.org @ 2010-08-01 10:11:29 -->