Giter VIP home page Giter VIP logo

goldenpassport's Introduction

GoldenPassport

A native implementation of Google Authenticator for Mac based on Swift3.

Screenshot

main

add

restful-api

Features

  • Recognize OTPAuth URL from a QRCode image
  • Authentication code management
  • Support RESTful API to obtain the verification code
  • Use a global hot key(Shift+Cmd+[0-9]) to direct fill out the verification code
  • Click an auth-menu to copy the verification code to the PasteBoard
  • Export/Import authentication codes

How to use

  1. Download the latest version of GoldenPassport from the releases page.
  2. Unzip GoldenPassport.zip and put GoldenPassport.app to your Application folder then start it.
  3. Add an auth URL from the status menu.

Or you can install if from brew cask

brew install --cask goldenpassport

Now, you can get the verification code by:

  • From the status menu, copy the verification by clicking an auth-menu
  • Use a global hot key(Shift+Cmd+[0-9]) to direct fill out the verification code

You can also use the RESTful API if you want to get the verification code from a shell script by the following way:

# you can get the url from `http://localhost:17304/`
code=$(curl 'http://localhost:17304/code/[email protected]')
# ues the verification code
echo $code

Building

GoldenPassport uses cocoapods as the package manager tool, you should install it first.

  1. pod install to install dependencies
  2. Open GoldenPassport.xcworkspace with Xcode to build

Todo

  • Support auto startup with system
  • i18n

Resources

goldenpassport's People

Contributors

iosleep avatar liomen avatar shaoxinsen avatar stanzhai avatar vimac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

goldenpassport's Issues

获取的验证码是上一个失效的验证码

使用了半年多了,非常好用,最近出现了一个bug,MFA总是获取的是上一个失效的验证码,更换了MFA二维码也是一样的错误。希望作者有空检查下,需要什么信息,可以m。

网页乱码

1.网页中建议设定字符集,否则汉字会出现乱码。
2.粘贴时,建议自动去除两边的空白字符,避免粘贴上去带有换行结尾导致无法导入失败
3.建议识别连接中的用户名、标题,避免在标识中再次输入
4.增加排序功能和编辑功能

URL应该填什么?

你好,

我已经用谷歌验证iOS版本扫描了二维码,现在想再导入到这个软件里面,但是我没有保存二维码,只有一个秘钥,请问在您这软件的URL应该填什么格式的?

谢谢

支持修改快捷键

我使用的是iterm2,iterm2的shift+cmd+O已经被占用了,每次按快捷键都会出来一个搜索框... 不太会调整。

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.