Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#65976 - [openssl] getmail - gmail xoauth not working after Openssl upgrade

Attached to Project: Arch Linux
Opened by Radu Potop (wooptoo) - Wednesday, 25 March 2020, 14:42 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 08 April 2020, 15:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No


When set to authenticate using XOauth, Getmail now fails to fetch email.
This started happening right after the Openssl 1.1.1.e upgrade.


getmail version 5.14
Copyright (C) 1998-2019 Charles Cazabon. Licensed under the GNU GPL version 2.
External password program "getmail-gmail-xoauth-tokens" wrote to stderr: Traceback (most recent call last):
File "/usr/bin/getmail-gmail-xoauth-tokens", line 115, in <module>
sys.stdout.write("%s" % auth.token())
File "/usr/bin/getmail-gmail-xoauth-tokens", line 93, in token
File "/usr/bin/getmail-gmail-xoauth-tokens", line 88, in refresh_tokens
d = self.get_response(['token_uri'], params)
File "/usr/bin/getmail-gmail-xoauth-tokens", line 61, in get_response
response = urllib.urlopen(url, encoded).read()
File "/usr/lib/python2.7/", line 355, in read
data = self._sock.recv(rbufsize)
File "/usr/lib/python2.7/", line 754, in recv
File "/usr/lib/python2.7/", line 641, in read
v =
ssl.SSLError: [SSL: KRB5_S_TKT_NYV] unexpected eof while reading (_ssl.c:1946)getmailrc: operation error (External password program error (exited 1))
0 messages (0 bytes) retrieved, 0 skipped

> exit code 127


Name : getmail
Version : 5.14-1

Name : openssl
Version : 1.1.1.e-1

This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 08 April 2020, 15:23 GMT
Reason for closing:  Fixed
Comment by loqs (loqs) - Thursday, 26 March 2020, 01:26 GMT Comment by Radu Potop (wooptoo) - Thursday, 26 March 2020, 11:11 GMT
Thank you, I think this can be closed now?
Comment by loqs (loqs) - Tuesday, 31 March 2020, 19:19 GMT
Can you please test with openssl 1.1.1.f-1 which is in currently in testing.
Comment by Radu Potop (wooptoo) - Wednesday, 08 April 2020, 15:00 GMT
Yes, it's working fine with 1.1.1.f

The bug can be closed now.