Kdeconnectd Windows app openssl entry point IDEA_enc_encrypt could not be found in legacy dll

As I don’t think it’s a bug from KDE connect, I am writing here before going to bug report. When I try to open the application in windows 11, I get this error.

Screenshot 2023-09-03 194556

I previously had openssl package installed for different reason. Not sure how it’s effecting it here or what I need to do to fix it.

Is it OpenSSL 3? You many want to compile kdeconnect manually if you are using a custom OpenSSL.

Yeah OpenSSL 3.1.2 1 Aug 2023 (Library: OpenSSL 3.1.2 1 Aug 2023) installed from here
Win32/Win64 OpenSSL Installer for Windows - Shining Light Productions (slproweb.com)

Is this considered a custom flavor? Where can I install the recommended one for KDE from? Do I need to build it from source?

Tried reinstalling. didn’t work. Previously the error was shown and other devices weren’t showing up. Now, after reinstalling devices are showing but error is still shown when launched.

I can reproduce this issue on my machine(Windows 10 64 bit) with kde connect installed from Microsoft Store.

From what I observerd , kdeconnectd will try to load this specific dll (legacy.dll) if environment variable OPENSSL_MODULES exists , delete this environment variable can fix the error temporarily , but it is not a proper fix.

I don’t know exactly why we need to load this dll (its name imply we may shall not load it since it is named legacy) , but it seems it is very likely a behavior of openssl. I think we may need to disable this behavior in the code.