multiOTP 认证提供程序是适用于 Windows 7/8/8.1/10/11/2012(R2)/2016/2019/2022/2025 的 V2 认证提供程序,具有诸如仅支持 RDP、支持 UPN 名称等选项。
multiOTPCredentialProvider
multiOTP Credential Provider for multiOTP is a free and open source implementation of a V2 Credential Provider for the multiOTP strong two-factor authentication solution (Apache License, Version 2.0)
(c) 2016-2026 SysCo systemes de communication sa (enhancements since 2016 and simple installer with configuration options) (c) 2017-2021 NetKnights GmbH (c) 2015-2016 ArcadeJust ("RDP only" enhancement) (c) 2013-2015 Last Squirrel IT
installed multiOTP server(s) (or select local use during install)
configured multiOTP user (multiOTP username = [domain user name] or [windows local account name] or [microsoft account name])
MANUAL INSTALLATION
Launch the installer (in the installer directory) and configure the various parameters during the setup. You must have administrator access to successfully install the multiOTP Credential Provider. Which Authentication Mode should I choose?
"OTP authentication mandatory for remote remote desktop only" User must have OTP only when the login is done using remote desktop (mstsc). User logs in locally on the computer with the Windows password only.
"OTP authentication mandatory for local logon and remote desktop" User must have OTP when login is done using remote desktop (mstsc) or when it's done locally on the computer.
"OTP and std auth. for local and remote (to check OTP validation)" User can login with OTP or without OTP using remote desktop (mstsc) or locally on the computer.
MSI DEPLOYMENT
Be sure that the last Microsoft Visual C++ redistribuable distribution is installed on the computer.
Using Orca, you can create Transform files in order to set the settings of the credential provider.
The following properties can be set :
MULTIOTP_TIMEOUT Number of seconds to wait for the multiOTP server response. Default value 5.
MULTIOTP_CACHE 0|1 1 to enable local cache.
MULTIOTP_CPUSCREDUI run as admin mode (0 or 1 or 2 + e or d for example 1e)
MULTIOTP_TIMEOUTCP Number of seconds to wait for the credentail provider to respond. Default value 60.
MULTIOTP_TWO_STEP_HIDE_OTP 0|1 1 to force the credential to request an OTP password in a second step.
MULTIOTP_TWO_STEP_SEND_PASSWORD 0|1 1 to enable the credential to request an OTP password by SMS or e-mail.
MULTIOTP_CPUSLOGON logon mode (0 or 1 or 2 + e or d for example 1e)
MULTIOTP_CPUSUNLOCK unlock mode (0 or 1 or 2 + e or d for example 1e)
MULTIOTP_DISPLAYSMSLINK 0|1 1 to enable the sms link on the OTP authentication page.
MULTIOTP_DISPLAYEMAILLINK 0|1 1 to enable the e-mail link on the OTP authentication page.
MULTIOTP_LOGINTEXT text displayed underneath the credential logo.
MULTIOTP_BITMAP_PATH The complete path and filename of the bmp image. Size must be 128x128 pixels.
On each client, install the multiOTP Credential Provider.
Using the wizard, type the URL of the multiOTP server(s).
To disable the Credential Provider, uninstall it from Windows,
or execute multiOTPCredentialProvider-unregister.reg
UNINSTALLATION
Uninstall the multiOTP Credential Provider using the regular uninstallation procedure, or launch the file multiOTPCredentialProvider-unregister.reg (you must have administrator access).
TECHNICAL DETAILS
the credential provider DLL (multiOTPCredentialProvider.dll) is installed in the system folder \Windows\System32
the credential provider options are stored in the following registry key
(registry entries have priority over multiotp.ini file entries):
the previous registry keys (up to 5.8.1.x) are converted to the new values
the available registry keys are
cpus_logon Logon authentication type [0|1|2|3][e|d]
0: relevant for remote (RDP) and local operation
1: relevant for remote operation
2: relevant for local operation
3: relevent for remote and local operation - but multiOTP Credential Provider is completely disabled.
e: Only the multiOTP Credential Provider is available. All other credential providers are not available.
d: In addition all other credential providers are available.
Example: cpus_logon = 0e: Only the multiOTP Credential Provider is available for Logon via remote and locally.
cpus_unlock Unlock authentication type [0|1|2|3][e|d]
cpus_credui Authentication in Windows authentication type (when action requires admin rights for example) [0|1|2|3][e|d]
excluded_account Specify an account that should be excluded from 2FA. The format is required to be domain\username or computername\username.
login_text Specify the text that is displayed underneath the Credential Provider logo and on the right side where available credentials arelisted.
multiOTPCacheEnabled [1|0], used directly by multiOTP
multiOTPDefaultPrefix [Default computer/domain, default is '']. multiOTP use automatically the domain name as default, or computer
name if the computer is not in a domain. You can set here a manual default computer/domain, like for example '.'
multiOTPDisplaySmsLink [0|1]
multiOTPDisplayEmailLink [0|1]
multiOTPServers [multiOTP server(s) to contact, default is 'https://192.168.1.88'], used directly by multiOTP
multiOTPServerTimeout [timeout in seconds before switching to the next server, default is 5], used directly by multiOTP
multiOTPSharedSecret [secret to connect this client to the server, default is 'ClientServerSecret'], used directly by multiOTP
multiOTPTimeout [timeout in seconds, default is 60]
multiOTPUPNFormat [0|1] Set to 1 to use UPN username ([email protected]) instead of username (kevin)
numlockOn [0|1]Set to 1 to enable NumLock during published apps authentication
two_step_hide_otp [0|1] Set to 1 if the Credential Provider should ask for the user's OTP in a second step. In the first step the
user will only be asked for the password.
two_step_send_password [0|1] Set to 1 if the Credential Provider should send the user's password to the multiOTP server
two_step_send_empty_password [0|1] Set to 1 if the Credential Provider should send an empty password to the multiOTP server
username_text Speficy the text that is displayed in the username input field. Usually this is "Username", but you can change it
password_text Speficy the text that is displayed in the password input field. Usually this is "Password", but you can change it
new_password_text Speficy the text that is displayed in the new password input field.
confirm_new_password_text Speficy the text that is displayed in the confirm new password input field.
otp_text Speficy the text that is displayed in the OTP input field. Usually this is "One-Time Password", but you can change it