TLS/SSL support

For the Compleat Fan

TLS/SSL support

Postby vetelko » Thu Oct 13, 2016 4:51 pm

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.4 64-bit on OpenBSD IPv4/6 UTF-8 libffi
vetelko
 
Posts: 20
Joined: Thu Oct 13, 2016 4:47 pm

Re: TLS/SSL support

Postby jopython » Thu Oct 13, 2016 9:19 pm

use newlisp with Stunnel. Or use a Apache or nginx reverse proxy
jopython
 
Posts: 123
Joined: Tue Sep 14, 2010 3:08 pm

Re: TLS/SSL support

Postby vetelko » Fri Oct 14, 2016 5:43 pm

Sorry I mean support in get-url function to receive data from site which uses https.
newLISP v.10.7.4 64-bit on OpenBSD IPv4/6 UTF-8 libffi
vetelko
 
Posts: 20
Joined: Thu Oct 13, 2016 4:47 pm

Re: TLS/SSL support

Postby jopython » Fri Oct 14, 2016 5:58 pm

There should be a curl wrapper somwhere. Never tried myself though.
Have you tried this one?
https://github.com/kosh04/newlisp-curl
jopython
 
Posts: 123
Joined: Tue Sep 14, 2010 3:08 pm

Re: TLS/SSL support

Postby TedWalther » Sat Oct 15, 2016 2:47 am

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.
TedWalther
 
Posts: 602
Joined: Mon Feb 05, 2007 1:04 am
Location: Abbotsford, BC

Re: TLS/SSL support

Postby vetelko » Sat Oct 22, 2016 10:14 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.
newLISP v.10.7.4 64-bit on OpenBSD IPv4/6 UTF-8 libffi
vetelko
 
Posts: 20
Joined: Thu Oct 13, 2016 4:47 pm

Re: TLS/SSL support

Postby jopython » Sat Oct 22, 2016 5:01 pm

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

Re: TLS/SSL support

Postby TedWalther » Sun Oct 23, 2016 2:00 am

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.
TedWalther
 
Posts: 602
Joined: Mon Feb 05, 2007 1:04 am
Location: Abbotsford, BC

Re: TLS/SSL support

Postby vetelko » Sun Oct 23, 2016 8:29 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.
newLISP v.10.7.4 64-bit on OpenBSD IPv4/6 UTF-8 libffi
vetelko
 
Posts: 20
Joined: Thu Oct 13, 2016 4:47 pm


Return to Anything else we might add?

Who is online

Users browsing this forum: No registered users and 1 guest

cron