Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


enigmail_setup_and_gnupg_keys

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
enigmail_setup_and_gnupg_keys [2011/02/10 11:55] juckinsenigmail_setup_and_gnupg_keys [2013/07/04 19:53] (current) juckins
Line 12: Line 12:
 [[ftp://ftp.gnupg.org/gcrypt/binary/gnupg-w32cli-1.4.11.exe]] [[ftp://ftp.gnupg.org/gcrypt/binary/gnupg-w32cli-1.4.11.exe]]
  
-Install right Enigmail package for your system. Download the .xpi file to desktop and then use add-ons in Thunderbird and Seamonkey to install package. \\ +Install right Enigmail package for your system. \\ 
-[[http://enigmail.mozdev.org/download/index.php.html]]+[[http://enigmail.mozdev.org/download/index.php.html]] \\ 
 +Download the .xpi file to desktop and then use add-ons in Thunderbird and Seamonkey to install the package from the locally-saved file.
  
-Inside Enigmail, import local copy of my pre-established key files from my local computer. \\ +After installing, open the OpenPGP Preferences and make sure the GnuPG path is set (/usr/bin/gpg or C:\Program Files (x86)\GNU\GnuPG\gpg.exe) and restart Thunderbird. 
-Import both the pubring.gpg and the secring.pgp \\+ 
 +Inside Enigmail, import local copy of pubring.gpg and secring.pgp \\
 (Delete any old keys there) (Delete any old keys there)
  
Line 22: Line 24:
  
 Import other people’s keys from [[http://pgp.mit.edu/]] Import other people’s keys from [[http://pgp.mit.edu/]]
 +
 +Test the sending and receiving of encrypted messages.
 +
 +May want to adjust preferences inside Enigmail.
 +
 +---------------------------------------------------------------
 +Useful reference for using keys on Linux:
 +
 +[[http://www.debuntu.org/how-to-import-export-gpg-key-pair]]
 +
 +[[http://aplawrence.com/Basics/gpg.html]]
 +
 +---------------------------------------------------------------
 +If Enigmail seems to freeze, open an xterm and follow instructions below:
 +
 +If you get this:
 +<code>
 +[juckins@metroliner: ~]$ gpg-agent
 +gpg-agent[18835]: can't connect to `/home/juckins/.gnupg/S.gpg-agent': No such file or directory
 +gpg-agent: no gpg-agent running in this session
 +</code>
 +
 +Then follow tip on http://forums.gentoo.org/viewtopic-t-642131-highlight-gpgagent.html
 +
 +<code>
 +juckins@metroliner: ~/.gnupg]$ eval 'gpg-agent --daemon --use-standard-socket'
 +GPG_AGENT_INFO=/home/juckins/.gnupg/S.gpg-agent:18933:1; export GPG_AGENT_INFO;
 +
 +[juckins@metroliner: ~/.gnupg]$ gpg-agent
 +gpg-agent: gpg-agent running and available
 +</code>
 +
 +If that all works properly, then edit .bash_profile like this:
 +<code>
 +# start gpg-agent (for Thunderbird Enigmail)
 +eval 'gpg-agent --daemon --use-standard-socket 2>/dev/null'
 +</code>
 +
 +Other possible help: http://www.linuxquestions.org/questions/linux-security-4/gpg-gpg-agent-can%27t-connect-to-root-gnupg-s-gpg-agent-611843/
  
  
enigmail_setup_and_gnupg_keys.txt · Last modified: 2013/07/04 19:53 by juckins