mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
Duo provides simple two-factor authentication as a service via: 1. Phone callback 2. SMS-delivered one-time passcodes 3. Duo mobile app to generate one-time passcodes 4. Duo mobile app for smartphone push authentication 5. Duo hardware token to generate one-time passcodes Duo two-factor authentication for OpenVPN WWW: https://github.com/duosecurity/duo_openvpn
12 lines
410 B
Python
12 lines
410 B
Python
--- duo_openvpn.py.orig 2021-05-06 18:37:22 UTC
|
|
+++ duo_openvpn.py
|
|
@@ -1,8 +1,4 @@
|
|
-#!/bin/sh
|
|
-''''which python3 >/dev/null 2>&1 && exec python3 "$0" "$@" # '''
|
|
-''''which python >/dev/null 2>&1 && exec python "$0" "$@" # '''
|
|
-''''which python2 >/dev/null 2>&1 && exec python2 "$0" "$@" # '''
|
|
-''''exec echo "Error: No python module found in system"# '''
|
|
+#!%%SHEBANG%%
|
|
#
|
|
# duo_openvpn.py
|
|
# Duo OpenVPN
|