hoaxshell icon indicating copy to clipboard operation
hoaxshell copied to clipboard

Added on-the-fly crypto and --ssl option

Open caryhooper opened this issue 1 year ago • 0 comments

Hey there, I noticed that the HTTPS option required OpenSSL or the user to create their own private key and certificate. I added the --ssl option from the command line and an import file that uses "cryptography" to create a private key and certificate in the same directory as hoaxshell.

If --ssl is provided with a key and cert file, we use the supplied args. If not, it generates a key (unencrypted) and cert on-the-fly. Hopefully this lowers the barrier-to-entry for use of encryption with this shell to prevent data leaks.

caryhooper avatar Aug 25 '22 15:08 caryhooper