Bug 1222933

Summary: python-gear fails to build on Leap 15.6 - ssl.SSLError: [SSL: EE_KEY_TOO_SMALL]
Product: [openSUSE] openSUSE Distribution Reporter: Lubos Kocman <lubos.kocman>
Component: PythonAssignee: Daniel Garcia <daniel.garcia>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: daniel.garcia
Version: Leap 15.6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Lubos Kocman 2024-04-16 22:28:46 UTC
Hello

package python-gear fails to build on Leap 15.6

https://build.opensuse.org/package/live_build_log/openSUSE:Backports:SLE-15-SP6/python-gear/standard/x86_64
[  145s] 2024-04-15 10:21:37,509 gear.Connection.b'client'        DEBUG    Using SSL
[  145s] 2024-04-15 10:21:37,510 gear.Worker.b'worker'            ERROR    Exception while connecting to <gear.Connection 0x7fe38112fa20 host: 127.0.0.1 port: 35231>
[  145s] Traceback (most recent call last):
[  145s]   File "/home/abuild/rpmbuild/BUILD/gear-0.14.0/gear/__init__.py", line 782, in _connectLoop
[  145s]     conn.reconnect()
[  145s]   File "/home/abuild/rpmbuild/BUILD/gear-0.14.0/gear/__init__.py", line 252, in reconnect
[  145s]     self.connect()
[  145s]   File "/home/abuild/rpmbuild/BUILD/gear-0.14.0/gear/__init__.py", line 211, in connect
[  145s]     context.load_cert_chain(self.ssl_cert, self.ssl_key)
[  145s] ssl.SSLError: [SSL: EE_KEY_TOO_SMALL] ee key too small (_ssl.c:3503)
[  145s] 2024-04-15 10:21:37,510 gear.Client.b'client'            ERROR    Exception while connecting to <gear.Connection 0x7fe38112f9e8 host: 127.0.0.1 port: 35231>
[  145s] Traceback (most recent call last):
[  145s]   File "/home/abuild/rpmbuild/BUILD/gear-0.14.0/gear/__init__.py", line 782, in _connectLoop
[  145s]     conn.reconnect()
[  145s]   File "/home/abuild/rpmbuild/BUILD/gear-0.14.0/gear/__i

Could you please have a look?
Comment 1 Daniel Garcia 2024-05-06 10:58:31 UTC
The package is removed now, but I've been working on it and the current version in devel:languages:python [1] builds correctly for openSUSE:Backports:SLE-15-SP6, with python 3.6.

[1] https://build.opensuse.org/package/show/devel:languages:python/python-gear
Comment 2 OBSbugzilla Bot 2024-05-06 11:35:02 UTC
This is an autogenerated message for OBS integration:
This bug (1222933) was mentioned in
https://build.opensuse.org/request/show/1172148 Factory / python-gear