cevoaustralia / aws-google-auth

Provides AWS STS credentials based on Google Apps SAML SSO auth (what a jumble!)
MIT License
537 stars 181 forks source link

captcha image file not found #240

Closed vlfig-iov42 closed 2 years ago

vlfig-iov42 commented 2 years ago

Seems that upgrading python-pillow may break the captcha flow.

Sample output:

Please visit the following URL to view your CAPTCHA: https://accounts.google.com/Captcha?v=2&ctoken=[snip]
Captcha (case insensitive): kf.service.services: KApplicationTrader: mimeType "x-scheme-handler/file" not found
org.kde.kdegraphics.gwenview.lib: Unresolved mime type  "image/x-mng"
org.kde.kdegraphics.gwenview.lib: Unresolved raw mime type  "image/x-samsung-srw"

Invalid username or password

While the image viewer program says that it can't find the file.

There's an upstream ticket https://github.com/python-pillow/Pillow/pull/5945 with a fix ~https://github.com/python-pillow/Pillow/pull/5950~ https://github.com/python-pillow/Pillow/pull/6010.

A solution would be to either downgrade python-pillow to 8.4.x or wait for that fix in some subsequent 9.x version.

There are no changes to be made to aws-google-auth. This is just for tracking purposes.

hugovk commented 2 years ago

https://github.com/python-pillow/Pillow/pull/6010 has been released in Pillow 9.0.1.

https://github.com/python-pillow/Pillow/releases/tag/9.0.1

vlfig-iov42 commented 2 years ago

Confirm fixed with 9.0.1.