PHP's openssl_sign() using M2Crypto?

KW usenet2 at wojasfoo.vvtpfoo.tudelftfoo.nlfoo
Mon May 22 17:24:56 EDT 2006


On 2006-05-22, heikki at osafoundation.org wrote:
> Does this work?:
>
> key = M2Crypto.EVP.load_key(keyfile, lambda x: passphr)
> key.sign_init()
> key.sign_update(message)
> signature = key.final()

No, I get this:
AttributeError: PKey instance has no attribute 'sign_init'

Best regards,
-- 
Konrad



More information about the Python-list mailing list