This is a time-based one time password generator(totp generator).
Based on two IETF documents:
This is a menu bar application only
Many companies nowadays require their employees to use a multi-factor authentication. Like entering a one time password when doing authentication. There are many mobile apps like Google authenticator, but they only work on your phones. What if you want a Desktop version, this is why I built this app.
There might be similar apps out there, but you don't really know if they are safe or not. Are they sending your information to their servers? You don't know. That's another reason I built this application, you can see all the source code here.
- Currently only support for MacOS >= 10.12
Download the .dmg
file here
-
Install Cocoapods https://cocoapods.org
-
Install dependencies
pod install
-
Open
TOTPGenerator.xcworkspace
with XCode -
From XCode menu, Product -> Archive -> Distribute App -> Export/Copy App
-
You should be able to find
TOTPGenerator.app
in the output folder.
When you're asked to enable multi-factors authentication, you're either provided with a secret key or a QR code to scan.
- With secret key, you can easily enter into this application and start using it
- With QR Code, you have to decode it and extract the secret out of it. You can use this QR Code decoder to get your secret out of a QR Code. Don't worry, I don't store any of your data, the source code is here https://github.com/dongliang3571/qrcode-decoder
https://github.com/LinusU/node-appdmg
npm install -g appdmg
appdmg <json-path> <dmg-path>
- Take the example of TOTP Generator, go to
build
folder - Finally do
appdmg --verbose ./app.json ./TOTPGenerator.dmg
, if it runs succesfully you will seeTOTPGenerator.dmg
in your current folder