xybu / onedrive-d-old

Microsoft OneDrive client on Linux.
http://xybu.me/projects/onedrive-d/
GNU Lesser General Public License v3.0
820 stars 143 forks source link

Don't have Requests verify HTTPS certs #186

Closed erinzm closed 8 years ago

erinzm commented 8 years ago

For whatever reason, Kenneth Reitz's Certif.io doesn't verify Onedrive's HTTPS cert properly. This PR turns off Request's HTTPS verify feature on HTTPS API requests. Not a problem, it's not like live.com is going anywhere. Fixes #182.

xybu commented 8 years ago

Shall we raise the issue to certif.io?

erinzm commented 8 years ago

Maybe Requests too, I don't know if Requests uses certifio, or certifio is updated out of Requests

technic-tec commented 8 years ago

There is still the same issue in OneDriveAPI::refresh_token(), which causes token refresh failed. Currently there is no way to recover except repeating the authorize sign in process, once per hour or before every sync.