running oauth2.py for gmail authentication results in the following error:
Code:
Traceback (most recent call last):
File "./oauth2.py", line 347, in <module>
main(sys.argv)
File "./oauth2.py", line 326, in main
authorization_code)
File "./oauth2.py", line 214, in AuthorizeTokens
response = urllib.urlopen(request_url, urllib.urlencode(params)).read()
File "/usr/lib64/python2.7/socket.py", line 355, in read
data = self._sock.recv(rbufsize)
File "/usr/lib64/python2.7/ssl.py", line 754, in recv
return self.read(buflen)
File "/usr/lib64/python2.7/ssl.py", line 641, in read
v = self._sslobj.read(len)
ssl.SSLError: [SSL: KRB5_S_TKT_NYV] unexpected eof while reading (_ssl.c:1946)
It seems likely related to this:
When set to authenticate using XOauth, Getmail now fails to fetch email. This started happening right after the Openssl 1.1.1.e upgrade.
..and, as a result, this:
The revert of EOF detection change in libssl for 1.1.1
I'm not a programmer, so making sense of the various conversations is spotty at best. Am I out of luck until a new release of openssl (assuming I'm on the right track with the above issues)? From looking at the GitHub releases, there appears to be ~3 months between and 1.1.1e was ~10 days ago.
Is there an easier fix (or perhaps an alternative) I'm overlooking?
TIA