-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
59 lines (48 loc) · 1.79 KB
/
README
File metadata and controls
59 lines (48 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
52
53
54
55
56
57
58
Password Manager in Go.
To Install (Install GO, then):
$ cd passmgr
$ go build
$ sudo cp passmgr /usr/local/bin/
If you want to use a KeyFile, generate one first via: ./passmgr -g ~/.my.key
passmgr version 1.0.0, (c) 2022 Bob S. (Tips@TechnoWizardBob.com)
Usage:
passmgr [-h] [-dbfile filename] [-k keyfile] [-list] [-add] [...]
-h Print this help message.
For use with displaying random passwords:
-weekweb Make a week web page password for screen.
-web Make a web page password for screen.
-gen Make a password for screen.
-crazy Make a crazy password for screen.
Accessing the password store:
-dbfile Encrypted SQLite3 Database.
-g Generate a keyfile in path/file.
-k (Optional) Uses this keyfile.
For use with editing entries:
-delete Delete an entry.
-edit Edit an entry.
-enable Mark as enabled.
-disable Mark as disabled.
-expires When password is no longer valid.
-id Use only the entry for ID#.
Creating new entries:
-add Add a new entry.
-domain Add this domain name.
-username Add this username.
-pwd Add this password.
For use with listing:
-list Show all the entries.
-getByID Show the entry with ID#.
-getByDoamin Show the entries with domain name that matches.
Examples:
passmgr -dbfile ~/.main.db -k ~/.my.key -add -domain "gmail.com" -username "msmith" -pwd "@@S*fg8s^g8ds#afg!78g"
Add a new password.
passmgr -dbfile ~/.main.db -k ~/.my.key -list
List all passwords.
passmgr -dbfile ~/.main.db -k ~/.my.key -getByDomain -domain "youtube"
View entries for a domain name.
passmgr -dbfile ~/.main.db -k ~/.my.key -disable -id 2
Disable the entry with the ID of #2.
passmgr -dbfile ~/.main.db -k ~/.my.key -delete -id 2
Delete an entry by ID of #2.
passmgr -dbfile ~/.main.db -k ~/.my.key -edit -id 1 -pwd "NewP@330rd"
Edit an entry's password with the ID of #1.