-
Notifications
You must be signed in to change notification settings - Fork 3.3k
OIDC + Python3 + Incorrect padding during base64decode #525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Ran into this issue today as well on 3.6.4 |
Same on 3.5.5 and 3.6.6. This is the reference to the PR to fix this: kubernetes-client/python-base#70 |
Same on Python 3.4 |
@bpicolo Could you please help to fix the issue? We need to run python 3.6.5 with this client. |
Ran into the same issue with Python 3.7 with the latest version of this client (8.0.0 at this time of writing) |
Same on 3.7.2 and 3.6.0 |
Same on python 3.7.2 + kubernetes 9.0.0 |
Anyone know why no fix for this has been merged? |
@yliaog - would you (or any owner) be able to provide a comment on this? Just wondering what your thoughts are on this issue as it's been around for a while and probably affecting quite a large user base. |
it looks @micw523 is reviewing the fix PR kubernetes-client/python-base#70, @micw523 do you have any further comment on the PR? we'd like to get it merged soon. Thanks. |
/cc |
Hi @yliaog, kubernetes-client/python-base#70 seems to have been abandoned and the fork does not exist any more. kubernetes-client/python-base#79 is active and seems like the author just pushed some new commits. However, due to the new version of minikube, we need to have #797 merged first to unblock the PRs. We can’t have the CI to pass unless we get that one through. |
Thanks @micw523 i've lgtm'ed #797 and minor correction, the PR actively worked on is in python-base repo: |
#797 has merged and it looks like kubernetes-client/python-base#79 passed CI... |
Can I bump this? My existing code is Python 3.6 and I can't port it back to 2.x due to other libraries. The PR works for me, can we get it pushed into PyPi plz? Thank you. |
Any updates? |
/cc @roycaihw |
Is there any workaround? 🤔 |
fixed in kubernetes-client/python-base#79 |
Using 3.6.5
When attempting to decode the token, I run into this issue in
_load_oid_token
The non py3 block appends "==" to the token part before decoding it. If i use that, it works fine.
The text was updated successfully, but these errors were encountered: