FriendTeamInc / VodBot

A command line interface VOD and Clip manager for Twitch.
MIT License
14 stars 1 forks source link

Properly store OAuth information outside of pickling #49

Closed NotQuiteApex closed 2 years ago

NotQuiteApex commented 2 years ago

Pickling is a horrible way of going about storing important information, but because Google did not have good documentation for how to store important information I was lead to believe it was the only option. Turns out I did not research enough, and that it is rather easy to store this information in a JSON format, see Credentials.from_authorized_user_file.

Switching to this method can prevent any sort of issues arising from ever using pickling, that being potential security bugs mainly.

NotQuiteApex commented 2 years ago

Fixed in 0de5ba8fc8cb7b44637aa9ad25df3868bb9b930d