Re: About PGP encryption
On Fri, Feb 09, 2001 at 10:14:27PM -0800, Chip Paswater wrote: I have a source hack that leaves PGP Encrypted and Signed messages as inline text/plain text instead of PGP/MIME'ing them up. This allows PGP messages generated in mutt to be easily decrypted/verified in {perhaps broken] clients like Outlook and Eudora. The reason I did this was because the PGP/MIME stuff was garfing up the official PGP Outlook plugin. It can't seem to handle PGP/MIME attachments elegantly. I don't know who is on higher moral ground, the PGP/MIME folks for the NAI folks. All I want is a solution that works on more clients as painlessily as possible. I wouldn't mind seeing a .muttrc variable along the lines of "set pgpmime = yes/no" that does this functionality. If anyone wants the source hack, email me offline. I tried using signatures at work for a while and a lot of LookOut! people complained. Is there a standard for digital signatures? Mike -- Michael P. Soulier [EMAIL PROTECTED] "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to UNIX PGP Public Key: http://24.43.42.96/email.phtml PGP signature
Re: About PGP encryption
On 2000-10-03 01:45:02 +0300, Eugene Paskevich wrote: Can you explain what do you mean? app/pgp is Content-Type; but what is PGP/MIME? And is it the way decide my problem? PGP/MIME is what mutt uses to send pgp-encrypted and -signed messages. The idea is basically this: You take the message, then MIME-encode it entirely. The result looks like this (for example): Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable This attachment contains umlauts: =E4=F6=FC=DF Now, this entire MIME body part is encrypted/signed, and eventually put into some more MIME sugar. Here, PGP only ever touches us-ascii text (with which it deals nicely); the actual character set conversions are left to the software which interprets the inner MIME layers. -- Thomas Roessler [EMAIL PROTECTED]
Re: About PGP encryption
Bob Bell [[EMAIL PROTECTED]] asserted: On Fri, Sep 22, 2000 at 08:57:09PM +0300, Eugene Paskevich [EMAIL PROTECTED] wrote: That's very nice but I'd like my signature to be changed every time I compose a new message. Not every session of mutt. If you read the manual, you'll discover that if $signature ends with a pipe ("|"), then it is run as a program and the output is used as your signature. That's what I do. Same here. Works a treat ;-} [...] -- Paul A. Cheshire | A great nation is any mob of people which produces [EMAIL PROTECTED] | at least one honest man a century. No fences?| No Gates necessary. | PGP signature
Re: About PGP encryption
Bya godzina 23:09:13 w roda 20 wrzesie, gdy do autobusu wsiad kanar i wrzasn:"Eugene Paskevich!!! Bilecik do kontroli!!!" A on(a) na to: P.S. How can I include cookies from fortune for example into my signature? Answer directly please. I am sorry but i only know how to answer the second question. If you use vi or vim or (AFAIK) elvis, you have to leave one blank line at the very end of message and type: :$!/usr/games/fortune -s You can also append the name of collection(s) that exist(s) in e.g. /usr/share/games/fortunes you want use or build your own collection. This command is a simple _filter_ which changes the content of the last line. You can write your own script that would build entire signature and put its invocation to vimrc. HANDON -- |/ |_, _ .- --,2:480/135@fido[EMAIL PROTECTED] |__ |_|. | \ |_|. ._' /_. 101:1000/135@unholy ...Przez ulic przechodzi na tym wietle, jabka obiera yletk, lubi ryzyko
Re: About PGP encryption
Using a large mallet, Lukasz Stelmach whacked out: By³a godzina 23:09:13 w ¶roda 20 wrzesieñ, gdy do autobusu wsiad³ kanar i wrzasn±³:"Eugene Paskevich!!! Bilecik do kontroli!!!" A on(a) na to: P.S. How can I include cookies from fortune for example into my signature? Answer directly please. I am sorry but i only know how to answer the second question. If you use vi or vim or (AFAIK) elvis, you have to leave one blank line elvis is a vi clone again ... rather barebones, but I like it :) at the very end of message and type: :$!/usr/games/fortune -s ... or use this little shell script - #!/bin/sh WHOAMI=`whoami` if [ -f /tmp/sig.$USER ] then rm -f /tmp/sig.$USER fi cat $HOME/.signature /tmp/sig.$USER /usr/games/fortune -s /tmp/sig.$USER /usr/local/bin/mutt put this in your homedir, and set your signature as /tmp/sig.[your_usrename] in your muttrc Symlink this to mutt in your homedir - and call ./mutt everytime :) -- Suresh Ramasubramanian + [EMAIL PROTECTED] Lumber Cartel of India + You spamma my mailbox, I nukea da ass Hanlon's Razor: Never attribute to malice that which is adequately explained by stupidity.
Re: About PGP encryption
The address [EMAIL PROTECTED] is preferred over [EMAIL PROTECTED] On 2000.09.20, in [EMAIL PROTECTED], "Eugene Paskevich" [EMAIL PROTECTED] wrote: P.S. How can I include cookies from fortune for example into my signature? Answer directly please. You probably missed the other replies if you're not on the list. (That's a problem with using using lists/subscribe -- lots of lists are open.) Anyway, from the other replies I gather that the usual command for fortune is "/usr/games/fortune -s". In that case, put this in your .muttrc: set signature="/usr/games/fortune -s |" to have just a fortune. If you want to use a standard sig plus a fortune, try: set signature="cat .sig.std; /usr/games/fortune -s |" Or get fancier: set signature="/usr/games/fortune -s | fmt -w 45 | paste .sig.std - |" ...you get the idea. This last is essentially what I used below, except that I had to fake /usr/games/fortune since I didn't install it on my system. You can just replace all the stuff with "~/bin/foo |", where "~/bin/foo" is some script that creates the signature text however you please. -- -D."Spoke with Camus today about my cookbook. [EMAIL PROTECTED] Though he has never actually eaten, he gave NSIT me much encouragement. I rushed home University of Chicago immediately to begin work."
Re: About PGP encryption
Hello Mutt Users! On pi 22 wrz 2000 08:54:44 GMT Suresh Ramasubramanian wrote: at the very end of message and type: :$!/usr/games/fortune -s ... or use this little shell script - Or better use some program such as signature, which creates a FIFO and passes output of given program to it. It can also randomly choose sig from a file. -- Tomasz Olszewski | [EMAIL PROTECTED] "Gos przyrodzenia zagusza gos sumienia." -- Jan Sztaudynger
Re: About PGP encryption
On Fri, Sep 22, 2000 at 08:54:44AM +, Suresh Ramasubramanian wrote: ... or use this little shell script - #!/bin/sh WHOAMI=`whoami` if [ -f /tmp/sig.$USER ] then rm -f /tmp/sig.$USER fi cat $HOME/.signature /tmp/sig.$USER /usr/games/fortune -s /tmp/sig.$USER /usr/local/bin/mutt That's very nice but I'd like my signature to be changed every time I compose a new message. Not every session of mutt. -- Eugene Paskevich | *==(--- |"Alrighty then!" [EMAIL PROTECTED] | ---)==* | -- Ace Venture Public PGP key:mailto:[EMAIL PROTECTED]?subject=publicpgpkey {Mutt 1.2.4i} Moderator of [EMAIL PROTECTED] Be afraid. ;)
Re: About PGP encryption
On 22-Sep-2000, Eugene Paskevich wrote: That's very nice but I'd like my signature to be changed every time I compose a new message. Not every session of mutt. It's hinted in the manual. set signature = "program_that_generates_random_sig|" Notice the vertical bar at the end. Ronny
Re: About PGP encryption
At 1:57 PM EDT on September 22 Eugene Paskevich sent off: On Fri, Sep 22, 2000 at 08:54:44AM +, Suresh Ramasubramanian wrote: ... or use this little shell script - #!/bin/sh WHOAMI=`whoami` if [ -f /tmp/sig.$USER ] then rm -f /tmp/sig.$USER fi cat $HOME/.signature /tmp/sig.$USER /usr/games/fortune -s /tmp/sig.$USER /usr/local/bin/mutt That's very nice but I'd like my signature to be changed every time I compose a new message. Not every session of mutt. Then modify the above script to be wrapper for the editor that mutt calls instead of being an editor for mutt. For example my editor=editor, a script that calls emacsclient if the server is running, and jed otherwise. For more control (i.e. what if fortune gives you something you don't want to send out, and you want to try again) check out my mutt page: http://astro.utoronto.ca/~reid/mutt/ -- I've never had major knee surgery on any other part of my body. - Winston Bennett, University of Kentucky basketball forward Robert I. Reid [EMAIL PROTECTED] http://astro.utoronto.ca/~reid/ PGP Key: http://astro.utoronto.ca/~reid/pgp.html
Re: About PGP encryption
On Fri, Sep 22, 2000 at 08:57:09PM +0300, Eugene Paskevich [EMAIL PROTECTED] wrote: That's very nice but I'd like my signature to be changed every time I compose a new message. Not every session of mutt. If you read the manual, you'll discover that if $signature ends with a pipe ("|"), then it is run as a program and the output is used as your signature. That's what I do. -- Bob Bell [EMAIL PROTECTED] - "It [Linux] will certainly drive us to put new stuff into our products." -- John Carpenter, Microsoft manager
About PGP encryption
Hi! I've got a problem out here with which, I hope, you can help me to cope. Preface: As you probably noticed I'm from Ukraine and we usually use Russian or Ukrainian langs here. My output CP is set to Koi8-r. There is an option in .muttrc called "charset-hook" for decoding messages on-the-fly. The problem is: If I recieve a normal text in charset which was hooked in .muttrc everything decodes just fine. But in case of encrypted PGP message which originally was in other CP than Koi8 then it just decrypts and doesn't send it to decoder of CP's. Possible solve: To switch decrypting and decoding. First decrypt then decode the output of decryption. Guess it should help. Any other variants how to do this in other way? P.S. How can I include cookies from fortune for example into my signature? Answer directly please. -- Eugene Paskevich | *==(--- |"Alrighty then!" [EMAIL PROTECTED] | ---)==* | -- Ace Venture Public PGP key:mailto:[EMAIL PROTECTED]?subject=publicpgpkey {Mutt 1.2.4i} Moderator of [EMAIL PROTECTED] Be afraid. ;)