otpilot

1.0.2 • Public • Published

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.

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

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i otpilot

Weekly Downloads

12

Version

1.0.2

License

MIT

Unpacked Size

10.3 kB

Total Files

17

Last publish

Collaborators

  • bug3