arcanericky / totp Goto Github PK
View Code? Open in Web Editor NEWTime-Based One-Time Password Code Generator
License: MIT License
Time-Based One-Time Password Code Generator
License: MIT License
Any plans to support HOTP? I don't know if/when I'd have time, but if I added HOTP support in a PR would it be accepted? It would screw up the project name tho ๐
Seems like a simple fix, need a cmd/totp
subfolder
The README at ga-cmd suggests to use TOTP, but without giving any specific details on setting TOTP for GA CLI usage.
Please add guide for setting GA with TOTP into TOTP Readme.
totp config add --stdio name value always uses the $HOME/.totp-config.json file for me. I needed to change in root.go
if cmd.Flags().Lookup(optionStdio) != nil {
if cfg.useStdio {
to
if cmd.Flags().Lookup(optionStdio) != nil {
if cmd.Flags().Changed(optionStdio) {
to get it to work. cfg.useStdio is always false. It looks like configupdate.go / getConfigUpdateCmd() is where the problem lies.
I was trying to run totp through a simple wrapper, and I realized that while it does print to stderr when there are problems, it seemingly always returns exit status 0/success.
At a quick glance through the code, I think I see why this wasn't done, but it would be nice if it could support expected shell behavior.
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.