Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Version 1.1.4 – Fix Windows credentials storage

Compare
Choose a tag to compare
@mhucka mhucka released this 09 Jul 23:34

The primary change in this version is the use of a new home-grown replacement for oauth2client.client.token_storage that stores the credentials in an encrypted file rather than in the keyring password field. The original implementation of oauth2client.client.token_storage stores the credentials from Google as the value of the password in a call to keyring.set_password(...). Unfortunately, this fails on Windows because of size limitations on the length of passwords. The replacement implementation stores an encryption key in the password field instead, and uses that encryption key to encrypt a file that stores the credentials on disk.