Recent

Author Topic: The Indy Component Library and OpenSSL 3.x  (Read 1017 times)

tonyw

  • Sr. Member
  • ****
  • Posts: 321
    • MWA Software
The Indy Component Library and OpenSSL 3.x
« on: April 06, 2024, 11:47:43 am »
I have been a user of the Indy Component Library since Delphi days. While Indy is available on Github and does work with Lazarus/FPC, its developers have not brought the package up-to-date in respect of OpenSSL support, even though this has been an open issue for many years. The current version supports OpenSSL 1.0.2 at best - and this is well beyond EOL.

I have thus stepped forward and proposed an update to Indy to support all recent versions of OpenSSL and specifically OpenSSL 3.0, 3.1, 3.2 and the forthcoming 3.3. This is now the subject of "pull request" on Github. If you want to try out this update and provide feedback to the Indy developers, you can go to https://github.com/MWASoftware/Indy.proposedUpdate and download the proposed update and test it out.

Note that you can use the two openssl test programs without having to install Indy into the Lazarus IDE. However, if you do want to install the update and test it with your own programs, there is a README.proposed.update that you should read first and run either the getindy4lazfpc.sh or the getindy4lazfpc.bat script. These scripts copy the files relevant to Lazarus into a more friendly directory hierarchy and leave behind many "legacy" files".

nummer8

  • Full Member
  • ***
  • Posts: 111
Re: The Indy Component Library and OpenSSL 3.x
« Reply #1 on: April 06, 2024, 04:40:16 pm »
Thank you very much.
I installed it in my trunk version of lazarus 3.99 with fpc 3.3.1
on a Debian 12 system.
There where some problems to get it up and running.
Eventually it installed and the ssl test projects work like a charm.
I will test more and report.

tonyw

  • Sr. Member
  • ****
  • Posts: 321
    • MWA Software
Re: The Indy Component Library and OpenSSL 3.x
« Reply #2 on: April 06, 2024, 05:10:10 pm »
Thank you very much.
I installed it in my trunk version of lazarus 3.99 with fpc 3.3.1
on a Debian 12 system.
There where some problems to get it up and running.
Eventually it installed and the ssl test projects work like a charm.
I will test more and report.
Good to see it works. Are the problems anything I need to look at?

nummer8

  • Full Member
  • ***
  • Posts: 111
Re: The Indy Component Library and OpenSSL 3.x
« Reply #3 on: April 06, 2024, 07:14:01 pm »
No, not yet I think.
I executed the shell script and then I opened the package.
During compilation the dependency packages did not compile automatically.
After I opened and compiled the dependency packages separately, the original package installed without a problem.
My lazarus installation is a trunk version, installed with fpcupdeluxe on a debian 12 system.
I will in vestigate more the upcomming days.
For now it works an I am very happy with the result.

colo

  • New Member
  • *
  • Posts: 45
Re: The Indy Component Library and OpenSSL 3.x
« Reply #4 on: April 07, 2024, 12:40:11 pm »
Thank you for this important work! I will try my best to get around to test this, also on lesser-used platforms.

 

TinyPortal © 2005-2018