Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

An TOTP cli for Pass

Project Description

passotp is a CLI to generate time-based one-time passwords from secrets stored with Pass (https://www.passwordstore.org/)

Installation

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

Usage

passotp <pass-name> [-c]
pass devel/test | passotp [-c]

the -c parameter will copy the code to your clipboard

Example

~$ pass devel/test
VU5Z5Tok4ATyIQQdSdeO
user: test
OTP: base32secret3232
~$ passotp devel/test
458262
Seconds remaining: 28
# or just
~$ pass devel/test | passotp
458262
Seconds remaining: 28
Release History

Release History

This version
History Node

0.2.0

History Node

0.1.0

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
passotp-0.2.0.tar.gz (2.4 kB) Copy SHA256 Checksum SHA256 Source Sep 10, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting