README.md 1.51 KB
Newer Older
Marcus Pedersén's avatar
Marcus Pedersén committed
1
2
# ttp

Marcus Pedersén's avatar
Marcus Pedersén committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
ttp -  Get totp password code

Terminal program where you save your secret base32 codes associated  
with an easy to remember name, protected by a master password,  
both choosen by yourself.  

For help use -h or --help:  
```
Usage: ttp [OPTION] .. [KEYNAME]
Get totp password code

Options:
   no args     Called with no args, same as --list
  -n, --new    Add new totp key, interactive
  -l, --list   List names (KEYNAME) of available totp keys
  -h, --help   Print this help text and exit
   KEYNAME     Interactive, will ask for pass phrase to unlock
               and print current totp password code
  --version    output version information and exit

If you have forgotten your password, you will have to
delete directory $HOME/.ttp
You will have to start over to add new keys
```
Marcus Pedersén's avatar
Marcus Pedersén committed
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51

## Installation
### Linux:
- Download file: ttp-1.0.0-linux-x86_64
- Rename it to ttp and move it to /usr/bin/ttp
- Download file: ttp-1.0.0-man.1.gz
- Rename it to ttp.1.gz and move it to /usr/share/man/man1/ttp.1.gz  

Now you can use ttp by just writing **ttp** in your terminal and to view man page: **man ttp**

### Debian package installation amd64
Find the latest release at:  
```
https://projects.interbull.org/marcus/ttp/-/releases
```
* Download the debian package: ttp_x.x.x-x_amd64.deb
* Install with: apt install /path/to/deb/package/ttp_x.x.x-x_amd64.deb


### Windows:
- Download file: ttp-1.0.0-windows-x86_64.exe
- Rename it to ttp and move it to preferred directory  

Run ttp by specifying path to binary file: **\path\to\ttp**