openvpn-gui/plap
Lev Stipakov d8249daf8f PLAP: support for webauth
Instead of opening the browser window in PLAP context (which is insecure),
display a dialog with QR code and ask user to scan it on mobile device.

QR code generation is taken from MIT-licensed library:

  https://github.com/nayuki/QR-Code-generator/blob/master/c/qrcodegen.c

Before I tried vcpkg libqrencode package but gave up after
10 mins of dependencies building (it requires msys2 etc).

Note that you need to add

  setenv IV_SSO webauth

to PLAP profile to make it work.

Fixes: https://github.com/OpenVPN/openvpn-gui/issues/687

Signed-off-by: Lev Stipakov <lev@openvpn.net>
2025-04-04 18:51:26 -07:00
..
Makefile.am PLAP: support for webauth 2025-04-04 18:51:26 -07:00
openvpn-plap-install.reg Implement Pre-Logon Access Provider for start before logon 2022-10-17 11:05:44 -04:00
openvpn-plap-res.rc Implement Password Reveal Feature 2023-04-26 11:08:15 +03:00
openvpn-plap-uninstall.reg Implement Pre-Logon Access Provider for start before logon 2022-10-17 11:05:44 -04:00
openvpn-plap.manifest Implement Pre-Logon Access Provider for start before logon 2022-10-17 11:05:44 -04:00
openvpn_plap.def Enable MSVC build of libopenvpn_plap.dll 2022-10-17 11:05:44 -04:00
plap_common.c Replace _wfopen with _wfopen_s 2025-02-18 14:03:22 +01:00
plap_common.h Reformat the whole source code with clang-format 2025-01-20 13:39:57 +01:00
plap_connection.c Reformat the whole source code with clang-format 2025-01-20 13:39:57 +01:00
plap_connection.h Reformat the whole source code with clang-format 2025-01-20 13:39:57 +01:00
plap_dll.c Reformat the whole source code with clang-format 2025-01-20 13:39:57 +01:00
plap_dll.h Reformat the whole source code with clang-format 2025-01-20 13:39:57 +01:00
plap_provider.c Reformat the whole source code with clang-format 2025-01-20 13:39:57 +01:00
resource.h Reformat the whole source code with clang-format 2025-01-20 13:39:57 +01:00
stub.c Reformat the whole source code with clang-format 2025-01-20 13:39:57 +01:00
test-plap-res.rc Add a test program for PLAP provider module 2022-10-17 11:05:44 -04:00
test-plap.manifest Add a test program for PLAP provider module 2022-10-17 11:05:44 -04:00
test_plap.cpp Add a test program for PLAP provider module 2022-10-17 11:05:44 -04:00
ui_glue.c PLAP: support for webauth 2025-04-04 18:51:26 -07:00
ui_glue.h Reformat the whole source code with clang-format 2025-01-20 13:39:57 +01:00