Comments (1)
It looks like you do not understand the security model of the HOTP/TOTP protocol. It is dangerous to you and your users if you implement security features without understanding the underlying security model.
Open MFA standards are defined in RFC 4226 (HOTP: An HMAC-Based One-Time Password Algorithm) and in RFC 6238 (TOTP: Time-Based One-Time Password Algorithm). PyOTP implements server-side support for both of these standards. Client-side support can be enabled by sending authentication codes to users over SMS or email (HOTP) or, for TOTP, by instructing users to use Google Authenticator, Authy, or another compatible app. Users can set up auth tokens in their apps easily by using their phone camera to scan otpauth:// QR codes provided by PyOTP.
Implementers should read and follow the HOTP security requirements and TOTP security considerations sections of the relevant RFCs.
from pyotp.
Related Issues (20)
- Expected type 'str', got 'bytes' instead HOT 1
- Generated TOTP codes don't match the ones in Authenticator Apps HOT 1
- Increasing the duration of TOTP for Google Authenticator from 30 seconds to custom value such as 10 minutes? HOT 1
- Cannot decode URI due case-sensitivity HOT 1
- Support for Synology 2FA? HOT 3
- binascii.Error: Non-base32 digit found when using digest parameter for HMAC-SHA-512 HOT 2
- HOTP Pinpoint Counter used for Auth? HOT 1
- '@' symbol in name argument of `build_uri` utility function HOT 4
- want to store hashed form of base32secret HOT 4
- Discord 2fa HOT 1
- [ Tested on Okta MFA ] QRCode scanned doesn't have any "secret=" and hence unable to get required secret HOT 3
- Wrong current OTP
- error: subprocess-exited-with-error HOT 1
- Interval is not working HOT 3
- Invalid TOTP, please try again HOT 2
- binascii.Error: Non-base32 digit found HOT 2
- wishlist: Mention command line interface
- Some questions about pytop.random_hex() HOT 4
- *Deleted* HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyotp.