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

Anurag Chourasia anurag.chourasia at gmail.com
Wed Dec 29 07:47:40 CST 2010


Hi Dwayne,

I have added a comment to the existing report at
https://bugs.launchpad.net/pycrypto/+bug/502291

Appreciate your help in getting this into the mainstream.

<https://bugs.launchpad.net/pycrypto/+bug/502291>Regards,
Anurag

On Wed, Dec 29, 2010 at 12:11 PM, Dwayne C. Litzenberger <dlitz at dlitz.net>wrote:

> I'll have to look at this when I get back from my vacation.  Maybe file a
> bug report, or add a comment to an existing report if there is one already?
>
> "Anurag Chourasia" <anurag.chourasia at gmail.com> wrote:
>
> >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.
> >
> >Regards,
> >Anurag
> >
> >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
> >>
> >_______________________________________________
> >pycrypto mailing list
> >pycrypto at lists.dlitz.net
> >http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto
>
> --
> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
> _______________________________________________
> 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/688b4f28/attachment.htm 


More information about the pycrypto mailing list