Initial and broken code. Needs GnuPGInterface available at
http://py-gnupg.sourceforge.net.