[pycrypto] Create a Digital Signature (DER Encoded PKCS#1) - SHA1withRSA

Anurag Chourasia anurag.chourasia at gmail.com
Tue Dec 28 19:32:39 CST 2010

Hi Thorsten,

Thanks for the information. I believe that the patch that you mentioned will
help me :-)

The patch mentioned in your email was from January 2010 and is in the form
of a diff between files.

Are we supposed to make those modifications manually or is there a
downloadable somewhere? I am wondering if there is any specific reason that
the change is not a part of the mainstream that a user like me should be
aware of or better if the files are going to be included in the Trunk
anytime soon :-)

Thanks again for your help today.


On Wed, Dec 29, 2010 at 3:39 AM, Thorsten Behrens <sbehrens at gmx.li> wrote:

>  >> It wasn't for Home Work :-)
> Okay :D
> >
> > m.digest()
> > or
> > m.hexdigest() as the computed hash value.
> That depends on what you want to do next. m.digest() returns the digest
> in binary form, ready to be used for further manipulation, such as
> having it signed. m.hexdigest() returns it in a form suitable for
> inclusion in a text transmission, such as email.
> > Following this, how can i use Crypto again to Sign the computed Hash
> > Value using the Private Key?
> >
> PKCS #1 has not been integrated into trunk yet. There is a patch
> available, though, here: https://bugs.launchpad.net/pycrypto/+bug/502291
> Thorsten
> _______________________________________________
> pycrypto mailing list
> pycrypto at lists.dlitz.net
> http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.dlitz.net/pipermail/pycrypto/attachments/20101229/02b70f36/attachment.htm 

More information about the pycrypto mailing list