Re: [Advice needed] Best way to handle attachments?
On 8/11/2011 11:37 AM, Jostein Berntsen wrote: What about putting the files in 2-3 zip files and send him? Also update to mutt 1.5.21 which have many bug fixes after 1.5.18. Greetings Camaleón, Aye, I was going to suggest a split archive as well, then there should be no need to encode the attached split-archive, just leave it as it is... just use your favorite archiver (g/b/7/zip/xz) and split them ... I would choose one appropriate to your friends environment though, so s/he is able to use the file w/o too much hassle on their end. -- Chris Brennan -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C) 0xD5B20C0C.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature
Re: [Advice needed] Best way to handle attachments?
On 8/11/2011 12:26 PM, Camaleón wrote: zsplit cannot do it. It requires the splitted size is at least the size of the smallest of the archived files. I will have to search another one ;-( zip -s SIZE should do the trick ... split the archive at your designated size at creation, not after the fact, that might be where zipsplit/zsplit is dropping the ball -- Chris Brennan -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C) 0xD5B20C0C.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature
Re: [Advice needed] Best way to handle attachments?
On 8/11/2011 1:14 PM, Camaleón wrote: On Thu, 11 Aug 2011 12:33:09 -0400, Chris Brennan wrote: On 8/11/2011 12:26 PM, Camaleón wrote: zsplit cannot do it. It requires the splitted size is at least the size of the smallest of the archived files. I will have to search another one ;-( zip -s SIZE should do the trick ... split the archive at your designated size at creation, not after the fact, that might be where zipsplit/zsplit is dropping the ball Thanks but I don't see -s as an available parameter for my zip (2.32) :- (. Anyway, if I try it: *** sm01@stt008:~/Desktop$ zip -s 512000 data *.pdf zip error: Invalid command arguments (no such option: s) *** Greetings, From my Debian 6-stable box, I have the following (line 152 of the grep is where I got -s from) ch...@leviathan.xaerolimit.net:~$ zip --version Copyright (c) 1990-2008 Info-ZIP - Type 'zip -L' for software license. This is Zip 3.0 (July 5th 2008), by Info-ZIP. ch...@leviathan.xaerolimit.net:~$ grep split s 57:-d -s is (delete, split size) while -ds is (dot size) 151:Splits (archives created as a set of split files): 152: -s ssize create split archive with splits of size ssize, where ssize nm 154: -sp pause after each split closed to allow changing disks 158: -sv be verbose about creating splits 170: Cannot update split archive, so use --out to out new archive: 171:zip in_split_archive newfile1 newfile2 --out out_split_archive 172: If input is split, output will default to same split size 173: Use -s=0 or -s- to turn off splitting to convert split to single file: 174:zip in_split_archive -s 0 --out out_single_file_archive 175: WARNING: If overwriting old split archive but need less splits, 176:old splits not overwritten are not needed but remain 210: -ds siz each dot is siz processed where siz is nm as splits (0 no dots) ch...@leviathan.xaerolimit.net:~$ -- Chris Brennan -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C) 0xD5B20C0C.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature
Re: mutt + gpg
* Joseph syscon...@gmail.com [2011-06-19 01:22:47 -0600]: What option do I need to compile mutt with to have gpg, currently I have: equery uses mutt [ Searching for packages matching mutt... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [: Right column (I) - USE flags packages was installed with ] [ Found these USE variables for mail-client/mutt-1.5.21-r1 ] U I - - berkdb : Adds support for sys-libs/db (Berkeley DB for MySQL) + + crypt: Add support for encryption -- using mcrypt or gpg where applicable - - debug: Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml - - doc : Adds extra documentation (API, Javadoc, etc) + + gdbm : Adds support for sys-libs/gdbm (GNU database libraries) - - gnutls : Adds support for net-libs/gnutls (TLS 1.0 and SSL 3.0 support) - - gpg : Enable support for app-crypt/gpgme - - idn : Enable support for Internationalized Domain Names - - imap : Adds support for IMAP (Internet Mail Application Protocol) - - mbox : Adds support for mbox (/var/spool/mail) style mail spools + + nls : Adds Native Language Support (using gettext - GNU locale utilities) - - nntp : Add support for newsgroups (Network News Transfer Protocol) + + pop : Enable support for pop - - qdbm : Adds support for the qdbm (Quick Database Manager) library - - sasl : Adds support for the Simple Authentication and Security Layer + + sidebar : Use the vanilla tree + sidebar patch - - smime: Enable support for smime - - smtp : Enable support for smtp + + ssl : Adds support for Secure Socket Layer connections - - tokyocabinet : Enable tokyocabinet database backend for header caching mutt -v +CRYPT_BACKEND_CLASSIC_PGP -CRYPT_BACKEND_CLASSIC_SMIME -CRYPT_BACKEND_GPGME but mutt still is not showing gpg menu. -- Joseph Joseph, ch...@stewie.xaerolimit.net:~$ cat /etc/portage/package.use/mutt mail-client/mutt gnutls gpg idn imap mbox nntp pop sasl sidebar smine smtp =mail-client/mutt-1.5.21-r1 berkdb crypt gdbm gnutls gpg idn imap mbox nls nntp pop sasl sidebar smtp ssl smime ch...@stewie.xaerolimit.net:~$ cat /etc/portage/package.use/gnupg app-crypt/gnupg adns caps ch...@stewie.xaerolimit.net:~$ That's what I have for mutt + gpg. I can't imagine you will need much more then that ... then it's just a matter of customizing mutt correctly for for use w/ GPG. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ | http://xkcd.com/149/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
Re: mutt + gpg
* Joseph syscon...@gmail.com [2011-06-19 14:22:12 -0600]: On 06/19/11 03:44, Chris Brennan wrote: * Joseph syscon...@gmail.com [2011-06-19 01:22:47 -0600]: mutt -v +CRYPT_BACKEND_CLASSIC_PGP -CRYPT_BACKEND_CLASSIC_SMIME -CRYPT_BACKEND_GPGME but mutt still is not showing gpg menu. -- Joseph ch...@stewie.xaerolimit.net:~$ cat /etc/portage/package.use/mutt mail-client/mutt gnutls gpg idn imap mbox nntp pop sasl sidebar smine smtp =mail-client/mutt-1.5.21-r1 berkdb crypt gdbm gnutls gpg idn imap mbox nls nntp pop sasl sidebar smtp ssl smime ch...@stewie.xaerolimit.net:~$ cat /etc/portage/package.use/gnupg app-crypt/gnupg adns caps ch...@stewie.xaerolimit.net:~$ That's what I have for mutt + gpg. I can't imagine you will need much more then that ... then it's just a matter of customizing mutt correctly for for use w/ GPG. Update. I've sent myself gpg singed message and mutt asked me if I want to decrypt verify signature. However, if I try to view any other message that is signed s in index it does not ask me anything if I want to verify it. Could the problem be with my pgp file, currently I have: set pgp_decode_command=gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f set pgp_verify_command=gpg --status-fd=2 --no-verbose --quiet --batch --output - --verify %s %f set pgp_decrypt_command=gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f set pgp_sign_command=gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f set pgp_clearsign_command=gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --textmode --clearsign %?a?-u %a? %f set pgp_encrypt_only_command=pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0xED0E1FB7 -- -r %r -- %f set pgp_encrypt_sign_command=pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0xED0E1FB7 -- -r %r -- %f set pgp_import_command=gpg --no-verbose --import %f set pgp_export_command=gpg --no-verbose --export --armor %r set pgp_verify_key_command=gpg --verbose --batch --fingerprint --check-sigs %r set pgp_list_pubring_command=gpg --no-verbose --batch --quiet --with-colons --list-keys %r set pgp_list_secring_command=gpg --no-verbose --batch --quiet --with-colons --list-secret-keys %r set pgp_good_sign=^gpgv?: Good signature from unset crypt_use_gpgme set pgp_auto_decode=yes set crypt_verify_sig=ask-no set pgp_verify_sig=ask-no In addition after I compose a message there was an option in the menu to sign or encrypt it, but it is not showing. -- Joseph At least you can sign mail, I still cannot, working on that! In the post-compose window (where you can add attachments and modify the headers), hit 'p' then 's' to sign or 'p' then 'a' to choose a key, you can use your 8-Char key, 10-key hex key or your e-mail after hitting 'a' to sign-as. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ | http://xkcd.com/149/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
Re: mailcap setting for archives
* stardiviner numbch...@gmail.com [2011-06-15 00:49:04 +0800]: How to set mailcap fot mutt ? I googled it. nothing similar found. I want to let mailcap can use some command like gunzip to get a list of archive. Just like a feature in Ranger file manager. If you know mailcap, can you give me an example. Then I will know how to write them . Thanks in advance. Here is the two lines I use in my ~/.mailcap ch...@stewie.xaerolimit.net:~$ cat .mailcap text/html; /usr/bin/links2 -dump -force-html %s application/pgp-keys; pgp -f %s ; copiousoutput ch...@stewie.xaerolimit.net:~$ Keep in mind, that I use mutt strictly on a headless box and I shell in to it to read my mail. So I don't have any mailcap settings for example to pass pdf's to a viewer (since this box doesn't run X, that wouldn't do me any good, although I could do something like pdf2text but that never looked right for me. In your case though, if the file really is gzip, you could do application/gzip; gzcat - ... provided the gzipped file is a textfile, else you could gzip -d and pipe it to your reader of choice, if it's been tar'd, then tar -xf - | your_reader might be more appropriate. P.S. I'm still someone new to mailcap, so I might be wrong, there may be a better way to do this already. ither way, what ever you do find, post it to the list so it can be archived and found later. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ | http://xkcd.com/149/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
Re: gpg issues
* Jostein Berntsen jber...@broadpark.no [2011-06-12 00:20:47 +0200]: On 11.06.11,18:01, Chris Brennan wrote: * Jostein Berntsen jber...@broadpark.no [2011-06-11 23:52:59 +0200]: Can you try to remove this line in your gpg.rc? set pgp_sign_as=D5B20C0C Removed it and I am still unable to sign my mail, I tried to send mail to my self to prevent spamming the list inapprpropriately. Gpg reports a bad passphrase. But I know it's not. Also try to remove this line in your gpg.rc: set pgp_good_sign=`gettext -d gnupg -s 'Good signature from ' | tr -d ''` Jostein So I moved my gpg.rc to a backup and copied yours into place, I was unable to even sign mail, all it kept doing was asking for my key, over and over again. So I restored my old gpg.rc, still can't actually sign but I can at least add my key lol. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ | http://xkcd.com/149/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
Re: gpg issues
* Arthur Dent misc.li...@blueyonder.co.uk [2011-06-12 00:54:13 +0100]: Hmmm.. Cancel that. This is what I get: Could not create message. gpg: using subkey 65AD06FE instead of primary key D5B20C0C gpg: 65AD06FE: There is no assurance this key belongs to the named user gpg: [stdin]: encryption failed: , you may need to select different mail options. I'm not sure if the problem is with me, but does anyone else get unusable public key? It's late here. Perhaps someone else could try? Hmm I dunno what that means ... as far as I know, my key is valid, I am able to sign things manually on the command line... -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ | http://xkcd.com/149/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
Re: gpg issues
* Jostein Berntsen jber...@broadpark.no [2011-06-12 10:09:38 +0200]: You should keep your ~/.mutt/gpg.rc as it is, but remove the set pgp_good_sign line above. Keep the other set pgp_good_sign line you have. Then add these settings to your ~/.muttrc and try again: set pgp_autosign=no set pgp_autoencrypt=no set pgp_ignore_subkeys=yes set pgp_entry_format=%4n %t%f %4l/0x%k %-4a %2c %u set pgp_long_ids=no set pgp_replyencrypt=yes set pgp_replysign=no set pgp_replysignencrypted=no set pgp_retainable_sigs=no set pgp_show_unusable=yes set pgp_strict_enc=yes set pgp_timeout=300 set pgp_verify_sig=no set pgp_sort_keys=address set pgp_create_traditional=no OK, I commented out set pgp_good_sign=`gettext -d gnupg -s 'Good signature from ' | tr -d ''` and left set pgp_good_sign=^\\[GNUPG:\\] GOODSIG as is, then added what you gave me at the bottom and restarted mutt. Gonna go and try and zap off a test mail to myself and see how this works. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ | http://xkcd.com/149/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
Re: gpg issues
* Tim Guirgies lt.infiltra...@gmail.com [2011-06-12 21:55:28 +1000]: Have you yet tried purging all config files? Save them somewhere, and try with the stock/default/none config files; see what happens. Not yet, but it's on my list of things to do. I don't have the time *just* yet to sit and do that, a few minutes here and there is the best I can do most times till the end of this week when my classes and I have a week between semesters. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ | http://xkcd.com/149/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
Re: gpg issues
* Arthur Dent misc.li...@blueyonder.co.uk [2011-06-12 15:45:59 +0100]: -BEGIN PGP MESSAGE- Version: GnuPG v1.4.11 (GNU/Linux) OK - I'm trying again - this time from a different email client (squirrelmail). This email should be encrypted using you public key. If you can decrypt it at least we'll know that you can access your private key from mutt... Best regards Markgpg: Signature made Sun Jun 12 10:45:59 2011 EDT using DSA key ID FDE78872 gpg: Good signature from Arthur Dent misc.li...@blueyonder.co.uk gpg: aka Arthur Dent adent...@troodos.demon.co.uk gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: DA3C 9BAC E9AF 5576 668E EEB6 EF98 5E15 FDE7 8872 -END PGP MESSAGE- Aurthur Dent (Mike?) I had to decrypt it outside of of mutt, copy/pasted the output to test2.asc and used --gpg --decrypt test2.asc. Mutt did not prompt to decrypt it for me, I did have to fetch your public key first. This is a signed (by me) and encrypted (to you) email. Can you read it? Tim --=20 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments gpg: Signature made Sun Jun 12 07:51:17 2011 EDT using RSA key ID BE773416 gpg: Good signature from Tim Guirgies lt.infiltra...@gmail.com gpg: aka Tim Guirgies tim.guirg...@gmail.com gpg: aka Tim Mazid (Current name; due to be changed 02/10/2011.) timma...@hotmail.com gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 2BED 9795 BB73 C716 A572 7292 6368 6B6A BE77 3416 Tim Guirgies: I actually saw your mail in webmail first and copy/pasted it to test.asc on my local server (where mutt/gpg live) and decrypted it manually. Since I already had your key from a previous fetch, all I had to do was put my password in when prompted and I was able to read the content on the console. Incidentally could it be that gpg is using an ncurses dialog prompt for my password and not taking input directly from stdin? When I am in mutt, I am asked to input my password, which I do like a good monkey but mutt/gpg says no, bad password. This is what tipped me off to the ncurses dialog box vs a prompt from the console. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ | http://xkcd.com/149/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
Re: GPG test
OK! I got creative and pretty much re-write my ~/.mutt/gpg.rc, ct now contains the following: # vim: syntax=muttrc # -*-muttrc-*- # These settings are from /usr/share/doc/mutt-1.5.21-r1/samples/gpg.rc # set pgp_sign_as=0xD5B20C0C #set pgp_sign_as=0x6748EE46C7D11FB8DA89E4AEECD9A84D5B20C0C #set pgp_sign_as=0xeecd9a84d5b20c0c #set pgp_decode_command=gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f #set pgp_verify_command=gpg --status-fd=2 --no-verbose --quiet --batch --output - --verify %s %f #set pgp_decrypt_command=gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f #set pgp_sign_command=gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f #set pgp_clearsign_command=gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --textmode --clearsign %?a?-u %a? %f #set pgp_encrypt_only_command=pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f #set pgp_encrypt_sign_command=pgpewrap gpg %?p?--passphrase-fd 0? --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- #set pgp_import_command=gpg --no-verbose --import %f #set pgp_export_command=gpg --no-verbose --export --armor %r #set pgp_verify_key_command=gpg --verbose --batch --fingerprint --check-sigs %r #set pgp_list_pubring_command=gpg --no-verbose --batch --quiet --with-colons --list-keys %r #set pgp_list_secring_command=gpg --no-verbose --batch --quiet --with-colons --list-secret-keys %r ##set pgp_good_sign=`gettext -d gnupg -s 'Good signature from ' | tr -d ''` #set pgp_good_sign=^\\[GNUPG:\\] GOODSIG # # These settings are from http://wiki.mutt.org/?MuttGuide/UseGPG # set pgp_decode_command=gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f set pgp_verify_command=gpg --no-verbose --batch --output - --verify %s %f set pgp_decrypt_command=gpg --passphrase-fd 0 --no-verbose --batch --output - %f set pgp_sign_command=gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f set pgp_clearsign_command=gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f set pgp_encrypt_only_command=pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0xC9C40C31 -- -r %r -- %f set pgp_encrypt_sign_command=pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0xC9C40C31 -- -r %r -- %f set pgp_import_command=gpg --no-verbose --import -v %f set pgp_export_command=gpg --no-verbose --export --armor %r set pgp_verify_key_command=gpg --no-verbose --batch --fingerprint --check-sigs %r set pgp_list_pubring_command=gpg --no-verbose --batch --with-colons --list-keys %r set pgp_list_secring_command=gpg --no-verbose --batch --with-colons --list-secret-keys %r set pgp_good_sign=^\\[GNUPG:\\] GOODSIG # # below settings from Jostein Berntsen jber...@broadpark.no # set pgp_autosign=no set pgp_autoencrypt=no set pgp_ignore_subkeys=yes set pgp_entry_format=%4n %t%f %4l/0x%k %-4a %2c %u set pgp_long_ids=no set pgp_replyencrypt=yes set pgp_replysign=no set pgp_replysignencrypted=no set pgp_retainable_sigs=no set pgp_show_unusable=yes set pgp_strict_enc=yes set pgp_timeout=300 set pgp_verify_sig=no set pgp_sort_keys=address set pgp_create_traditional=no # # below are settings I found on my own set my_header=X-PGP-Key: http://www.fahque.net/0xD5B20C0C.asc; # http://wiki.mutt.org/?MuttGuide/UseGPG set pgp_use_gpg_agent = yes # http://therning.org/magnus/archives/106 set crypt_verify_sig=yes# http://wiki.mutt.org/?MuttGuide/UseGPG # EOF I tried to keep thinks as neat and organized as I could, the first block from /usr/share/doc/mutt-1.5.21-r1/samples/gpg.rc is completely commented out except for the line to set my key. The rest of the blocks I have created, I tried to ensure there were no duplicate or contrary settings. As it stands, when I try to read encrypted mail with mutt I get the following message (after my password): Invoking PGP... and then the message almost immediately switches to Could not copy message and the encrypted messages remains unopened. So that's where it stands right now, I've gotten further then before in that I am no longer getting the bad passphrase error as I was before. *EDIT* Check that, I tried to sign this mail and it failed, say hello to my little friend bad passphrase. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ | http://xkcd.com/149/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
Re: gpg issues
* Tim Guirgies lt.infiltra...@gmail.com [2011-06-11 16:33:25 +1000]: On Fri, Jun 10, 2011 at 07:51:07PM -0400, Chris Brennan wrote: I'm out of idea's now ... I still can't sign mail, so I don't know if I have the wrong configuration somewhere or if it's mutt/gpg not talking for some reason. Either way, this is still unresolved. Well, do you have another machine you could try it on? If not, do a complete purge of both GPG and mutt, deleting (or saving) all config files. But, _VERY_ IMPORTANT: make sure you keep your private key somewhere safe. Don't ever lose it. Then reinstall them one at a time, and reconfigure from scratch; don't copy back your config, just in case. Make sure each works on its own as it should before trying to use them together. We'll take it from there, I guess. I do, I've been doing all of this on a headless gentoo machine next to me under the desk. At my feet is my old desktop, which now runs Debian 6, I can set things up there and I also have a VPS I can try on. I'll start setting things up on both of them and see how it goes from there. It just seems strange that I can't sign mail but I can use gpg normally in any other fashion. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
Re: gpg issues
binZGEMtAsf39.bin Description: application/pgp-encrypted msg.asc Description: Binary data
Re: gpg issues
* Michelle Konzack linux4miche...@tamay-dogan.net [2011-06-11 20:53:57 +0200]: Please can you stop, sending encrypted messages to the list? Michelle, As far as I know, I've only sent *one* encrypted mail to the list and that was the last one I sent with this subject. So I am sorry that the one piece of encrypted mail I have managed to send in over a week has offended you. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ | http://xkcd.com/149/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
Re: gpg issues
* Jostein Berntsen jber...@broadpark.no [2011-06-11 21:01:25 +0200]: But, then it seems like it's working now? :) It did!?! I don't know if it actually worked or not. I do know that when I followed the instructions of of 'p' then 'e', I wasn't prompted for my password for my key, gpg headers were added and the mail was off. I'm gonna have to go back into my Sent Mail and look at the message and see how it looks, so I know what to expect lol. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ | http://xkcd.com/149/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
Re: gpg issues
* Jostein Berntsen jber...@broadpark.no [2011-06-11 22:32:37 +0200]: When I try to open your mail I am asked for the PGP passphrasem, so it seems to be working now. Oh good, at least one part is working, I still get error messages for 'p', 's' and 'p', 'a'. So I dunno why this is working and the other isn't. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ | http://xkcd.com/149/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
Re: gpg issues
* Jostein Berntsen jber...@broadpark.no [2011-06-11 23:08:39 +0200]: Then encryption works, but not pgp signing. These are the pgp variables in my ~/.muttrc that have set a value. The others I have unset. Could you check them with yours? set pgp_autosign=no set pgp_autoencrypt=no set pgp_ignore_subkeys=yes set pgp_entry_format=%4n %t%f %4l/0x%k %-4a %2c %u set pgp_long_ids=no set pgp_replyencrypt=yes set pgp_replysign=no set pgp_replysignencrypted=no set pgp_retainable_sigs=no set pgp_show_unusable=yes set pgp_strict_enc=yes set pgp_timeout=300 set pgp_verify_sig=no set pgp_sort_keys=address set pgp_create_traditional=no This is what I have set in ~/.mutt/gpg.rc set pgp_sign_as=D5B20C0C #set pgp_sign_as=0xeecd9a84d5b20c0c set pgp_decode_command=gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f set pgp_verify_command=gpg --status-fd=2 --no-verbose --quiet --batch --output - --verify %s %f set pgp_decrypt_command=gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f set pgp_sign_command=gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f set pgp_clearsign_command=gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --textmode --clearsign %?a?-u %a? %f set pgp_encrypt_only_command=pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f set pgp_encrypt_sign_command=pgpewrap gpg %?p?--passphrase-fd 0? --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- set pgp_import_command=gpg --no-verbose --import %f set pgp_export_command=gpg --no-verbose --export --armor %r set pgp_verify_key_command=gpg --verbose --batch --fingerprint --check-sigs %r set pgp_list_pubring_command=gpg --no-verbose --batch --quiet --with-colons --list-keys %r set pgp_list_secring_command=gpg --no-verbose --batch --quiet --with-colons --list-secret-keys %r set pgp_good_sign=`gettext -d gnupg -s 'Good signature from ' | tr -d ''` set pgp_good_sign=^\\[GNUPG:\\] GOODSIG The above is pretty much the default that I was given between gpg/mutt, it was gotten from the system-wide doc dir -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ | http://xkcd.com/149/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
Re: gpg issues
* Jostein Berntsen jber...@broadpark.no [2011-06-11 23:52:59 +0200]: Can you try to remove this line in your gpg.rc? set pgp_sign_as=D5B20C0C Removed it and I am still unable to sign my mail, I tried to send mail to my self to prevent spamming the list inapprpropriately. Gpg reports a bad passphrase. But I know it's not. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ | http://xkcd.com/149/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
Re: gpg issues
* Jostein Berntsen jber...@broadpark.no [2011-06-12 00:16:04 +0200]: Could you check your ~/.muttrc settings as well, ref. my last mail? r...@stewie.xaerolimit.net:~$ grep -e pgp -e gpg .muttrc 78:source ~/.mutt/gpg.rc# YAY! GPG. ch...@stewie.xaerolimit.net:~$ Nothing to do w/ gpg/pgp in my .muttrc, I've been trying to keep things as organized as possible. I've posted what I have so far here http://home.xaerolimit.net:2500/~chris/backup/mutt-vim maybe this will help (It's been cleaned of my password -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ | http://xkcd.com/149/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
Re: gpg issues
* Arthur Dent misc.li...@blueyonder.co.uk [2011-06-12 00:33:57 +0100]: Chris, How about this as a test. I will send you a mail encrypted with your key (off-list!). See if you can decrypt it? Sure, go for it. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ | http://xkcd.com/149/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
Re: mutt and some GMail features [SEC=UNCLASSIFIED]
* Wilkinson, Alex alex.wilkin...@dsto.defence.gov.au [2011-06-10 14:47:45 +0800]: Something else that is brilliant is binding a key as such: Add this to your $HOME/.vimrc -- fix formatting -- * F1 to re-format the current paragraph correctly * F2 to format a line which is too long, and go to the next line * F3 to merge the previous line with the current one, with a correct nmapF1gqap nmapF2gqqj nmapF3kgqj map!F1ESCgqapi map!F2ESCgqqji map!F3ESCkgqji Neat, added it to my $HOME/.vimrc, we'll see how it goes. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
Re: gpg issues
* Chris Brennan xa...@xaerolimit.net [2011-06-06 19:27:03 -0400]: * Tim Guirgies lt.infiltra...@gmail.com [2011-06-07 03:57:37 +1000]: Can you please tell me the exact sequence you use to try to sign a message? Compose/reply to a piece of mail, esc:x to save it, I get moved to the post-reply window. From there 'p', 'a' to Sign As, it asks for my KEY ID, Can you try using 'p', then 's'? I tried this before (on the list I think) and when I was trying to get the same help from some tanacious fellow users from freenode/#mutt. It didn't work, but I will try again to see if something changed. 'p', 's' added the following to my headers Security: Sign (PGP/MIME) sign as: 0xeecd9a84d5b20c0c it still failed w/ the bad passphrase error I pasted earlier. Did you close and open my message after receiving the key? And can you make sure you got my key by doing gpg2 --list-keys? Yes, I even went as far as to restart mutt, I still don't see verified signature in any mail. What I do see at the top is the following: [-- PGP output follows (current time: Mon Jun 6 19:17:56 2011) --] gpg: Signature made Mon Jun 6 13:03:10 2011 EDT using RSA key ID BE773416 gpg: Good signature from Tim Guirgies lt.infiltra...@gmail.com gpg: aka Tim Guirgies tim.guirg...@gmail.com gpg: aka Tim Mazid (Current name; due to be changed 02/10/2011.) timma...@hotmail.com gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 2BED 9795 BB73 C716 A572 7292 6368 6B6A BE77 3416 [-- End of PGP output --] [-- The following data is signed --] .. ... .. [-- End of signed data --] In retrospect, I think this may have been what you were talking about and I just didn't understand what I was looking at yet. I admit, I was looking explicitly for Signature Verified. However, it seems to me like gpg and mutt aren't talking to each properly. We'll see after you try 'p' 's'. I was rolling that thought around my head all day, but I didn't know where to go with it. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? I'm out of idea's now ... I still can't sign mail, so I don't know if I have the wrong configuration somewhere or if it's mutt/gpg not talking for some reason. Either way, this is still unresolved. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? http://xkcd.com/84/ GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
Re: gpg issues
* Christian Brabandt cbli...@256bit.org [2011-06-07 08:22:51 +0200]: The better alternative is to ask vim, when formationoptions was set to include the 'l' flag. So when invoking the mail editor from mutt type :verbose set fo? and vim should explicitly tell you, where it was last set. Neat , indeed it tell me mutt-stewie-1000-24566-13547248091007304847 [+] formatoptions=tcqlw Last set from ~/.vim/after/ftplugin/mail.vim Press ENTER or type command to continue The contents of that file is below: syntax on setlocal wrap setlocal textwidth=72 do text=flowed wrapping setlocal formatoptions+=w don't autoindent or smartindent, as that just adds weird spaces into the middle of flowed text paragraphs setlocal noautoindent nosmartindent All my vim/mutt stuff can be seen at http://www.xaerolimit.net/home/~chris/backup/mutt-vim -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon?
Re: gpg issues
* Christian Brabandt cbli...@256bit.org [2011-06-07 17:58:50 +0200]: I think, the 'l' flag comes from $VIMRUNTIME/ftplugin/mail.vim In your case, ~/.vim/after/ftplugin/mail.vim just was executed later than the mail.vim from the vim runtime directory and happens to also change your 'fo' setting, so the verbose did not really help here. ch...@stewie.xaerolimit.net:~$ grep formatoptions /usr/share/vim/vim73/ftplugin/mail* /usr/share/vim/vim73/ftplugin/mail.vim:23: Set 'formatoptions' to break text lines and keep the comment leader . /usr/share/vim/vim73/ftplugin/mailaliases.vim:15:setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql /usr/share/vim/vim73/ftplugin/mailcap.vim:16:setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql ch...@stewie.xaerolimit.net:~$ Here are the three mail files from /usr/share/vim/vim73/ftplugin/{mail.vim,mailaliases.vim,mailcap.vim} line 15 in mailaliases.vim and line 16 in mailcap.vim are setting fo+=l, should I remove it from those files? Or move them locally? Incidentally, I thought local files took presedence to global files? Or is this a case of the vim maintainer not doing things as expected and ignoreing .files? -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon?
Re: mutt and some GMail features
* Ionel Mugurel Ciobica tga...@chem.tue.nl [2011-06-06 07:31:15 +0200]: On 5-06-2011, at 19h 00'22, Chris Brennan wrote about Re: mutt and some GMail features vim isn't obeying tw=72, I'm still having to trim my mail to ~72 characters. You added this line to .muttrc: set editor=/usr/bin/vim -c 'set ft=mail et tw=72' chris@stewie ~ $ grep editor .muttrc 65:#set editor='vim + -c set textwidth=72 -c set wrap -c set nocp -c ?^$' 66:set editor=/usr/bin/vim -c 'set ft=mail et tw=72' chris@stewie ~ $ line 65 is commented out, line 66 is not. or this line to .vimrc: set tw=72 chris@stewie ~ $ grep textwidth .vimrc 108:set textwidth=72 chris@stewie ~ $ Which one of the above doesn't work? I think you added the mutt command to .vimrc file... I think I got them right :D -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon?
Re: gpg issues
* Tim Guirgies lt.infiltra...@gmail.com [2011-06-06 19:38:02 +1000]: On Mon, Jun 06, 2011 at 07:22:11PM +1000, Tim Guirgies wrote: I was going to talk about vim too, but probably best if I reply in the other thread. Interestingly enough, I'm unable to find that other thread, so I'll say it here: type :set formatoptions in vim. You should see something like formatoptions=tcq. If t is not there, vim won't wrap even if you set the textwidth. See this site [1] for more info. [1] http://blog.ezyang.com/2010/03/vim-textwidth/ n vim (while editoring this email), I see the following formatoptions=tcqlw While in straight vim, I see formatoptions=tcq, So I don't get why vim won't break lines at 72, I'm still breaking them manually. P.S. Incidentally, is my mail being sent twice? I am still references the web interface and I see my mail to the list twice there... -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? binjLuTPYY6LK.bin Description: PGP Key 0xD5B20C0C.
Re: gpg issues
* Tim Guirgies lt.infiltra...@gmail.com [2011-06-07 03:03:12 +1000]: back on list :D Thankfully, gpg makes it pretty hard to do stupid things like sending out your private key. That block there is a PGP cleartext signature: what will appear with all your email once you begin to sign it; it's perfectly safe, and _is_ what signing is. Good, that actually makes me feel slightly better ;D And since you can do that, that means your password is definately correct, and you _can_ sign with that key. Yea, I was pretty sure I could, My pass is pretty damned complex and I knew it's right, it's practically ingrained in me. That's fair enough and not particularly weird; it just seemed odd, that's all. I will happily be odd. Makes I am doing my job! (What ever that is, I have NFC.) Yup. I got your key. ID D5B20C0C and subkey 65AD06FE; is that correct? Yes, that is me, you are PUB: BE773416, SUB: BE835FD3/F9682620? Well, it can't, actually. I've got it encrypted with gpg, and then in my .muttrc, I have: set imap_pass = `gpg --quiet --decrypt ~/.mutt-password-gmail` Note the backticks. This is for bash, but should work for all shells. Also, make sure you encrypt to yourself so that only your private key can decrypt it. Of course, gpg will still ask you to unlock the key when you start mutt anyway, so I don't really if it's a saving. :P I'll keep that handy would that work for my actual gmail password as well? After all that, however, we are no closer to solving your issue. Nope, we're not :( Can you please tell me the exact sequence you use to try to sign a message? Compose/reply to a piece of mail, esc:x to save it, I get moved to the post-reply window. From there 'p', 'a' to Sign As, it asks for my KEY ID, I enter either the 8-charater, 10-char hex, or my e-mail for my key and it asks me to confirm the right key, since there is only one to choose from, I hit enter. and I see the MINE and Security entries update in the header. Security: Sign (PGP/MIME) sign as: 0xD5B20C0C From that point, I hit 'y' to send and mutt prompts for my password, I enter it like a good drone, when I do, mutt then clears and I see my shell, and the following message is printed to stdout: gpg: skipped 0xD5B20C0C: Bad passphrase gpg: signing failed: Bad passphrase Press any key to continue... But I know my pass is right. Also, can you automatically verify my messages? To get my key, use gpg2 --recv-keys BE773416 Then, when you open (you'll need to close and open again) my messages in mutt, it should say signature verified at the top. I got your key without issue, but I don't see signature verified at the top. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon?
Re: gpg issues
* Tim Guirgies lt.infiltra...@gmail.com [2011-06-07 03:17:38 +1000]: From :help fo-table: l Long lines are not broken in insert mode: When a line was longer than 'textwidth' when the insert command started, Vim does not automatically format it. I'm guessing that you have no problems with auto-wrapping when you open other files? Just type vim into your shell and start hammering a sentence; it should wrap just fine. In just VIm, text wraps to my terminal, even when I explistily set the following befor typing. :set wrap :set tw=72 vim still blindly ignores textwidth, if I ditch my overtly long .vimrc, vim obeys like a good dog. but I loose lot of things that I've become accustomed to lol So, we need to figure out why you're getting that l there. First thing is to check your .vimrc. If you don't see anything there, look in your mail syntax file; mine is located at /usr/share/vim/vimcurrent/syntax/mail.vim, but yours may be elsewhere, depending on your distro. You can check which syntax file is in use with :set filetype. ch...@stewie.xaerolimit.net:~$ grep tw .vimrc 18:+-- When joining lines, leave the cursor between joined lines 64: set linespace=0 don't insert any extra pixel lines betweens rows 104:set shiftwidth=4 auto-indent amount when using cindent, , and stuff like that 108:set textwidth=72 183:au BufRead,BufNewFile *.rb,*.rhtml set shiftwidth=2 193:au BufRead,BufNewFile *.notes set shiftwidth=8 ch...@stewie.xaerolimit.net:~$ My .vimrc has some crazy stuff in it, but nothing that wacky that it shouldn't see and obey line 104 ... as you can see, I stopped manually breaking at ~72. P.S. Incidentally, is my mail being sent twice? I am still references the web interface and I see my mail to the list twice there... I do not believe so. I assume that you are using some sort of group by conversation/thread mode? If that is the case, you will be seeing your sent message, and then the one that the mailing list sends out to _everyone_, including yourself. Well, assuming that this list is configured the same as vger. :\ GMail usually filters out the return-mail from a list, maybe because I am using an MUA now and not the web interface... I just wanted to make sure I wasn't inappropriatly spamming the list w/ duplicates. Tim -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon?
Re: gpg issues
* Tim Guirgies lt.infiltra...@gmail.com [2011-06-07 03:43:45 +1000]: On Mon, Jun 06, 2011 at 01:31:43PM -0400, Chris Brennan wrote: In just VIm, text wraps to my terminal, even when I explistily set the following befor typing. :set wrap :set tw=72 vim still blindly ignores textwidth, if I ditch my overtly long .vimrc, vim obeys like a good dog. but I loose lot of things that I've become accustomed to lol First of all, :set wrap only wraps _visually_, which explains why it wraps to your terminal. If you have column display turned on, what does it say in the bottom right? My .vimrc has some crazy stuff in it, but nothing that wacky that it shouldn't see and obey line 104 ... as you can see, I stopped manually breaking at ~72. Also, I forgot to mention that l is an option to :set formatoptions; my bad. However, what you said leads me to suspect that somewhere in your .vimrc, you're doing :set formatoptions+=l. Look for that, or similar. ch...@stewie.xaerolimit.net:~$ grep formatoptions .vimrc 98: set formatoptions=rq Automatically insert comment leader on return, and let gq format comments ch...@stewie.xaerolimit.net:~$ grep formatoptions .vim/after/ftplugin/mail.vim 5:setlocal formatoptions+=w ch...@stewie.xaerolimit.net:~$ AFIACT, formatoptions+=l isn't being set in any of my vim files... just to be sure... ch...@stewie.xaerolimit.net:~$ grep -R formatoptions+=l .vimrc .vim/ Binary file .vim/temp/mutt-stewie-1000-22169-282303141413050223.swp matches ch...@stewie.xaerolimit.net:~$ I love vim, I'm starting to like mutt just as much, but the both of them together, equals an unrivaled hated for me! No seriously, I don't know what I did or didn't do here ... I can make available the following if you want to go over it: .vimrc .muttrc (password removed of course) .vim/ .mutt/ Tim -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon?
Re: gpg issues
* Tim Guirgies lt.infiltra...@gmail.com [2011-06-07 03:57:37 +1000]: Can you please tell me the exact sequence you use to try to sign a message? Compose/reply to a piece of mail, esc:x to save it, I get moved to the post-reply window. From there 'p', 'a' to Sign As, it asks for my KEY ID, Can you try using 'p', then 's'? I tried this before (on the list I think) and when I was trying to get the same help from some tanacious fellow users from freenode/#mutt. It didn't work, but I will try again to see if something changed. 'p', 's' added the following to my headers Security: Sign (PGP/MIME) sign as: 0xeecd9a84d5b20c0c it still failed w/ the bad passphrase error I pasted earlier. Did you close and open my message after receiving the key? And can you make sure you got my key by doing gpg2 --list-keys? Yes, I even went as far as to restart mutt, I still don't see verified signature in any mail. What I do see at the top is the following: [-- PGP output follows (current time: Mon Jun 6 19:17:56 2011) --] gpg: Signature made Mon Jun 6 13:03:10 2011 EDT using RSA key ID BE773416 gpg: Good signature from Tim Guirgies lt.infiltra...@gmail.com gpg: aka Tim Guirgies tim.guirg...@gmail.com gpg: aka Tim Mazid (Current name; due to be changed 02/10/2011.) timma...@hotmail.com gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 2BED 9795 BB73 C716 A572 7292 6368 6B6A BE77 3416 [-- End of PGP output --] [-- The following data is signed --] .. ... .. [-- End of signed data --] In retrospect, I think this may have been what you were talking about and I just didn't understand what I was looking at yet. I admit, I was looking explicitly for Signature Verified. However, it seems to me like gpg and mutt aren't talking to each properly. We'll see after you try 'p' 's'. I was rolling that thought around my head all day, but I didn't know where to go with it. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon?
Re: mutt and some GMail features
* Nicolas KOWALSKI nicolas.kowal...@gmail.com [2011-06-05 09:39:19 +0200]: set folder=imaps://nicolas.kowal...@imap.gmail.com/ OK, I've got something simmilar - set folder = imaps://imap.gmail.com:993 I'm setting imap_user on a seperate line, I didn't want to confuse the folder variable because I am using Google for Domains. Let's say I have a news label defined in Gmail. It also appears as an IMAP folder news, at the root of the IMAP hierarchy. Yeah, I figured out how to broswe the IMAP hierarchy, I just couldn't figure out how to actually move mail around to different folders. When viewing a message in INBOX, if I want to label it as news, then archive it, I just hit s, followed by =news. Mutt first copies the message in the news folder (labels it in Gmail), then removes the message from INBOX (archives it in Gmail). OK, so hitting 's' and then '=target folder' or is it :s='target folder'? Like I had said before, I've been using the web interface for quite some time now and I've amassed a complex nested structure of labels, some with spaces. A majority of my mail is already filtered and labeled for me, but there are a few that slip through, now at least I know I can label them from within mutt, I will reserve new label's and filters for the web interface for now. My next question is this, if the :s= cmd is used, do I put everything in single or double quotes after the equal sign? Treat it as a variable containing a string? Gmail/IMAP things are explained in details here: http://mail.google.com/support/bin/answer.py?answer=75725 This link explains the basics to IMAP in gernal, for which I already know, what it didn't explain was how to use GMail's IMAP features from within mutt, which seems to be a dead-zone of information, I found a plethoria of information on the net about how to set it up and I was able to set mutt up and log into my email without issue on the first try. Now I am emparking on the process of utilizing the advanced features of the web interface from within mutt. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon?
Re: mutt and some GMail features
* Grant Edwards grant.b.edwa...@gmail.com [2011-06-05 16:37:32 +]: In Gmail's IMAP server, folders == tags. OK, so I just tag it in mutt w/ :s='my label/in/a/nested/folder'? -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon?
Re: gpg issues
* Jostein Berntsen jber...@broadpark.no [2011-06-05 11:45:54 +0200]: When you do gpg --list-keys can you see your friend's mail address and your own in the output? Yes, I can, below is that output, with fudges for name/email chris@stewie ~ $ gpg --list-keys /home/chris/.gnupg/pubring.gpg -- pub 2048R/D5B20C0C 2011-06-04 uid Chris Brennan (xaero) xa...@xaerolimit.net sub 2048R/65AD06FE 2011-06-04 pub 2048R/ 2011-05-18 uid Friend Name (warg) @gmail.com uid [jpeg image of size 2241] sub 2048R/ 2011-05-18 chris@stewie ~ $ The problem resides when I manually attache my key w/ 'p' then 'a', I paste in 0xD5B20C0C, I can see the mime-type and my key in a 10-character hexidecimal string. I then hit 'y' to send the mail, mutt prompts for my key's password, and I enter it, mutt then balks out it, says bad passphrase and the mail isn't sent. This is where my mailing with mutt comes to a grinding halt halt. Currently, mutt is not applying my key automatically, which is fine for now. Once I know I can successfully sign outgoing mail, I will change my .muttrc to automatically add my key. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon
Re: gpg issues
* Jostein Berntsen jber...@broadpark.no [2011-06-05 20:47:04 +0200]: You should enter the email address that you have a key for after entering 'p' and 'a' instead for the hex value. You can also try signing with 'p' and 's'. I will try this and reply back to the list with my results. Thanks for the tip. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon?
Re: mutt and some GMail features
* Ionel Mugurel Ciobica tga...@chem.tue.nl [2011-06-05 21:37:13 +0200]: If you use vim for other than editing e-mails, you may want not to add that limit in your .vimrc. Instead add this to your .muttrc: set editor=/usr/bin/vim -c 'set ft=mail et tw=72' Perfect, I will add that over textwidth in my .vimrc, thanks -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon?
Re: mutt and some GMail features
* Ed Blackman e...@edgewood.to [2011-06-05 18:27:15 -0400]: That works OK for a small number of settings, but can become hard to manage. If vim filetype detection is enabled and working properly (entering :set filetype in command mode in vim returns filetype=mail), you can create $HOME/.vim/after/ftplugin/mail.vim and enter mail-specific settings there. For instance, mine starts out like: syntax on setlocal wrap setlocal textwidth=72 do text=flowed wrapping setlocal formatoptions+=w don't autoindent or smartindent, as that just adds weird spaces into the middle of flowed text paragraphs setlocal noautoindent nosmartindent As you can see, you can take as much space as you want to make things easy for your future self to understand why you're selecting certain settings. That's a great tip, and vim automatically picked the change up, I didn't have to do anything, (except fix some paste errors) except, vim isn't obeying tw=72, I'm still having to trim my mail to ~72 characters. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon?
Re: gpg issues
* Chris Brennan xa...@xaerolimit.net [2011-06-05 14:54:43 -0400]: * Jostein Berntsen jber...@broadpark.no [2011-06-05 20:47:04 +0200]: You should enter the email address that you have a key for after entering 'p' and 'a' instead for the hex value. You can also try signing with 'p' and 's'. I will try this and reply back to the list with my results. Thanks for the tip. No dice, It found my key / my e-mail address and it listed my Key-ID in hex, but I was still unable to acctually sign this e-mail, so I had to delete it. I did try both ways ('p' - 's') and ('p' - 'a'). -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon?
Re: gpg issues
* Brian Ryans brian.l.ry...@gmail.com [2011-06-05 21:32:03 -0500]: Quoting Chris Brennan on 2011-06-04 19:54: I added my 8-charcater key and mutt changes it to a 10-character hexidecimal key. Are the first two characters of the 10-character key 0x? If so that's just denoting the key's hex and are not part of the key; I haven't set it up in quite a long time, unfortunately, that's all I could think of re: that. yes, it prints 0xMy8CharKey, either way, it still refuses my passord ... and damn it all, tw=72 is not being obeyed! Ahh ell, I'll figure that out later, signing mail is more important. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon?
Re: mutt and some GMail features
* Tim Guirgies lt.infiltra...@gmail.com [2011-06-04 16:09:34 +1000]: On Fri, Jun 03, 2011 at 07:36:54PM -0400, Chris Brennan wrote: ... One more question for now, how do I limit the width when composing/replying to mail? That is actually between you and your editor. ;) You'll notice that mutts drops out into your editor when editing and composing messages. Here, you'll be able to (with a decent editor) set all sorts of formatting options. Which editor do you use? VIM of course ;D ... currently 7.3.135, I was a nano user but that got ... limiting, I've found that I can actually do so much more w/ vim then nano. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon?
Re: mutt and some GMail features
* Nicolas KOWALSKI nicolas.kowal...@gmail.com [2011-06-04 10:24:01 +0200]: On Fri, Jun 03, 2011 at 04:00:32PM -0400, Chris Brennan wrote: Gmail labels are available as folders in IMAP. So, to label a message, just save it to the corresponding folder. This also works for tagging messages as Spam. OK, so how are you saving the mail to folders? That part I haven't figured out yet. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? GPG: A2A8109A
Re: mutt and some GMail features
* Tim Guirgies lt.infiltra...@gmail.com [2011-06-05 05:39:17 +1000]: On Sat, Jun 04, 2011 at 10:31:54AM -0400, Chris Brennan wrote: OK, so how are you saving the mail to folders? That part I haven't figured out yet. From what I understand, it's thinking the reverse of tags. When you're in a folder with Gmail, what you're actually seeing is all the emails that are labelled with that label. The only real folders seem to be [Gmail]/All Mail and [Gmail]/Trash. So, onto my point, when you delete an email, you're actually only removing a label; when you move an email, you're removing a label and adding another; and when you're saving or copying, you're adding a label. I hope that's clear enough. See, what I am afraid of is that when I mark my mail as as deleted, that it will actually purge the 'deleted' mail and it will be gone for good (not what I want obviously.) My goal is to just remove the inbox label so that the mail is archived. I've been using GMail/Google for Domains for so long that almost all of my mail is already presorted by labels anyway, but there is the odd e-mail here and there that manages to go unlabeled. As it stands, I've just been letting my mail build up in my inbox and every few days, I just go and archive all the read-unstarred mail, but the point is to move away from the web interface as much as possible... -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? GPG: A2A8109A
gpg issues
A friend of mine shared his gpg key with me and showed me some of the basics to using gpg, I uncommented the source line in my .muttrc to start using it and when I get to the post-compose/confirmation window where I can add attachments, I figured out how to add my key, I added my 8-charcater key and mutt changes it to a 10-character hexidecimal key. I'm not exactly sure if that is the right behavior but that isn't the larger issue. The larger issue is when I go to actually send the mail (y), mutt prompts for my key's password as expected but gpg always returns a bad password error. Did I miss something? Attached is my gpg.rc -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? # vim: syntax=muttrc # -*-muttrc-*- # # Command formats for gpg. # # This version uses gpg-2comp from # http://70t.de/download/gpg-2comp.tar.gz # # $Id$ # # %pThe empty string when no passphrase is needed, # the string PGPPASSFD=0 if one is needed. # # This is mostly used in conditional % sequences. # # %fMost PGP commands operate on a single file or a file # containing a message. %f expands to this file's name. # # %sWhen verifying signatures, there is another temporary file # containing the detached signature. %s expands to this # file's name. # # %aIn signing contexts, this expands to the value of the # configuration variable $pgp_sign_as. You probably need to # use this within a conditional % sequence. # # %rIn many contexts, mutt passes key IDs to pgp. %r expands to # a list of key IDs. # Note that we explicitly set the comment armor header since GnuPG, when used # in some localiaztion environments, generates 8bit data in that header, thereby # breaking PGP/MIME. # decode application/pgp set pgp_decode_command=gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f # verify a pgp/mime signature set pgp_verify_command=gpg --status-fd=2 --no-verbose --quiet --batch --output - --verify %s %f # decrypt a pgp/mime attachment set pgp_decrypt_command=gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f # create a pgp/mime signed attachment # set pgp_sign_command=gpg-2comp --comment '' --no-verbose --batch --output - %?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f set pgp_sign_command=gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f # create a application/pgp signed (old-style) message # set pgp_clearsign_command=gpg-2comp --comment '' --no-verbose --batch --output - %?p?--passphrase-fd 0? --armor --textmode --clearsign %?a?-u %a? %f set pgp_clearsign_command=gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --textmode --clearsign %?a?-u %a? %f # create a pgp/mime encrypted attachment # set pgp_encrypt_only_command=pgpewrap gpg-2comp -v --batch --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f set pgp_encrypt_only_command=pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f # create a pgp/mime encrypted and signed attachment # set pgp_encrypt_sign_command=pgpewrap gpg-2comp %?p?--passphrase-fd 0? -v --batch --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f set pgp_encrypt_sign_command=pgpewrap gpg %?p?--passphrase-fd 0? --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f # import a key into the public key ring set pgp_import_command=gpg --no-verbose --import %f # export a key from the public key ring set pgp_export_command=gpg --no-verbose --export --armor %r # verify a key set pgp_verify_key_command=gpg --verbose --batch --fingerprint --check-sigs %r # read in the public key ring set pgp_list_pubring_command=gpg --no-verbose --batch --quiet --with-colons --list-keys %r # read in the secret key ring set pgp_list_secring_command=gpg --no-verbose --batch --quiet --with-colons --list-secret-keys %r # fetch keys # set pgp_getkeys_command=pkspxycwrap %r # pattern for good signature - may need to be adapted to locale! # set pgp_good_sign=^gpgv?: Good signature from # OK, here's a version which uses gnupg's message catalog: set pgp_good_sign=`gettext -d gnupg -s 'Good signature from ' | tr -d ''` # This version uses --status-fd messages set pgp_good_sign=^\\[GNUPG:\\] GOODSIG
mutt and some GMail features
I am new to mutt and I've getting some thing worked out but I am still hung up on somethings from using GMail and all their fancy features. While GMail in general is minimalistic, it's not enough for me. I need more. Mutt seems to suit my needs but I am curious. Is it possible to have mutt do the following * import/use/sync my contacts from the mail server? * properly label (I think mutt calls it tagging) my e-mail based on the labels I have already created in the Web Interface. (While I suspect the answer to this is no, I also suspect the answer to be yes with procmail, this would require I actually learn regex (which I haven't had time to get around to yet).) Currently, I've got mutt set up to use IMAP, which suites my needs because I also check/read/reply/compose mail from 2 mobile devices (an Android phone and an iPod Touch (using iMailG)). If I want to be able to use my mail in the same fashion as I have been, then I suspect I need to make a choice about how I manage my mail because I think using Procmail to sort my mail would require me to shift to pop3 which is rather undesireable right now. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon?
Re: Mailcap entry for viewing Word docx files on Mac
* Leo Vegoda l...@bind.org [2011-06-03 14:52:03 -0700]: On Fri, Jun 03, 2011 at 10:36:57PM +0100, Paul wrote: application/*; /usr/bin/open %s It just works as long as you have the appropriate program associated with the file type in Finder. It's only for text MIME types that I have more specific entries, and that's only so I can read HTML e-mail easily in mutt, rather than using a web browser for it. Hope this helps, Leo How exactly are you reading HTML mail via mutt? I haven't been able to figure that out yet. -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon?
Re: mutt and some GMail features
* David Champion d...@uchicago.edu [2011-06-03 17:52:06 -0500]: * On 03 Jun 2011, Chris Brennan wrote: I am new to mutt and I've getting some thing worked out but I am still hung up on somethings from using GMail and all their fancy features. While GMail in general is minimalistic, it's not enough for me. I need more. Mutt seems to suit my needs but I am curious. Is it possible to have mutt do the following * import/use/sync my contacts from the mail server? A program called 'goobook' will help with this. I haz googled for this, and checked it out, will fiddle with it later, thanks. * properly label (I think mutt calls it tagging) my e-mail based on the labels I have already created in the Web Interface. (While I suspect the answer to this is no, I also suspect the answer to be yes with procmail, this would require I actually learn regex (which I haven't had time to get around to yet).) This depends on how you're integrating mutt with gmail. If you're using IMAP then procmail doesn't come into play. To use procmail -- which would help with this problem -- you'd need to sync your gmail mailbox down to wherever you run mutt. That might be obvious to you but for the archive's sake it's worth making clear. Esentially, this is what I thought, I'd rather stick w/ IMAP so I can use my mobile devices as well. As far as I know, there is no way to retrieve the tags associated with a given message using Gmail's IMAP interface. You can retrieve messages with a given tag by selecting that tag/folder in the IMAP folder browser, but you can't go the opposite way. So there's no way to implicitly make that information available comprehensively to mutt. Didn't think so here either, would have been nice :D If Google did provide a virtual header that listed all labels associated with a message when you retrieve the message via POP/IMAP, I'd definitely support it in the keywords code I'm maintaining. Bonus points if it's a sort of approximately standard header. (I know we have had some gmail engineers on this list) This would be very nice, maybe wishfull thinking for the future? BTW, Thanks for your reply, goes far for me being able to use mutt instead of being slammed, flammed, bashed or just ignored ... One more question for now, how do I limit the width when composing/replying to mail? -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon?
Re: Mailcap entry for viewing Word docx files on Mac
* Leo Vegoda l...@bind.org [2011-06-03 15:47:38 -0700]: On Fri, Jun 03, 2011 at 06:37:36PM -0400, Chris Brennan wrote: This is the entry I use: text/html; lynx -dump -width=78 -nolist %s | sed 's/^ //'; copiousoutput; needsterminal; nametemplate=%s.html It is possible there is a more elegant way to do it but this entry works for me. At the same time I asked this, someone else pointed out else where the following text/html; /usr/bin/links2 -force-html %s they used elines, I just substituted links2, we'll see how it works -- -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon?