[Zope] Python Method help in using GPG to sign documents generated in Zope

pskipwort@touchcorp.com pskipwort@touchcorp.com
Fri, 17 Jan 2003 11:05:14 +1100


I haven't done this under GPG/Zope before, but have done it with PGP 
from within Perl scripts.
 
You'll probably need to write an External Method to set the necessary 
environmental variables and call the GPG binaries, calling them in a 
fashion will will send the output to STDOUT. Capture the STDOUT output 
and then email it...
 
 

-----Original Message-----
From: norman@khine.net [mailto:norman@khine.net]
Sent: Friday, 17 January 2003 9:48 AM
To: zope@zope.org
Subject: [Zope] Python Method help in using GPG to sign documents 
generated in Zope




Hello,
I am trying to implement a system where I can sign, using GPG, documents 
generated from within Zope, email these documents out of Zope.
 
So for example, I have a form, into which I fill some information, when 
I  press Send, the data within this form is signed and emailed.
 
I can generate the document and put the content in a temp file outside 
Zope and then using a cron job, the contents are mailed out.
 
Has anyone done something like this before or would this be the best way 
to do it, or should I just keep it outside Zope?
 
Any help will be much appreciated.
 
Thanks