LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pass-otp

extends pass with TOTP/HOTP support

TLDR

Generate OTP code
$ pass otp [path/to/entry]
copy
Insert OTP secret
$ pass otp insert [path/to/entry]
copy
Insert from URI
$ pass otp insert -u [path/to/entry]
copy
Append OTP to existing entry
$ pass otp append [path/to/entry]
copy
Show OTP URI
$ pass otp uri [path/to/entry]
copy
Copy OTP to clipboard
$ pass otp -c [path/to/entry]
copy
Validate OTP configuration
$ pass otp validate [path/to/entry]
copy

SYNOPSIS

pass otp [options] command [entry]

DESCRIPTION

pass-otp extends pass (password-store) with TOTP/HOTP support. It generates time-based one-time passwords.OTP secrets are stored encrypted alongside passwords. The standard otpauth:// URI format is supported.Token generation uses the current time for TOTP. Codes refresh every 30 seconds by default.QR code display enables backup to authenticator apps. URIs can be imported from other authenticators.Clipboard integration copies codes for easy pasting. Codes clear automatically after timeout.

PARAMETERS

insert

Add new OTP entry.
append
Add OTP to existing entry.
uri
Show OTP URI.
validate
Validate configuration.
-c, --clip
Copy to clipboard.
-q, --qrcode
Display QR code.
-u, --uri
Read from otpauth URI.
-s, --secret
Prompt for secret only.

INSTALL

sudo dnf install pass-otp
copy
sudo pacman -S pass-otp
copy
sudo zypper install pass-otp
copy
brew install pass-otp
copy

CAVEATS

Requires pass (password-store) installed. OTP secrets should be backed up separately. Time synchronization affects TOTP accuracy.

HISTORY

pass-otp was created as an extension to pass (password-store) by zx2c4. It brings two-factor authentication capabilities to the Unix password manager.

SEE ALSO

pass(1), oathtool(1), gpg(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid