- Save OTP of a particular in key chain
- Print of a particular service
- Copy of a particular service to clipboard
Now mimier has vpnautoconnect.app (for Mojave). Add this application to have assistive access. And simply run the application.
I use otp for most of the accounts. Currently I have around 12 accounts which needs otp. Though there are lot of pretty good apps for otps such as GAuthenticator, Authneticator (Chrome) and etc. I don't prefer to use mouse so much.
So, what mimier will do, uses keyboard shortcut cmd + shift + o
(personal perference) to wakeup, and then it asks for user input for service account (for which account you need otp) and copies the otp to clipboard.
Mimer uses automator to get benefited. It mainly uses 2 things, get text(which currently changed to apple script) and run bash script.
Mimier stores all service tokens in keychain, so if your key chain is secured, well, your tokens are secured.
Mimier depends on oauth tool to generate otp. You can install it by running the following command
brew install oath-toolkit
Install scripts just wraps the above mentioned commands, and cleans up.
sudo curl -sL http://mimier.gowtham-sai.com/install.sh | bash
Clone the github repo either by http or ssh way.
git clone git@github.com:gowtham-sai/mimier.git
Navigate to the copied directory, then you need to copy mimer to /usr/local/bin
cd mimier
cp ./mimier /usr/local/bin/
Copy the mimer.automator folder to ~/Library/Services/
cp -r ./mimier.workflow ~/Library/Services/mimier.workflow
You can trigger mimier using global keyboard shortcut.
- Open system preferences
- navigate to keyboard shortcuts
- Click on services on left panel
- Scroll down, in general section you will find mimier, set your preferred key shortcut.
Mimier usage is limited at this point of time. You can do only the following tasks.
- Adding a service account
- Deleting a service account
- Generating OTP for a service account
Open temrinal and run
$ mimier add google tokenhere
# or you can use the following as well
$ mimier save google tokenhere
Open temrinal and run
$ mimier del google
# or you can use the following as well
$ mimier delete google
Open temrinal and run
$ mimier gen google
# or you can use the following as well
$ mimier generate google
Mimier stores all service tokens in keychain, so if your key chain is secured (which is the case generally), well, your tokens are secured.