You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pwd.sh is a Bash shell script to manage passwords and other secrets.
2
2
3
-
It uses GnuPG to symmetrically (i.e., using a master password) encrypt and decrypt plain text files.
3
+
It uses GnuPG to symmetrically (i.e., using a master password) encrypt and decrypt plaintext files.
4
4
5
5
[drduh/Purse](https://github.com/drduh/Purse) is a fork which uses public key authentication instead of a master password and can integrate with YubiKey.
6
6
7
7
# Release notes
8
8
9
-
## Version 2 (2020)
9
+
See [Releases](https://github.com/drduh/pwd.sh/releases)
10
10
11
-
The second release of pwd.sh features many security and reliability improvements, and is a recommended upgrade. Compatible on Linux, OpenBSD, macOS.
12
-
13
-
Known Issues:
14
-
15
-
* Newer versions of macOS error with `tr: Illegal byte sequence` - see [issue #36](https://github.com/drduh/pwd.sh/issues/36)
11
+
# Use
16
12
17
-
Changelist:
13
+
Clone the repository:
18
14
19
-
* Passwords are now encrypted as individual files, rather than all encrypted as a single flat file.
20
-
* Individual password filenames are random, mapped to usernames in an encrypted index file.
21
-
* Index and password files are now "immutable" using chmod while pwd.sh is not running.
22
-
* Read passwords are now copied to clipboard and cleared after a timeout, instead of printed to stdout.
23
-
* Use printf instead of echo for improved portability.
24
-
* New option: list passwords in the index.
25
-
* New option: create tar archive for backup.
26
-
* Removed option: delete password; the index is now a permanent ledger.
27
-
* Removed option: read all passwords; no use case for having a single command.
28
-
* Removed option: suppress generated password output; should be read from safe to verify save.
15
+
```console
16
+
git clone https://github.com/drduh/pwd.sh
29
17
30
-
## Version 1 (2015)
18
+
```
31
19
32
-
The original release which has been available for general use and review since July 2015. There are no known bugs nor security vulnerabilities identified in this stable version of pwd.sh. Compatible on Linux, OpenBSD, macOS.
Passwords are stored with a timestamp for revision control. The most recent version is copied to clipboard on read. To list all passwords or read a previous version of a password:
48
+
Passwords are stored with a timestamp for revision control. The most recent version is copied to clipboard on read. To list all passwords or read a specific version of a password:
65
49
66
50
```console
67
-
$ ./pwd.sh l
51
+
./pwd.sh l
68
52
69
-
$ ./pwd.sh r userName@1574723600
53
+
./pwd.sh r userName@1574723600
70
54
```
71
55
72
56
Create an archive for backup:
73
57
74
58
```console
75
-
$ ./pwd.sh b
59
+
./pwd.sh b
76
60
```
77
61
78
62
Restore an archive from backup:
79
63
80
64
```console
81
-
$ tar xvf pwd*tar
65
+
tar xvf pwd*tar
82
66
```
83
67
84
-
The backup contains only encrypted files and can be publicly shared for use on trusted computers.
85
-
86
-
See [drduh/config/gpg.conf](https://github.com/drduh/config/blob/master/gpg.conf) for additional GPG configuration options.
0 commit comments