• Stars
    star
    381
  • Rank 112,502 (Top 3 %)
  • Language
    Objective-C
  • Created over 7 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A native implementation of Google Authenticator for Mac based on Swift

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

More Repositories

1

be-a-professional-programmer

成为专业程序员路上用到的各种优秀资料、神器及框架
9,470
star
2

Html2Article

Html网页正文提取
C#
484
star
3

ScrapingSpider

业余时间开发的,支持多线程,支持关键字过滤,支持正文内容智能识别的爬虫。
C#
78
star
4

luoo-down

luoo.net music downloader
JavaScript
40
star
5

IKAnalyzer.NET

IKAnalyzer中文分词器在.NET平台下的实现
C#
24
star
6

jvm-exercise

JVM related exercises
Scala
11
star
7

AutoClick

鼠标连点器
C++
11
star
8

RollCallSystem

大学时期开发的点名系统,给需要的人,基于WPF
JavaScript
9
star
9

homebridge-mi-gateway

XiaoMi Gateway plugin for HomeBridge.
JavaScript
7
star
10

AirSound

利用无线网络,将你的手机变成无线耳机。
C++
6
star
11

leanote-theme-indigo

A leanote theme exported from hexo-theme-indigo
CSS
4
star
12

node-html2article

The nodejs version of Html2Article.
JavaScript
4
star
13

ReadingShare

读书笔记,技术分享
JavaScript
3
star
14

mastering-apache-spark-cn

《Mastering Apache Spark》中文版
3
star
15

wiiu-screenshot

A web server based on openresty to save a screenshot of a Nintendo WiiU.
HTML
3
star
16

marked-blog

A wicked fast blog system based on OpenResty and Lor framework.
Vue
2
star
17

magnet_search

A magnet search app based on flutter
Dart
2
star
18

resume

My resume in LaTeX
TeX
2
star
19

FileDateModifier

文件时间修改器,Windows工具
Visual Basic
2
star
20

vishnu

A p2p port forward service.
Go
1
star
21

about-me

About me
Vue
1
star
22

tools

生活工作中积累的各种辅助工具
Python
1
star
23

CleanFlat

A personal blogging theme for Ghost
CSS
1
star
24

luban

鲁班:产品原型托管服务
Rust
1
star
25

marked-writer

A markdown blog writer based on node-webkit
CSS
1
star
26

Classmates

大学期间做的同学录,有知乎的朋友需要源码就放出来了
C#
1
star
27

chiaki

Free and Open Source PlayStation Remote Play Client
C
1
star
28

minark

A simple distributed computing framework
Scala
1
star
29

hexoblog

基于hexo构建的个人博客,用于存放博客源文件。
CSS
1
star
30

database-readings

Readings in Database Systems
1
star
31

term-chat

a tiny console chat system based on nodejs
JavaScript
1
star