From ea83ba23b998408f14d7ac8d32c99de23768bb78 Mon Sep 17 00:00:00 2001 From: goodNETnick Date: Sun, 8 May 2022 21:01:28 -0400 Subject: ocserv: T4420: show configured 2FA OTP key --- op-mode-definitions/openconnect.xml.in | 47 ++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/openconnect.xml.in b/op-mode-definitions/openconnect.xml.in index 6b0082b4c..9343637c0 100644 --- a/op-mode-definitions/openconnect.xml.in +++ b/op-mode-definitions/openconnect.xml.in @@ -13,6 +13,53 @@ ${vyos_op_scripts_dir}/openconnect-control.py --action="show_sessions" + + + Show OpenConnect configured user settings + + + + + + + + Show OTP key information + + + + + Show full settings, including QR code and commands for VyOS + + ${vyos_op_scripts_dir}/show_openconnect_otp.py --user="$4" --info="full" + + + + Show OTP authentication secret in Hex (used in VyOS config) + + ${vyos_op_scripts_dir}/show_openconnect_otp.py --user="$4" --info="key-hex" + + + + Show OTP authentication secret in Base32 (used in mobile apps) + + ${vyos_op_scripts_dir}/show_openconnect_otp.py --user="$4" --info="key-b32" + + + + Show OTP authentication QR code + + ${vyos_op_scripts_dir}/show_openconnect_otp.py --user="$4" --info="qrcode" + + + + Show OTP authentication otpauth URI + + ${vyos_op_scripts_dir}/show_openconnect_otp.py --user="$4" --info="uri" + + + + + -- cgit v1.2.3