Recent

Author Topic: GnuTLS binaries for Windows  (Read 433 times)

Doyenne

  • Newbie
  • Posts: 5
GnuTLS binaries for Windows
« on: March 17, 2023, 05:27:59 pm »
What is an easy way to get GnuTLS binaries for Windows?

The OpenSSL dlls are easy to get using e.g. fpcupdeluxe (tab Extras > Get OpenSSL by browser).
I can download a GnuTLS dll via the GnuTLS website (https://gnutls.org/download.html), but this dll needs a lot of other dlls (e.g. brotli, zlib1, libssp-0), of which some are included in the MinGW-w64 for Windows distribution, but not all. I gave up searching for all required dlls, as I do not want to download them on vague/general dll providing websites.

Of course I can use OpenSSL, but Michael Van Canneyt suggests that using GnuTLS is better (source: https://www.mail-archive.com/fpc-pascal@lists.freepascal.org/msg53160.html).

Thaddy

  • Hero Member
  • *****
  • Posts: 12982
Re: GnuTLS binaries for Windows
« Reply #1 on: March 17, 2023, 06:26:22 pm »
Answers from three years ago can not be considered current.
However, crypto libraries are essential.
I am not aware of one crypto lib that is better maintained than OpenSSL in its current form.
Basically it is the Industry standard.

What has happened in the past is that OpenSSL kept supporting protocols that are unsafe.
That policy has been dropped a long time ago, unless you compile openSSL yourself.

The problem you are facing is that the world has turned upside down and your library is not current.
For FPC this does not matter.
I actually get compliments for being rude... (well, Dutch, but that is the same)

domasz

  • Full Member
  • ***
  • Posts: 234
Re: GnuTLS binaries for Windows
« Reply #2 on: March 17, 2023, 08:05:50 pm »
Maybe get LibreSSL? It seems it's better than OpenSSL.
https://en.wikipedia.org/wiki/LibreSSL

Thaddy

  • Hero Member
  • *****
  • Posts: 12982
Re: GnuTLS binaries for Windows
« Reply #3 on: March 17, 2023, 08:29:30 pm »
Maybe get LibreSSL? It seems it's better than OpenSSL.
https://en.wikipedia.org/wiki/LibreSSL
No it is not. It is simply a fork that works around licensing issues. But it is just as good.
Also note MS sponsors OpenSSL, because they probably realized that their API was bonkers. (That is an opinion, not fact)
« Last Edit: March 17, 2023, 08:39:41 pm by Thaddy »
I actually get compliments for being rude... (well, Dutch, but that is the same)

domasz

  • Full Member
  • ***
  • Posts: 234
Re: GnuTLS binaries for Windows
« Reply #4 on: March 17, 2023, 08:45:47 pm »
Maybe get LibreSSL? It seems it's better than OpenSSL.
https://en.wikipedia.org/wiki/LibreSSL
No it is not. It is simply a fork that works around licensing issues. But it is just as good.
LibreSSL was created because of Heartbleed, which was not handled quickly enough by OpenSSL team. Their whole reason to exist is to improve security and modernize the code.

Thaddy

  • Hero Member
  • *****
  • Posts: 12982
Re: GnuTLS binaries for Windows
« Reply #5 on: March 17, 2023, 08:51:51 pm »
The patch was available within 24 hours.
I actually get compliments for being rude... (well, Dutch, but that is the same)

BobDog

  • Sr. Member
  • ****
  • Posts: 397
Re: GnuTLS binaries for Windows
« Reply #6 on: March 17, 2023, 11:13:24 pm »

for Mingw
https://winlibs.com/
I got the gcc 12.2 zip archive , just expand the .zip somewhere and put the bin folder on path if you wish.
Nothing in the registry, if you don't like it you can bin it.


 

TinyPortal © 2005-2018