Giter Site home page Giter Site logo

ahmadawais / alfred.2fa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jlippold/alfred.2fa

0.0 2.0 0.0 304 KB

Adds one time passwords (two factor authentication) to Alfred.app

License: Creative Commons Zero v1.0 Universal

JavaScript 100.00%

alfred.2fa's Introduction

What is this?

This is an alfred workflow that allows you to retrieve the one time password for sites that use two factor authentication. You set up the sites in alfred.app, then you can pull the one time password for the site at any time with alfred. The password is automatically copied to the clipboard. This can and should be used in conjunction with another 2fa method.

So far tested with OpenVPN, Github, Amazon

pic

pic

How's it work

  1. Install Node http://nodejs.org/download/
  2. Install this workflow by clicking this https://github.com/jlippold/alfred.2fa/raw/master/2FA.alfredworkflow, then opening in finder.
  3. Setup 2FA with some service (github, openVPN). Scan the barcode into your mobile app (authy, google authenticator) and note the secret key.
  4. input the secret key into alfred.app 2f add someService secretKey
  5. call it anytime to get the one time password 2f someService

Usage

Add new

format:
2f add ServerName Secret

example:
2f add AmazonAWS ASDJKS34DHUY12

Get One Time Password

format:
2f ServerName

example:
2f AmazonAWS

Remove

format:
2f delete ServerName

example:
2f delete AmazonAWS

Credits

Alfred Feedback: https://github.com/lrrfantasy/alfred-feedback-xml-generation

OPT generation: https://www.npmjs.org/package/onceler

Icons: http://fortawesome.github.io/Font-Awesome/

alfred.2fa's People

Contributors

jlippold avatar

Watchers

 avatar  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.