[Pyme-help] help needed with verify and 0.5.0
Status: Beta
Brought to you by:
belyi
From: Carsten R. <car...@ga...> - 2008-11-19 19:19:10
|
Hello, sory for asking for help for this _very outdated_ version of pyme, but the system that has to be used does not allow any other version because of the underlying gpgme-lib. I managed to en- and decrypt messages and sign as well but verifying does not work for me. The problem is in the third parameter of op_verify which in the original gpgme-func is of type GpgmeSigStat and will take the summarized result of the verification (with 0.8.0 you can do that with op_verify_result() and then check the signatures yourself). As far as I can see there is no equivalent to this GpgmeSigStat-type in pyme so I tried to set it to None or use an integer var but the latter resulted in a type error requesting a _p_GpgmeSigStat type for that variable while the first resulted in an error messoge 'Invalid value (3)'. I tried as well using only op_verify_start and asking get_sig_ulong_attr(0, attr.SIG_SUMMARY, 0) afterwards but that does not lead to anything else but zero as return value. So is 0.5.0 not able to verify signatures or am I too blind to see how that works? Any help, hints etc. warmly appreciated. Thanks in advance Carsten Reimer -- Carsten Reimer Web Developer car...@ga... Phone +49.228.42150.73 Galileo Press GmbH Rheinwerkallee 4 - 53227 Bonn - Germany Phone +49.228.42150.0 (Zentrale) .77 (Fax) http://www.galileo-press.de/ Managing Directors: Tomas Wehren, Ralf Kaulisch, Rainer Kaltenecker HRB 8363 Amtsgericht Bonn |