From 3b89dc69da0f88cf8e2290523fa50656ac2ebb5d Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Mon, 26 Nov 2018 01:35:11 +0100 Subject: Proof of concept with totp --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..b948b67 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# nginx-auth-totp + +A very simple authentication provider to be used with nginx's `auth_request`. +It uses TOTP (Time based One-Time Passwords) for verification. On success it stores +a cookie which is valid for one day. + +### Compile + +It's written in rust, compile it with `cargo build`. + +### Run + +``` +Usage: nginx_auth_totp [options] + +Options: + -o, --port PORT TCP Port to listen on + -d, --debug Use loglevel Debug instead of Warn +``` + +### Nginx configuration + +Find example in `test/etc/nginx.conf` \ No newline at end of file -- cgit v1.2.1