A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2016-April/144198.html below:

[Python-Dev] Should secrets include a fallback for hmac.compare_digest?

[Python-Dev] Should secrets include a fallback for hmac.compare_digest? [Python-Dev] Should secrets include a fallback for hmac.compare_digest?Victor Stinner victor.stinner at gmail.com
Fri Apr 15 05:35:56 EDT 2016
2016-04-15 11:21 GMT+02:00 Steven D'Aprano <steve at pearwood.info>:
> This isn't just a question about the secrets module. PEP 399 suggests
> than any C classes/functions should have a pure Python version as
> fallback, but compare_digest doesn't. I don't know whether it should or
> not.

The hmac module is responsible to providing a fallback, not the secrets module.

Victor
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4