Switch on OTP Generator in your Mobile Banking settings to get your One-Time Password for Online Banking - whenever you need it! How to Use: 1. Activate device (for first time Mobile Banking users). Login to the app. Go to Settings and turn on OTP Generator function. A confirmation screen for the subscription will be displayed. Key Features. Authenticator app. Download and use an authenticator app to get either an approval notification or a randomly generated approval code for two-step verification or password reset. For step-by-step instructions about how to set up and use the Microsoft Authenticator app, see Set up security info to use an authenticator app.
Description
With WP-OTP you can easily set up 2 Factor Authentication with One Time Passwords for your WordPress login.
This extra layer makes your WordPress site a lot more secure.
This extra layer makes your WordPress site a lot more secure.
The new stealth mode allows for invisible OTP code entry, making your login screen look like any other, no extra OTP code input field.
Getting started
After installing and activating the plugin, every user can enable WP-OTP on their profile page.
It’s as easy as scanning the provided QR Code or entering the OTP secret to any OTP generator app.
Then just activate it by entering the generated OTP and voilà , all set up.
Now, the login requires an OTP code to succeed.
Then just activate it by entering the generated OTP and voilà , all set up.
Now, the login requires an OTP code to succeed.
Each user gets their own secret key to authenticate with, giving them control over their login security.
Development
This plugin is completely open source and a work of passion.
If you would like to be part of it and join in, make your way over to the project page now.
Also, if you have an idea you would like to see in this plugin or if you’ve found a bug, please let me know.
If you would like to be part of it and join in, make your way over to the project page now.
Also, if you have an idea you would like to see in this plugin or if you’ve found a bug, please let me know.
Configuration
WP_OTP_STEALTH
: Set this totrue
to enable stealth OTP mode.
Filters
There are a multitude of filters to be adjusted.
wp_otp_login_form_text
: Text for input field on the login screen.wp_otp_login_form_text_sub
: Subtext for the input field on the login screen.wp_otp_login_form_invalid_code_text
: Error text for an invalid code input on the login screen.wp_otp_code_expiration_window
: Set the window of code verification expiration.wp_otp_recovery_codes_count
: Number of recovery codes to generate.wp_otp_recovery_codes_length
: Length of the recovery codes.wp_otp_secret_length
: Length of the secret key.
Minimum requirements
Arma 2 cd key generator. WordPress 4.6, PHP 7.1.
Donate / Support
All donations are much appreciated, thank you ðŸ™x8F
Get professional support for this plugin with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies assurances about security, maintenance, and licensing for their dependencies.
Tidelift helps make open source sustainable for maintainers while giving companies assurances about security, maintenance, and licensing for their dependencies.
Security
To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.
Installation
You can either use the built in WordPress installer or install the plugin manually.
For an automated installation:
- Go to ‘Plugins -> Add New’ on your WordPress Admin page.
- Search for the ‘WP OTP’ plugin.
- Install by clicking the ‘Install Now’ button.
- Activate the plugin on the ‘Plugins’ page in your WordPress Admin.
For a manual installation:
- Upload the ‘wp-otp’ folder to the plugins directory of your WordPress installation.
- Activate the plugin on the ‘Plugins’ page in your WordPress Admin.
FAQ
No problem! When activating WP-OTP, you will also get a list of recovery codes that you can use instead of entering the OTP from your authenticator app.
Be sure to regenerate them when you run out though, or better yet, reconfigure your WP-OTP to get a new secret and a new set of recovery codes.
Be sure to regenerate them when you run out though, or better yet, reconfigure your WP-OTP to get a new secret and a new set of recovery codes.
Yes, just click the
Reconfigure
button on the profile page.Your site admin has either disabled the plugin or enabled stealth mode.
This means that you will need to add your OTP (or recovery) code at the end of your password.
This means that you will need to add your OTP (or recovery) code at the end of your password.
Reviews
In this Update 0.4.0 there is an error while trying to login. it shows critical error. IT works for the user which i logged in and update the plugins. It throws error other users while logging. please fix it and update the plugin.When seeking help with this issue, you may be asked for some of the following information:WordPress version 5.3Current theme: Nex Child (version )Current plugin: WP-OTP (version 0.4.0)PHP version 7.2.15Error DetailsAn error of type E_ERROR was caused in line 180 of the file /var/www/wp-content/plugins/wp-otp/public/class-wp-otp-public.php. Error message: Uncaught TypeError: Return value of Wp_OtpWp_Otp_Public::get_otp_if_enabled() must be an instance of OTPHPTOTP, null returned in /var/www/wp-content/plugins/wp-otp/public/class-wp-otp-public.php:180Stack trace:If you need more details i will share the error mail igot.
OTP verification using Cryptography and without any Database
Background
This module is derived from my blog post on the technique. You can read the blog post here to understand the technique and motivation.
Dependencies:
This module depends on the Crypto built in module on nodeJS. This is the only dependency and should work in any system that has crypto support (Which is technocally majority of the systems at this moment)
This module also uses some modern JavaScript features like Template literals, Default arguments and modern object literal. This might be a problem if you are planning to use it with older versions of nodeJS
Installation
You can use npm to install the package with the following code
Usage
You need additional tool to create OTP, and send SMS. This module only takes care of the verification part.
You can take a look at the otp-generator module to create OTP for your users.
Verification process
![Random otp generator Random otp generator](/uploads/1/2/6/0/126072111/328662542.png)
OTP verification is done in the following steps:
- A hash is created with the phone number/email address and then sent to the user.
- The user also receives the OTP via SMS, email or any other method.
- The user sends back the hash, OTP and phone/email used in the first request.
- The server verifies the information and returns true if they match.
Here's a diagram that shows the whole process:
Generating OTP Hash
We will use the otp-generator tool mentioned previously to create OTP. You can use any other tool or technique.
You can then send this hash to the user as response. The generate method takes these following arguments (In particular order),
Argument | Required | default | Description |
---|---|---|---|
phoneOrEmail | true | N/A | Phone or email |
otp | true | N/A | OTP |
key | false | ' | unique and secret key for HMAC see: createHmac |
expiresAfter | false | 5 | Expirty in minutes |
algorithm | false | sha256 | Algorithm used for hashing the data. Any supported algorithm from OpenSSL |
Verifying OTP hash
Otp Generator App My Keys
The user should get the hash from the HTTP request and should get the real OTP via SMS or email.
Then when the user sends back the information, they can be verified with the following code:
This method returns a Boolean. If the verification is successful, it will return true.
This method also takes the following arguments in particular order:
Otp Code Generator
Argument | Required | default | Description |
---|---|---|---|
phoneOrEmail | true | N/A | Phone or email |
otp | true | N/A | OTP |
hash | true | N/A | The hash that was returned from the user |
key | false | ' | unique and secret key for HMAC see: createHmac |
algorithm | false | sha256 | Algorithm used for hashing the data. Any supported algorithm from OpenSSL |
This product is created with 🖤 by Anam Ahmed, Any improvements and PR is welcome.