Bug 1394892

Summary: BIO_read change in 1.1.0c broke Python and MIT KRB5
Product: [Fedora] Fedora Reporter: Christian Heimes <cheimes>
Component: opensslAssignee: Tomas Mraz <tmraz>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-14 17:13:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christian Heimes 2016-11-14 16:22:59 UTC
Description of problem:
OpenSSL commit 122580e broke Python's ssl module and MIT KRB5's OpenSSL plugin for MS-KKDCP (Kerberos over HTTPS). In both programs a combination of SSL_read() returning -1, SSL_get_err() returning SSL_ERROR_SYSCALL and ERR_get_error() returning 0 leads to a failure when the connection is terminated.


Version-Release number of selected component (if applicable):
1.1.0c

How reproducible:
Always

Steps to Reproduce:
1. Run Python 3.6 test suite with OpenSSL 1.1.0c
2. - or - run MIT KRB5 kinit with KKDCP proxy

Actual results:
test_ssl is failing with EOF errors
kinit is failing

Expected results:
test_ssl tests are passing
kinit works


Additional info:
https://github.com/openssl/openssl/issues/1903
https://github.com/openssl/openssl/issues/1919
http://bugs.python.org/issue28689

Comment 1 Tomas Mraz 2016-11-14 17:13:50 UTC

*** This bug has been marked as a duplicate of bug 1394677 ***