Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

paultag/deceive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deceive

Deceive is an HTTPS webserver that uses TLS Client auth to validate uploads (via PUT'ing a file path) to a given root.

Usage

mkdir -p /tmp/deceive/foo
deceive \
    -ca=/home/paultag/certs/cacert.crt \
    -cert=/home/paultag/certs/localhost.crt \
    -key=/home/paultag/certs/localhost.key \
    -host=soylent.green \
    -port=1984 \
    -root=/tmp/deceive/

This will start a deceive server on soylent.green:1984. The server will use the -cert and -key param for the TLS serverside certificates. Incoming requests to PUT data will have their TLS client certs validated against the -ca cert given. If the cert is valid, and the path exists, deceive will allow the write.

About

TLS based HTTPS upload reciever

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages