busybox/networking/ssl_helper-wolfssl
Denys Vlasenko de3da6bf87 wget/ssl_helper: update to wolfssl-3.9.8
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-08-21 03:39:39 +02:00
..
00cfg-wolfssl-3.6.8 ssl_helper: tweaks discovered while building 32-bit version 2015-10-07 02:00:11 +02:00
00cfg-wolfssl-3.9.8 wget/ssl_helper: update to wolfssl-3.9.8 2016-08-21 03:39:39 +02:00
README wget/ssl_helper: update to wolfssl-3.9.8 2016-08-21 03:39:39 +02:00
ssl_helper.c wget: make openssl/ssl_helper choice configurable 2015-10-07 01:39:40 +02:00
ssl_helper.sh ssl_helper.sh: strip was invoked incorrectly 2016-07-25 17:12:46 +02:00

A small SSL helper for busybox wget.

Precompiled static binary may be found in
http://busybox.net/downloads/binaries/

Build instructions:

* Unpack wolfssl-3.6.8.zip
* Build it:
  ./configure --enable-static --disable-shared && make
* Drop this directory into wolfssl-3.6.8/ssl_helper
* Run ssl_helper.sh to compile and link the helper

* Unpack wolfssl-3.9.8.tar.gz from https://github.com/wolfSSL/wolfssl/releases
* Create configure:
  ./autogen.sh
* Build it: see 00cfg-wolfssl-3.9.8 shell script
* Drop this directory into wolfssl-x.y.z/ssl_helper
* Run ssl_helper.sh to compile and link the helper

Usage: "ssl_helper -d FILE_DESCRIPTOR" where FILE_DESCRIPTOR is open to the peer.

In bash, you can do it this way:
$ ssl_helper -d3 3<>/dev/tcp/HOST/PORT

Stdin will be SSL-encrypted and sent to FILE_DESCRIPTOR.
Data from FILE_DESCRIPTOR will be decrypted and sent to stdout.