TLS/SSL support

Started by vetelko, October 13, 2016, 09:51:21 AM

Previous topic - Next topic

vetelko

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
newLISP v.10.7.6 64-bit on BSD IPv4/6 UTF-8 libffi

jopython

#1
use newlisp with Stunnel. Or use a Apache or nginx reverse proxy

vetelko

#2
Sorry I mean support in get-url function to receive data from site which uses https.
newLISP v.10.7.6 64-bit on BSD IPv4/6 UTF-8 libffi

jopython

#3
There should be a curl wrapper somwhere. Never tried myself though.

Have you tried this one?

https://github.com/kosh04/newlisp-curl">https://github.com/kosh04/newlisp-curl

TedWalther

#4
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.
Cavemen in bearskins invaded the ivory towers of Artificial Intelligence.  Nine months later, they left with a baby named newLISP.  The women of the ivory towers wept and wailed.  \"Abomination!\" they cried.

vetelko

#5
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.
newLISP v.10.7.6 64-bit on BSD IPv4/6 UTF-8 libffi

jopython

#6
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.

TedWalther

#7
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.
Cavemen in bearskins invaded the ivory towers of Artificial Intelligence.  Nine months later, they left with a baby named newLISP.  The women of the ivory towers wept and wailed.  \"Abomination!\" they cried.

vetelko

#8
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.
newLISP v.10.7.6 64-bit on BSD IPv4/6 UTF-8 libffi

Kirill

#9
Hi, all. Any news on the TLS support in newLISP?