TLS/SSL support

For the Compleat Fan
Locked
vetelko
Posts: 23
Joined: Thu Oct 13, 2016 4:47 pm

TLS/SSL support

Post by 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
Posts: 123
Joined: Tue Sep 14, 2010 3:08 pm

Re: TLS/SSL support

Post by jopython »

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

vetelko
Posts: 23
Joined: Thu Oct 13, 2016 4:47 pm

Re: TLS/SSL support

Post by vetelko »

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
Posts: 123
Joined: Tue Sep 14, 2010 3:08 pm

Re: TLS/SSL support

Post by jopython »

There should be a curl wrapper somwhere. Never tried myself though.
Have you tried this one?
https://github.com/kosh04/newlisp-curl

TedWalther
Posts: 608
Joined: Mon Feb 05, 2007 1:04 am
Location: Abbotsford, BC
Contact:

Re: TLS/SSL support

Post by TedWalther »

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
Posts: 23
Joined: Thu Oct 13, 2016 4:47 pm

Re: TLS/SSL support

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

jopython
Posts: 123
Joined: Tue Sep 14, 2010 3:08 pm

Re: TLS/SSL support

Post by jopython »

Are you expecting that newlisp bundles a SSL/TLS library?
vetelko wrote: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
Posts: 608
Joined: Mon Feb 05, 2007 1:04 am
Location: Abbotsford, BC
Contact:

Re: TLS/SSL support

Post by TedWalther »

jopython wrote: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
Posts: 23
Joined: Thu Oct 13, 2016 4:47 pm

Re: TLS/SSL support

Post by vetelko »

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
Posts: 90
Joined: Wed Oct 31, 2007 1:21 pm

Re: TLS/SSL support

Post by Kirill »

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

Locked