Re: s/mime anyone?

Francisco Jesus Monserrat Coll <[email protected]> Thu, 13 Oct 2005 17:40:04 +0200
Newsgroups gmane.mail.exmh.devel
Organization Red.es http://www.red.es/
Message-ID <[email protected]>
El día Fri, 07 Oct 2005 23:44:55 +1000  [email protected] escribió:
>Hi,
>

Hello,

I'm glad that this would be useful.

>It sure is! Thanks for this script. We've lately found a pressing need to
>verify messages sent with pkcs7 certs (eg Thunderbird) and I've used it
>pretty much as is to get me started. I know everyone here knows this stuff
>better than I do, but FWIW here's my proc:
>
>proc SMIME_Check {} {
>  global exmh env
>  Ftoc_Iterate line {
>    set msgid [Ftoc_MsgNumber $line]
>    set file /home/$env(USER)/Mail/$exmh(folder)/$msgid
>    Exmh_Status "S/MIME Checking $exmh(folder)/$msgid..."
>    catch { MhExec /home/$env(USER)/script/pgpssl $file } tmp
>    Exmh_Status "$tmp"
>  }
>}
 Ok , I'm not very fluent with tcl/tk and exmh programming, 
after putting this code in a ~/.tk/exmh/smime.tcl and issuing a 
auto_mkindex ~/.tk/exmh  *.tcl in the tcl shell.

How can I invoke the SMIME_Check {}, do I need at some 
entries to the menu buttons ?


>I don't know Perl myself, but I'm going to ask my programmer here to make
>the return status a little more helpful (it seems to return '0' whether
>message verifies ok or not?), and then I can incorporate some friendly
>feedback within exmh. I'll post you anything we change.
>
 The code was quite incomplete I started it some time ago 
when I'd some time, but never finished it, so you can reuse 
it and manage to develop something useful I will surely use 
 it.

regards

paco

>cheers,
>-- Joel Hatton --
>Security Analyst                    | Hotline: +61 7 3365 4417
>AusCERT - Australia's national CERT | Fax:     +61 7 3365 7031
>The University of Queensland        | WWW:     www.auscert.org.au
>Qld 4072 Australia                  | Email:   [email protected]
>
>

-- =
Francisco Jesus Monserrat Coll PGP key: http://www.rediris.es/keyserver
Rediris. Entidad Pública Empresarial Red.es 
Pza. Manuel Gómez Moreno, s/n Madrid 28014 SPAIN. tel +034 912127625

_______________________________________________
Exmh-workers mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/exmh-workers
signature.asc (application/pgp-signature, 335 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Exmh version 2.1.0

iQCVAwUBQ05/1FKs6y7TpCxhAQKabAQAnfftX7wTHR2V/AC1qfRH9/7vwDtIH8ra
0v9EUwIZ8EtXwuckNzWhlqQW9bNswuxs6Occ3Hzjlp2XC79tovlIxh0xegUeUxPs
U/8874IIHhMN5xcYOY/Vi9FZKOR3nqx2Hdlb9jtUnGGQ+0ZMX3v+/6KQhEOoGMVI
9CMRnz9cPDI=
=nN1f
-----END PGP SIGNATURE-----