I'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's available on my personal site. 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.
GnuPG version 2 is available in the Ubuntu repositories. Pull up a terminal, and type:
1 | sudo aptitude install gnupg2 |
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:
1 2 3 4 | sudo mv /usr/bin/gpg /usr/bin/gpg.back sudo mv /usr/bin/gpgv /usr/bin/gpgv.back sudo ln -s /usr/bin/gpg2 /usr/bin/gpg sudo ln -s /usr/bin/gpgv2 /usr/bin/gpgv |
If there is a better way to do this with your ~/.gnupg/gpg.conf file, I would be very interested. The above seems "hack-ish" to me. Removing the 'gnupg' package from Ubuntu also breaks many, many packages, so that doesn't seem to be a sane option.
{ 5 } Comments