Comments (6)
while you're at it, might be worth cleaning up all the unreachable code in codeEquals
as hash_equals
is PHP >= 5.6 so definitely always exists
from twofactorauth.
wait till they announce it as a native library or something haha
from twofactorauth.
This is a leftover from the PHP5 era I guess. I don't mind if the openssl & hash ones get trashed. We stopped supporting PHP5 long ago. I would like to keep the interface because some people may be using their own implementations (I can see people using a hardware RNG for example).
from twofactorauth.
Dangit! I was removing them too, you beat me to it (and did a better job).
👊
(Editted because I drag & dropped the wrong screenshot 🤪 I'm an idiot 🤦 )
from twofactorauth.
@willpower232 done, good spot!
When I'm done with this lib it'll be a 3 lines function :p
from twofactorauth.
@RobThree See #122 then. And yes, users can still swap out the rngprovider for their own, if they need to.
from twofactorauth.
Related Issues (20)
- QR Code Expiring HOT 2
- Security Risk: using `QRServerProvider` as default provider HOT 15
- CodeIgniter 4 Integration HOT 2
- QR Code doesn't work with Dashlane HOT 12
- Incompatible with endroid/qr-code > 5.0.0 HOT 6
- Use SensitiveParameter class HOT 12
- getQRCodeImage(): Return value must be of type string, bool returned HOT 2
- minimal version HOT 2
- Fatal error: Uncaught Error: Class 'RobThree\Auth\Providers\Rng\CSRNGProvider' not found HOT 2
- Fatal error: Uncaught Error: Call to undefined function RobThree\Auth\Providers\Time\socket_create() HOT 4
- 2fa HOT 1
- Google / MS Authenticator HOT 10
- endroid/qr-code compatibility issue HOT 1
- Newly generated secrets failing to verify codes HOT 13
- How i can generate Backup 2fa after user has been activated 2fa HOT 5
- Deprecation warning in PHP8 HOT 6
- Version mismatch HOT 6
- Account name in MS Authenticator HOT 18
- How to migrate to new server HOT 11
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 twofactorauth.