Coder Social home page Coder Social logo

authy-gnupass-totp's Introduction

authy-gnupass-totp

This solution migrates from authy desktop app to gnupass.
it works by copying the totp lines to an entry in gpnupass called totp/all.
The gnu pass entry consist of all your totp secrets, for all your accounts,
in once place. I have created a sync script to update the pass entry.
TOTP views conists of a bash script, curses and python gtk solutions.

ToDo

  • browser plugin

Basic setup

Symlink the file and make executable

sudo ln -s $PWD/totp /usr/local/bin/totp
chmod +x totp

Insert your totp's into totp/all

pass insert totp/all

Contents of the password entry should be similar to

otpauth://totp/Facebook:user1?digits=6&secret=your_secret
otpauth://totp/Google:[email protected]=6&secret=your_secret
otpauth://totp/Docker:user2?digits=6&secret=your_secret

update it at any time with

pass edit totp/all

Usage

Simply run

totp
Service    Username       TOTP Code   Next Code   Remainder
Airvpn     xx&yy          764350      996756      17 secs
GitHub     dmzoneill      530158      177402      17 secs
PyPI       lol            538759      902529      17 secs

Sync with authy

Get authy exporter

go install github.com/alexzorin/authy/...@latest

Run it once and setup

go/bin/authy-export

Symlink sync file and make executable

sudo ln -s $PWD/sync /usr/local/bin/totp-sync
sudo ln -s $PWD/totp /usr/local/bin/totp
sudo ln -s $PWD/ctotp /usr/local/bin/ctotp
sudo ln -s $PWD/gtotp /usr/local/bin/gtotp
chmod +x sync
chmod +x ctotp
chmod +x gtotp
chmod +x totp

Run sync it

AUTHY_EXPORT_PASSWORD=yourpass
totp-sync

Bash static output

totp

totp

Bash Curses

ctotp

ctotp

PyGTK 4

gtotp

gtotp

authy-gnupass-totp's People

Contributors

dmzoneill avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.