Re: Mutt and GPG: how to manually verify the signature of a

2007-04-16 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday, April 15 at 01:45 AM, quoth Stefano Sabatini:
> Hi to all mutters, and sorry for the likely dumb question I'm posting.

No prob; this may be a dumb answer.

> I'm testing mutt and gnupg, I can verify with no problem messages 
> signatures, but it fails when I do it manually, saving in distinct 
> files the message and the signature.
>
> For example if I save the (clear) message in "message", and the 
> signature in "signature.asc", then the command:
>
> gpg --verify signature.asc message

The message *body* or the message itself? Generally the message 
includes all sorts of things (headers and such) that are not part of 
what gets signed.

~Kyle
- -- 
To announce that there must be no criticism of the President, or that 
we are to stand by the President, right or wrong, is not only 
unpatriotic and servile, but is morally treasonable to the American 
public.
-- Theodore Roosevelt, 1912
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iD8DBQFGIyE0BkIOoMqOI14RApVRAJ9FigIvfeN8Hj9EUD6mLF62C2M1IACfSvES
/PUMuJRJVPy5O0ulIGktALs=
=KgJF
-END PGP SIGNATURE-


Re: Mutt and GPG: how to manually verify the signature of a message?

2007-04-16 Thread Stefano Sabatini
On date Monday 2007-04-16 01:09:40 -0600, Kyle Wheeler muttered:
> On Sunday, April 15 at 01:45 AM, quoth Stefano Sabatini:
> [...]
> > I'm testing mutt and gnupg, I can verify with no problem messages 
> > signatures, but it fails when I do it manually, saving in distinct 
> > files the message and the signature.
> >
> > For example if I save the (clear) message in "message", and the 
> > signature in "signature.asc", then the command:
> >
> > gpg --verify signature.asc message
> 
> The message *body* or the message itself? Generally the message 
> includes all sorts of things (headers and such) that are not part of 
> what gets signed.

Sorry if I've not been very clear.

I'm considering multipart/signed attatchments. In order to save the
different parts of the attachment, I'm using the mutt attachment menu,
I save the text/plain and the application/pgp-signature in different
files (respectively message and signature.asc), so the "message" file
only contains the body of the mail (which is supposedly the part which
is signed).

Cheers
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)


saving attachements

2007-04-16 Thread Thorsten Scherf

Hi,

is it possible to define a specific folder where all saved attchements goes
into?

Thanks,
Thorsten

--


Re: saving attachements

2007-04-16 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday, April 16 at 09:23 PM, quoth Thorsten Scherf:
> is it possible to define a specific folder where all saved 
> attchements goes into?

As in, can you prevent people from saving attachments elsewhere? No. 
Can you specify a default one? Sure:

 save-hook . /name/of/folder

~Kyle
- -- 
I love America more than any other country in this world, and, exactly 
for this reason, I insist on the right to criticize her perpetually.
-- James Baldwin, Notes of a Native Son
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iD8DBQFGI9KIBkIOoMqOI14RAmrNAKC6z3VvrdP2Q6mlo5zgWFd2n1+mKQCeMrkk
RXePNkH26K5okresRf8Qmlk=
=qnAg
-END PGP SIGNATURE-


Re: saving attachements

2007-04-16 Thread Thorsten Scherf

On [Mon, 16.04.2007 13:46], Kyle Wheeler wrote:

On Monday, April 16 at 09:23 PM, quoth Thorsten Scherf:
is it possible to define a specific folder where all saved 
attchements goes into?


As in, can you prevent people from saving attachments elsewhere? No. 
Can you specify a default one? Sure:


Hm, maybe I did something wrong, but this worked only for saving mails, not
for attachements. I have this in muttrc:

save-hook . ~/Mail/saved

When I save a regular mail, it goes into the folder mentioned above. But
when I now save an attachement, it goes into ~




Re: saving attachements

2007-04-16 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday, April 16 at 10:08 PM, quoth Thorsten Scherf:
> Hm, maybe I did something wrong, but this worked only for saving 
> mails, not
> for attachements. I have this in muttrc:
>
> save-hook . ~/Mail/saved
>
> When I save a regular mail, it goes into the folder mentioned above. But
> when I now save an attachement, it goes into ~

Ah, hm, I misread you there. Huh, I wonder why that doesn't trigger 
the . save-hook... You may want to submit a bug report to 
http://bugs.mutt.org

~Kyle
- -- 
Strong coffee, much strong coffee, is what awakens me. Coffee gives me 
warmth, waking, an unusual force and a pain that is not without very 
great pleasure.
  -- Napoleon Bonaparte
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iD8DBQFGI9m5BkIOoMqOI14RAsAVAJsFTK1WCV1O7nfIN/TqfnRdtN4iDwCfQ8Q2
oLG/i9L+T6jxwftlirDScFg=
=83CU
-END PGP SIGNATURE-


Re: saving attachements

2007-04-16 Thread Przemyslaw Gawronski
Hi

> is it possible to define a specific folder where all saved attchements goes
> into?

I find these macros useful:

macro attach s /home/gawron/attachments/
macro attach S 

Przemek
-- 
AIKIDO TANREN DOJO  -   Poland - Warsaw - Mokotow - Ursynow - Natolin
info: http://www.tanren.pl/ phone: +4850151 email: [EMAIL PROTECTED]