Issue 18775: name attribute for HMAC (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/62975

classification

Title: name attribute for HMAC
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.4

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: christian.heimes Nosy List: christian.heimes, gregory.p.smith, jaraco, python-dev
Priority: normal Keywords: patch

Created on 2013-08-18 16:35 by christian.heimes, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
hmac_name.patch christian.heimes,2013-08-18 16:35 review
Messages (4)
msg195570 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2013-08-18 16:35
In issue #18532 name attribute was officially documented and tested for hashing objects. PEP 247 considers HMAC as keyed hashing algorithm. Therefore I suggest that HMAC object should provide the same interface. It's a bit unfortunate that HMAC has a blocksize attribute for the default blocksize but the API defines a block_size attribute.
msg200730 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2013-10-21 09:03
I'm going to commit the patch this week. Speak now or forever hold your peace...
msg203501 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-11-20 16:35
New changeset 71f4a805d262 by Christian Heimes in branch 'default': Issue #18775: Add name and block_size attribute to HMAC object. They now http://hg.python.org/cpython/rev/71f4a805d262
msg212971 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-03-09 19:17
New changeset dde3fb877b07 by R David Murray in branch 'default': whatsnew: hmac conforms to pep 247. (#18775) http://hg.python.org/cpython/rev/dde3fb877b07
History
Date User Action Args
2022-04-11 14:57:49 admin set github: 62975
2014-03-09 19:17:40 python-dev set messages: +
2013-11-20 16:37:19 christian.heimes set status: open -> closedresolution: fixedstage: patch review -> resolved
2013-11-20 16:35:16 python-dev set nosy: + python-devmessages: +
2013-11-17 14:19:54 christian.heimes set assignee: christian.heimes
2013-10-21 09:03:09 christian.heimes set messages: +
2013-08-18 16:35:57 christian.heimes create