There are other Go implementations of OTP out there, but this one is mine.
This project ships with a terminal application for computing one-time passwords using Google Authenticator defaults. See README for full description.
One time passwords in Go
Home Page: http://tristanwietsma.github.io/otp/
License: MIT License
There are other Go implementations of OTP out there, but this one is mine.
This project ships with a terminal application for computing one-time passwords using Google Authenticator defaults. See README for full description.
Additional command in 2fa that will spin up a http server with qr codes suitable for printing/scanning into a mobile device.
another constructor in keymakers.go
parsing/building uri strings can go in separate file, as can validation.
2fa expects full commands, like 'calc', 'list', 'init'. Program should support single letter commands.
use named regex; counting groups is hacky at best
need to get a bunch of sample uri and put together a test fixture.
my own auth cli
/
(GET)/login
(GET, POST)/authenticate
(GET, POST)/dash
/account
Use middleware chains to handle security and redirection.
Since this is demo, just maintain an internal key-value server for token management. Break up those functions and illustrate how they could point at another service (ie Redis). Will have to mimic expiration for otp tokens.
make var and func names more consistent
Currently, returns a bool and an error, which is dumb. Let's return an error to indicate false and nil for true.
Clean up, proofread, expand
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.