Jochen Sch=F6nfelder wrote:
>looks to me as if op_verify(signature,text,dummy) doesn't work.. it =
reads the
>signature, but seems to ignore the text, as I don't have to rewind i=
t, to read
>it's contents...
>
>example session:
>------------------------------------------------
> =20
>
>>>>c.op_verify(signature,text,dummy)
>>>>dummy.read()
>>>> =20
>>>>
To verify detached signature you need use c.op_verify(signature, text=
,=20
None) and then call c.op_verify_result() to verify result.
Whenever in 'info gpgme' they say 'null pointer' it should be None in=
PyMe.
For attached (normal) signatures you would use c.op_verify(signature,=
=20
None, dummy) to get clear text in dummy which would need to be rewind=
ed=20
afterwards.
Hope it helps,
Igor
|