Skip to content

jimyag/2fa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2fa

2fa is a two-factor authentication command line tool.

Install

go get github.com/jimyag/2fa@latest

or download the binary from https://github.com/jimyag/2fa/releases

Usage

Add

Add a 2fa key

2fa add <name> <key>

2fa add jimyag 4LDRN6EUDSF3RNV7

Get

Get a 2fa key and copy to clipboard

2fa get <name> [--copy/-c]

2fa get jimyag
2fa get jimyag --copy

List

List all 2fa keys and display in a table

2fa list

2fa list
+--------+--------+------------+-----------+
| NAME   | TOTP   | LIFETIME/S | NEXT TOTP |
+--------+--------+------------+-----------+
| jimyag | 056907 |      2     |   134552  |
+--------+--------+------------+-----------+

Delete

Delete a 2fa key

2fa del <name>

2fa del jimyag

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published