[issue1385] hmac module violates RFC for some hash functions, e.g. sha512

2010-09-23 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue1385] hmac module violates RFC for some hash functions, e.g. sha512

2007-11-06 Thread Joachim Wagner
Joachim Wagner added the comment: Thanks. Looks great! Also thanks for the hint to rfc 4321. This answers the questions how my application can identify whether the right python version is running. JJ __ Tracker <[EMAIL PROTECTED]>

[issue1385] hmac module violates RFC for some hash functions, e.g. sha512

2007-11-05 Thread Georg Brandl
Changes by Georg Brandl: -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Un

[issue1385] hmac module violates RFC for some hash functions, e.g. sha512

2007-11-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: Fixed in release25-maint branch in svn r58870. -- versions: -Python 2.5 __ Tracker <[EMAIL PROTECTED]> __ _

[issue1385] hmac module violates RFC for some hash functions, e.g. sha512

2007-11-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: Fixed in trunk (2.6) svn revision 58868 with rfc 4231 unit tests and tests for the new warnings. The fix parts of that diff should be backported to 2.5. I'm leaving the Python 2.5 flag on the bug until that happens. I'm leaving Python 3.0 and py3k tags on th

[issue1385] hmac module violates RFC for some hash functions, e.g. sha512

2007-11-05 Thread Gregory P. Smith
Changes by Gregory P. Smith: -- components: +Library (Lib) -None versions: +Python 2.5, Python 2.6 __ Tracker <[EMAIL PROTECTED]> __ ___ Python-

[issue1385] hmac module violates RFC for some hash functions, e.g. sha512

2007-11-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: option 1 sounds best. i'll take care of this. thanks for noticing this and providing suggestions and a patch. __ Tracker <[EMAIL PROTECTED]> __ ___

[issue1385] hmac module violates RFC for some hash functions, e.g. sha512

2007-11-05 Thread Guido van Rossum
Changes by Guido van Rossum: -- assignee: -> gregory.p.smith nosy: +gregory.p.smith __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mail

[issue1385] hmac module violates RFC for some hash functions, e.g. sha512

2007-11-04 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: +patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1385] hmac module violates RFC for some hash functions, e.g. sha512

2007-11-04 Thread Joachim Wagner
New submission from Joachim Wagner: (First time submitting a patch to this system.) The hmac module uses a fixed blocksize of 64 bytes. This is fine for many hash functions like md5, sha1 and sha256, but not for sha512 or in the general case. The RFC referenced in the python documentation spec