Penguin
Diff: MuttGPGEncryptToSelf
EditPageHistoryDiffInfoLikePages

Differences between version 12 and predecessor to the previous major change of MuttGPGEncryptToSelf.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 12 Last edited on Friday, July 9, 2004 4:29:20 pm by CraigBox Revert
Older page: version 11 Last edited on Friday, July 9, 2004 1:59:40 am by TomislavRenic Revert
@@ -4,28 +4,29 @@
  
 If you want to encrypt your mail with your own public key as well as the recipient's public key, 
 you can do it as follows: 
  
- $ grep pgp_encrypt ~/[.muttrc] 
+= $ grep pgp_encrypt ~/[.muttrc]=  
  
 If you customized __pgp_encrypt_only_command__ or __pgp_encrypt_sign_command__, you just want to add to them. 
 If not, check here: 
  
- $ grep pgp_encrypt /etc/Muttrc 
+= $ grep pgp_encrypt /etc/Muttrc=  
  
 You will now need your key ID, which you can find as follows: 
-  
+<verbatim>  
  $ gpg --list-key your@email.address 
  pub 1024D/72A6205E 2003-07-20 Kevin George <kevin@... .net> 
  uid Kevin George <kevin@... .com> 
- [ [...] 
+ ~ [...]  
+</verbatim>  
  
 The ID is the number after the first slash - 72A6205E in this case. Now edit the pgp_encrypt_only_command and pgp_encrypt_sign_command lines of your [.muttrc] (or add new ones based on the entries in /etc/Muttrc) to look like this: 
  
 (__Please do not copy these lines directly__ - base yours on your existing settings as they will likely differ from mine.) 
  
-set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap /usr/bin/gpg --charset utf-8 --batch --quiet --no-verbose --output - --encrypt __--encrypt-to 72A6205E__ --textmode --armor --always-trust -- -r %r -- %f"%%%  
-set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap /usr/bin/gpg --charset utf-8 --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt __--encrypt-to 72A6205E__ --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"%%%  
+= set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap /usr/bin/gpg --charset utf-8 --batch --quiet --no-verbose --output - --encrypt __--encrypt-to 72A6205E__ --textmode --armor --always-trust -- -r %r -- %f"= %%%  
+= set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap /usr/bin/gpg --charset utf-8 --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt __--encrypt-to 72A6205E__ --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"=  
  
 The bold area is what you are adding. Be sure to add the "--" at the beginning of the first bold word. Dashes 
 may not appear bold in your font. You should now be set. Restart [mutt|Mutt] and try sending encrypted email to someone else, then try reading it in your sent-mail folder. 
  
@@ -36,13 +37,15 @@
  
 ---- 
 As an aside, you can also just add the following lines to your ~/.gnupg/gpg.conf file 
  
+<pre>  
 default-key ABCD1234 
 encrypt-to ABCD1234 
+</pre>  
  
 Replace ABCD1234 with your key ID as described above. 
  
 Beware though, that this change will encrypt everything to your own key, not just mails sent from mutt. 
  
 ---- 
 Part of CategoryCryptography 
The following authors of this page have not agreed to the WlugWikiLicense. As such copyright to all content on this page is retained by the original authors.
  • TomislavRenic
The following authors of this page have agreed to the WlugWikiLicense.

PHP Warning

lib/plugin/WlugLicense.php (In template 'html'):99: Warning: Invalid argument supplied for foreach()

lib/plugin/WlugLicense.php (In template 'html'):111: Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument

lib/plugin/WlugLicense.php (In template 'html'):111: Notice: Undefined variable: ignore_authors