otpilot
v1.0.2
Published
Automate otp codes
Downloads
84
Readme
Otpilot
Securely automate otp codes: You can use otp codes with any shell command without need phone or app.
Installation
npm install -g otpilot
Requirements
First of all we need secret keys to generate otp codes.
- You can do this with google-author tool.
Usage
- Create a command
otpilot create $commandName
Output
Command: echo $otp
Secret: ******
- Run the command
otpilot run $commandName
Output
142857
Security
Secret keys are safe with otpilot because config data encrypted with uniquenv
Example
If you want to use 2fa VPN, you can connect with one command using gotunl
$ otpilot create connect-vpn
Command: gotunl -c 3 -otp $otp
Secret: ******
$ otpilot run connect-vpn
Connecting
Connected