Title: hmac.secure_compare() leaks information about length of strings · Issue #59266 · python/cpython · GitHub
Open Graph Title: hmac.secure_compare() leaks information about length of strings · Issue #59266 · python/cpython
X Title: hmac.secure_compare() leaks information about length of strings · Issue #59266 · python/cpython
Description: BPO 15061 Nosy @loewis, @birkenfeld, @gpshead, @ncoghlan, @pitrou, @tiran, @alex, @akheron, @hynek, @serhiy-storchaka Files secure_compare_length.patchtimingsafe.htimingsafe_cmp.patchtimingsafe_cmp-2.patchcompare_digest_c.patchcompare_di...
Open Graph Description: BPO 15061 Nosy @loewis, @birkenfeld, @gpshead, @ncoghlan, @pitrou, @tiran, @alex, @akheron, @hynek, @serhiy-storchaka Files secure_compare_length.patchtimingsafe.htimingsafe_cmp.patchtimingsafe_cmp...
X Description: BPO 15061 Nosy @loewis, @birkenfeld, @gpshead, @ncoghlan, @pitrou, @tiran, @alex, @akheron, @hynek, @serhiy-storchaka Files secure_compare_length.patchtimingsafe.htimingsafe_cmp.patchtimingsafe_cmp...
Opengraph URL: https://github.com/python/cpython/issues/59266
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"hmac.secure_compare() leaks information about length of strings","articleBody":"BPO | [15061](https://bugs.python.org/issue15061)\n--- | :---\nNosy | @loewis, @birkenfeld, @gpshead, @ncoghlan, @pitrou, @tiran, @alex, @akheron, @hynek, @serhiy-storchaka\nFiles | \u003cli\u003e[secure_compare_length.patch](https://bugs.python.org/file26003/secure_compare_length.patch \"Uploaded as text/plain at 2012-06-13.23:00:23 by @tiran\")\u003c/li\u003e\u003cli\u003e[timingsafe.h](https://bugs.python.org/file26068/timingsafe.h \"Uploaded as text/x-chdr at 2012-06-21.16:24:38 by @tiran\")\u003c/li\u003e\u003cli\u003e[timingsafe_cmp.patch](https://bugs.python.org/file26079/timingsafe_cmp.patch \"Uploaded as text/plain at 2012-06-21.22:40:28 by @tiran\")\u003c/li\u003e\u003cli\u003e[timingsafe_cmp-2.patch](https://bugs.python.org/file26106/timingsafe_cmp-2.patch \"Uploaded as text/plain at 2012-06-23.14:20:27 by @tiran\")\u003c/li\u003e\u003cli\u003e[compare_digest_c.patch](https://bugs.python.org/file26112/compare_digest_c.patch \"Uploaded as text/plain at 2012-06-23.17:57:49 by @tiran\")\u003c/li\u003e\u003cli\u003e[compare_digest_c-2.patch](https://bugs.python.org/file26120/compare_digest_c-2.patch \"Uploaded as text/plain at 2012-06-24.00:07:43 by @tiran\")\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2012-06-24.13:12:05.157\u003e\ncreated_at = \u003cDate 2012-06-13.23:00:23.931\u003e\nlabels = ['type-security', 'library']\ntitle = 'hmac.secure_compare() leaks information about length of strings'\nupdated_at = \u003cDate 2012-06-24.13:12:05.156\u003e\nuser = 'https://github.com/tiran'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2012-06-24.13:12:05.156\u003e\nactor = 'christian.heimes'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2012-06-24.13:12:05.157\u003e\ncloser = 'christian.heimes'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2012-06-13.23:00:23.931\u003e\ncreator = 'christian.heimes'\ndependencies = []\nfiles = ['26003', '26068', '26079', '26106', '26112', '26120']\nhgrepos = []\nissue_num = 15061\nkeywords = ['patch', 'needs review']\nmessage_count = 96.0\nmessages = ['162739', '162758', '162759', '162760', '162761', '162762', '162763', '162764', '162765', '162766', '162767', '162768', '162769', '162770', '162773', '162775', '162777', '162778', '162838', '162845', '162846', '162847', '162848', '162850', '162852', '162853', '162855', '162856', '162857', '162858', '162859', '162860', '162861', '162862', '162863', '162864', '162865', '162866', '162867', '162868', '162871', '162872', '162873', '162875', '162877', '162880', '162882', '162885', '162888', '162891', '162892', '162893', '162895', '162899', '162914', '162949', '162950', '163159', '163163', '163168', '163170', '163186', '163188', '163192', '163193', '163196', '163204', '163329', '163333', '163343', '163347', '163365', '163366', '163368', '163371', '163377', '163378', '163385', '163390', '163468', '163469', '163613', '163614', '163615', '163617', '163619', '163623', '163625', '163626', '163627', '163630', '163652', '163671', '163696', '163780', '163784']\nnosy_count = 13.0\nnosy_names = ['loewis', 'georg.brandl', 'gregory.p.smith', 'ncoghlan', 'pitrou', 'christian.heimes', 'alex', 'fijall', 'python-dev', 'petri.lehtinen', 'hynek', 'serhiy.storchaka', 'Jon.Oberheide']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'security'\nurl = 'https://bugs.python.org/issue15061'\nversions = ['Python 3.3']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/tiran","@type":"Person","name":"tiran"},"datePublished":"2012-06-13T23:00:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":96},"url":"https://github.com/59266/cpython/issues/59266"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e47f9aa3-eeae-7f99-0037-effd1af54152 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8768:7E3D2:4E23895:6EB9AF1:6A4FD7B9 |
| html-safe-nonce | d194b22c3826c5062756b36bb085abc42c9cf6828b18043e15ca766ede437185 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzY4OjdFM0QyOjRFMjM4OTU6NkVCOUFGMTo2QTRGRDdCOSIsInZpc2l0b3JfaWQiOiI3MjUxOTczNDU5ODM5ODAxMjczIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c6d94cd181dd4998ed9e151a70ed7463e690fba4295c1e319f3b42e29570a0e4 |
| hovercard-subject-tag | issue:1198883900 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/59266/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8ae647c860bd5cb1340b9f854645d1af2a8cfa9bf39257b9e60b79a44e91ec87/python/cpython/issues/59266 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8ae647c860bd5cb1340b9f854645d1af2a8cfa9bf39257b9e60b79a44e91ec87/python/cpython/issues/59266 |
| og:image:alt | BPO 15061 Nosy @loewis, @birkenfeld, @gpshead, @ncoghlan, @pitrou, @tiran, @alex, @akheron, @hynek, @serhiy-storchaka Files secure_compare_length.patchtimingsafe.htimingsafe_cmp.patchtimingsafe_cmp... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tiran |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 142593e66413bbae27fd485859993597d5a3b104 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width