Skip to main content

Tetripin, a command line TOTP 2 factor auth manager

If you have a lot of account with two factor authentification activated, using a separated device can take a lot of time.

Tetripin is a cli 2FA manager that can generate the one time PIN from your terminal. It’s compatible with most TOTP services, e.g: the ones that use the regular settings for Google Authenticator such as most crypto-currency exchanges, lastpass and discord…

$ tetripin add Bittrex JBSWY3DPEHPK3PXP
Account added
$ tetripin gen Bittrex
969804

Support

It works on Windows/Mac/Linux, but support only TOTP with default settings:

period = 30
digits = 6
algorithm = SHA1

If you need other settings, open a github issue.

It’s written in Python, and works on Python 2 and 3.

Installation

You need to know how pip works. If you don’t, vote on the github issue asking for binaries. Indicate your OS name and version.

` python -m pip install tetripin --user `

Binary may come in the future so you don’t have to understand how pip works.

Futur

  • backup

  • restore

  • rename

  • import

  • read from qrcode local file or url

  • deal with other algo settings

  • add support for steam

  • add sync service

  • desktop GUI

  • mobile GUI

  • web GUI

  • keepass integration

  • output time remaining

Tips

If you can’t find the tetripin command, you can still call tetripin doing:

python -m tetripin

Export secrets:

$ tetripin listsecrets # Export secrets
bittrex=JBSWY3DPEHPK3PXP

Get conf infos:

$ tetripin listconfig # List config values
secrets_file=/home/user/.local/share/tetripin/0.1/secrets.toml
data_dir=/home/user/.local/share/tetripin/0.1

WARNING

If your secrets get stolen, people will be able to generate the PIN. Keep the secrets.toml safe !

Metadata

Release files for tetripin 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tetripin 0.1.3
File Size Uploaded
tetripin-0.1.3.tar.gz 5.9 kB Details

Release files / tetripin-0.1.3.tar.gz

Download URL tetripin-0.1.3.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8fdb15ca0ab53e655f87eb95183368b57505967dfcd9f0011b99f96c651ccf79
BLAKE2b-256 checksum
How to use checksums
c6112f7553dcae9ef16f60e5ad2e195602c7aac6e00d7d27e15c90619ed4377f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 release file

0.1.2

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page