A native implementation of Google Authenticator for Mac based on Swift3.
- 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
- Download the latest version of GoldenPassport from the releases page.
- Unzip
GoldenPassport.zip
and putGoldenPassport.app
to yourApplication
folder then start it. - 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
GoldenPassport uses cocoapods
as the package manager tool, you should install it first.
pod install
to install dependencies- Open
GoldenPassport.xcworkspace
with Xcode to build
- Support auto startup with system
- i18n