I didn't look too carefully, but it looks like the problem is that you're decoding the Content-Transfer-Encoding before passing it to gpg. Rather than using the python MIME-handling functions to get the signed message body, you want to just take everything between the first and second boundary lines (not including the CR/LF preceding the closing boundary line) and verify that.
If it's still not working, you could replace your copy of gpg with a script that just writes the inputs out to temp files, and then compare what evolution is passing to it with what your python script passes to it. -- Dan _______________________________________________ evolution maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/evolution