textbrowser / spot-on

Complexity is beautiful. Anyware, everyone. Completed.
https://textbrowser.github.io/spot-on/
Other
74 stars 14 forks source link

Windows-64 Spot-On-2023.12.15.zip: TLS initialization failed #26

Closed bolzobrazil closed 11 months ago

bolzobrazil commented 11 months ago

The GUI interface is not connected to the Spot-On kernel:

A UI error (No functional TLS backend was found) occurred.

A UI error (QSslSocket::connectToHostEncrypted: TLS initialization failed) occurred.

spoton::slotKernelSocketError(): socket error (TLS initialization failed).

Generating SSL/TLS 2048 Bit Kernel Socket credentials is repeated and repeated.

Probably the Win-32-Version needs to be referred: https://github.com/textbrowser/spot-on/releases/download/2023.01.15/Spot-On.zip

textbrowser commented 11 months ago

Works in non-Windows with OpenSSL 3. Will not redo the entire OpenSSL implementation for Windows. As stated before, a secure connection is not required. Set the key size to zero. Windows 11 has its own implementation and I don't have the interest, time, and money to fix your problem.

bolzobrazil commented 11 months ago

As it affects all windows users probably a pop-up window after one minute not connecting can ask the question:

"The interface seems not to initialize a secure kernel connection with the selected key-size, should I set the key-size to zero and re-connect? Y/N"

textbrowser commented 11 months ago

openssl s_client -connect 127.0.0.1:53535 Connecting to 127.0.0.1 CONNECTED(00000003) Can't use SSL_get_servername depth=0 O=Spot-On Origami Self-Signed Certificate, CN=127.0.0.1 verify error:num=18:self-signed certificate verify return:1 depth=0 O=Spot-On Origami Self-Signed Certificate, CN=127.0.0.1 verify return:1

textbrowser commented 11 months ago

openssl -version
OpenSSL 3.2.0 23 Nov 2023 (Library: OpenSSL 3.2.0 23 Nov 2023)

textbrowser commented 11 months ago

uname -a Darwin cosmos.local 22.6.0 Darwin Kernel Version 22.6.0: Tue Nov 7 21:48:06 PST 2023; root:xnu-8796.141.3.702.9~2/RELEASE_X86_64 x86_64

textbrowser commented 11 months ago

Windows 11 and Qt 6.5 LTS do not utilize OpenSSL. I don't know if this is false or true because I don't have the means of investigating Windows. Since you're obsessed with harassing me, you should investigate the implementation of TLS, Qt 6.5 LTS, and Windows 11.

https://learn.microsoft.com/en-us/windows/win32/com/schannel

bolzobrazil commented 11 months ago

have not read / overread the already posted workaround "key-size zero", means also: Listeners/Servers only in Linux or with win32-version 2023.01.15. Thanks.

textbrowser commented 11 months ago

It works with anything that's built with OpenSSL. Qt on Windows is not built with OpenSSL on Windows 11.