Skip to main content

An TOTP cli for Pass

Project description

passotp is a CLI to generate time-based one-time passwords from secrets stored with Pass

Instalation

pip install passotp

Prepare your encrypted pass files

Edit your password file

pass edit devel/test

Add a line at the end of the file containing “OTP: <secret>”, It should look like this “OTP: base32secret3232” or something like this “OTP: KRBP SL73 C3RI 76GP MK3S BGHO TC4B 347A 1DYN CVXJ”

(Warning: the “OTP” is not case sensitive yet issue #1)

Usage

passotp <pass-name> [-c]

Example

~$ pass devel/test
VU5Z5Tok4ATyIQQdSdeO
user: test
OTP: base32secret3232
~$ passotp devel/test
458262

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

passotp-0.1.0.tar.gz (2.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page