<div dir="ltr"><div dir="ltr"><div dir="ltr">On Wed, May 22, 2019 at 11:27 AM Roman Haefeli <<a href="mailto:reduzent@gmail.com">reduzent@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, 2019-05-22 at 10:22 -0400, Martin Peach wrote:<br>> I was looking into making a [httpsget]  external but the whole TLS<br>
> thing seems very difficult.<br>
> For my purposes on linux I use [shell] with wget to save the data to<br>
> a file, then open it with [binfile].<br>
> I was wondering if there is some cross-platform library to do the ssh<br>
<br>
I guess you mean SSL/TLS<br>
<br></blockquote><div><br></div><div>Yes.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> , as I'm sure implementing it from scratch would take forever and be<br>
> very error-prone. Not to mention doing it using vanilla objects....<br>
<br>
I don't see why someone would have to do the work, it's already done: <br>
<br>
♥♥♥ purest_json ♥♥♥<br>
<br>
It does proper TLS and is cross-platform. Deken has binaries for<br>
Windows-i386 and they work, I just tested it (on Wine).<br>
<br></blockquote><div><br></div><div>...but deken does not have it for 64bit Windows it seems. I never seem to have the right installation ;(</div><div>Looking at the git (<a href="https://github.com/residuum/PuRestJson/blob/master/Makefile">https://github.com/residuum/PuRestJson/blob/master/Makefile</a>)</div><div> there sem to be a lot of libraries involved. The makefile has:<br></div><div>
<table class="gmail-highlight gmail-tab-size gmail-js-file-line-container"><tbody><tr><td id="gmail-LC19" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line"><span class="gmail-pl-k"><br>define</span> <span class="gmail-pl-smi">forWindows</span></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-highlight gmail-tab-size gmail-js-file-line-container"><tbody><tr><td id="gmail-LC20" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line">    ldlibs += -lpthread -lm -lwldap32 -lgnutls -lhogweed -lgmp -lssl -lnettle \</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-highlight gmail-tab-size gmail-js-file-line-container"><tbody><tr><td id="gmail-LC21" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line">                          -lssh2 -lgcrypt -lgpg-error -lcrypto -lws2_32 -lgdi32 -lcrypt32 \</td>
      </tr>
      <tr>
        </tr></tbody></table>                   -lz -lunistring -lidn -lintl -liconv <br></div><div><br></div><div>It does look easier to just use Python for that stuff and let Pd do what it's good at.</div><div><br></div><div>Martin<br></div><br></div></div></div>