Skip to content

woob.tools.pkce: fix verifier generation of incorrect length

Thomas Touhey requested to merge (removed):fix/fix-pkce-verifier-gen into master

The comment says we should generate strings of 64 chars here, however sometimes we do less and, in extremely unlikely scenarios, we may actually generate strings of <43 chars, which could cause random bugs with connectors. This fixes it.

Thanks @Darkyz for telling me about bytes.hex() 🙂

Edited by Thomas Touhey

Merge request reports