On 2006-05-23, [EMAIL PROTECTED] wrote:
> That is really strange, because PKey has had sign_init method since
> 2004. That code works for me (just tested). What version of M2Crypto
> are you using? I'd advice you upgrade to 0.15 if possible. See
>
> http://wiki.osafoundation.org/bin/view/Projects/M
On 2006-05-22, [EMAIL PROTECTED] 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
--
htt
On 2006-05-21, Heiko Wundram wrote:
> Hi all!
>
> The following PEP tries to make the case for a slight unification of for
> statement and list comprehension syntax.
Sounds great!
--
Konrad
--
http://mail.python.org/mailman/listinfo/python-list
On 2006-05-20, KW wrote:
> I'm trying to convert some PHP code using OpenSSL to Python and I'm stuck
> on openssl_sign() which uses an RSA private key to compute a signature.
I think basicly my question is: how do I extract the key from a private
key in M2Crypto?
Best reg
I'm trying to convert some PHP code using OpenSSL to Python and I'm stuck
on openssl_sign() which uses an RSA private key to compute a signature.
Example PHP code:
$privkeyid = openssl_get_privatekey($priv_key, $key_pass);
openssl_sign($data, $signature, $privkeyid);
openssl_free_key($privk
I'm looking for a nice way to do i18n with XSLT, preferably using the
gettext framework. Currently I'm using 4Suite for XSLT processing. Do
you know of any solutions to this problem?
If no solutions currently exist, I'll try to write something myself. Any
ideas on how to do this properly? Any exis