newLISP Fan Club

Forum => Anything else we might add? => Topic started by: vetelko on October 13, 2016, 09:51:21 AM

Title: TLS/SSL support
Post by: vetelko on October 13, 2016, 09:51:21 AM
Hi guys,



is there a chance that newlisp will support TLS/SSL in the near future? In my case I need it to fetch content using httpS protocol.



VT
Title: Re: TLS/SSL support
Post by: jopython on October 13, 2016, 02:19:16 PM
use newlisp with Stunnel. Or use a Apache or nginx reverse proxy
Title: Re: TLS/SSL support
Post by: vetelko on October 14, 2016, 10:43:08 AM
Sorry I mean support in get-url function to receive data from site which uses https.
Title: Re: TLS/SSL support
Post by: jopython on October 14, 2016, 10:58:45 AM
There should be a curl wrapper somwhere. Never tried myself though.

Have you tried this one?

https://github.com/kosh04/newlisp-curl
Title: Re: TLS/SSL support
Post by: TedWalther on October 14, 2016, 07:47:40 PM
I use the curl wrapper, works well for me.



I made a TLS wrapper so you could open a TLS connection, but it wasn't integrated into get-url.  My wrapper used libtls from the OpenBSD project.
Title: Re: TLS/SSL support
Post by: vetelko on October 22, 2016, 03:14:53 AM
Thank you for replies guys. I also started using curl, but IMHO whole world has started using https protocol so soon or later get-url against public internet will be useless.
Title: Re: TLS/SSL support
Post by: jopython on October 22, 2016, 10:01:46 AM
Are you expecting that newlisp bundles a SSL/TLS library?


Quote from: "vetelko"Thank you for replies guys. I also started using curl, but IMHO whole world has started using https protocol so soon or later get-url against public internet will be useless.
Title: Re: TLS/SSL support
Post by: TedWalther on October 22, 2016, 07:00:18 PM
Quote from: "jopython"Are you expecting that newlisp bundles a SSL/TLS library?


That would be nice.  libressl and libtls are good candidates for inclusion.



We already depend on libpcre I think.
Title: Re: TLS/SSL support
Post by: vetelko on October 23, 2016, 01:29:02 AM
Optionally of course. There are already optional parts as UTF-8 support or FFI so why not TLS if bigger binary is not a problem.
Title: Re: TLS/SSL support
Post by: Kirill on May 18, 2021, 04:44:10 AM
Hi, all. Any news on the TLS support in newLISP?