google-auth-library-python icon indicating copy to clipboard operation
google-auth-library-python copied to clipboard

Push `cryptography` more strongly

Open tseaver opened this issue 4 years ago • 0 comments

At the moment, many-many users of google-auth end up using the slower (and with security holes for some) rsa, rather than cryptography, not because they can't install cryptography, but because they don't know they are supposed to. We should at a minimum have an extra for it in setup.py, and mention it more frequently and forcefully in the docs (including README.md).

Unlike Debian / Red Hat's systems, Python's dependency mechanism isn't featureful enough to let us require an "abstract" dependency with preferences for one over another, which would be the only "correct" fix for us.

I don't know the business case for continuing to rely on rsa: perhaps someone can follow up?

tseaver avatar Nov 08 '21 19:11 tseaver