Denys Vlasenko 4acd393eba Update information on building httpd and wget helpers 7 years ago
..
00cfg-wolfssl-3.6.8 78fb6ea63a ssl_helper: tweaks discovered while building 32-bit version 8 years ago
00cfg-wolfssl-3.9.8 de3da6bf87 wget/ssl_helper: update to wolfssl-3.9.8 7 years ago
README 4acd393eba Update information on building httpd and wget helpers 7 years ago
ssl_helper.c 1c6c670ed4 wget: make openssl/ssl_helper choice configurable 8 years ago
ssl_helper.sh 4acd393eba Update information on building httpd and wget helpers 7 years ago

README

A small SSL helper for busybox wget.

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

Build instructions:

* Unpack wolfssl-3.9.8.tar.gz from https://github.com/wolfSSL/wolfssl/releases
to a wolfssl-3.9.8 subdirectory here.
* Create configure:
(cd wolfssl-* && ./autogen.sh)
* Build it: see
(cd wolfssl-* && ../00cfg-wolfssl-3.9.8)
* 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.