Skip to content

[3.10] gh-99502: mention bytes-like objects as input in secrets.compare_digest (GH-99512)#99790

Merged
kumaraditya303 merged 1 commit intopython:3.10from
miss-islington:backport-47d673d-3.10
Nov 26, 2022
Merged

[3.10] gh-99502: mention bytes-like objects as input in secrets.compare_digest (GH-99512)#99790
kumaraditya303 merged 1 commit intopython:3.10from
miss-islington:backport-47d673d-3.10

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Nov 26, 2022

Now it is in sync with https://docs.python.org/3/library/hmac.htmlGH-hmac.compare_digest
It is the same function, just re-exported. So, I guess they should mention the same input types.
(cherry picked from commit 47d673d)

Co-authored-by: Nikita Sobolev mail@sobolevn.me

…re_digest` (pythonGH-99512)

Now it is in sync with https://docs.python.org/3/library/hmac.htmlGH-hmac.compare_digest
It is the same function, just re-exported. So, I guess they should mention the same input types.
(cherry picked from commit 47d673d)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants