Skip to content
/ t1tp Public

Get Time-based One Time Passwords from 1Password

License

Notifications You must be signed in to change notification settings

Tutuchan/t1tp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

t1tp

A Python tool to retrieve Time-based One Time Passwords from a 1Password account.

Prerequisites

  • Python3
  • A 1Password.com account
  • the op commmand line tool: brew cask install 1password-cli

Installation

git clone https://github.com/tutuchan/t1tp .
cd t1tp
pip install .

1Password configuration

You can add TOTP on a 1Password item by clicking Edit, then the triple dots on the right side, near to the Section field:

Use the security phrase provided by your service and save your changes. Your TOTP should start appearing there.

Usage

usage: t1tp [-h] [-c] [-g ITEM] [-v]

optional arguments:
  -h, --help           show this help message and exit
  -c, --check          check that t1tp is setup correctly
  -g ITEM, --get ITEM  the title of the 1Password item to retrieve the OTP
                       from
  -v, --verbose        show more information

The first time you run the command, you may be asked to enter your 1Password email and master key (needed by op), then your password twice.

After that, you will only be asked for your password and a token will be created for the session. These tokens last 30 minutes.

About

Get Time-based One Time Passwords from 1Password

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages