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
Copy file name to clipboardExpand all lines: README.md
+49-2Lines changed: 49 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,21 @@ It provides the following in a single binary:
14
14
15
15
pago encrypts passwords with one or more public keys using [age](https://github.com/FiloSottile/age) (pronounced with a hard "g").
16
16
The public keys are called "recipients".
17
+
Recipients can be:
18
+
- age recipients
19
+
- SSH public keys
20
+
17
21
A private key matching one of the recipient public keys can decrypt the password.
18
22
The private keys are called "identities".
23
+
Identities can be:
24
+
- age identities
25
+
- SSH private keys
26
+
19
27
The file with the identities is encrypted with a password, also using age.
20
28
21
29
pago implements an agent like [ssh-agent](https://en.wikipedia.org/wiki/Ssh-agent) or [gpg-agent](https://www.gnupg.org/documentation/manuals/gnupg/Invoking-GPG_002dAGENT.html).
22
30
The agent caches the identities.
23
-
This mean you don't have to enter the master password again during a session.
31
+
This means you don't have to enter the master password again during a session.
24
32
pago starts the agent the first time you enter the master password.
25
33
You can also start and stop the agent manually.
26
34
@@ -78,7 +86,7 @@ You may need to allow pago-agent to [**lock enough memory**](#memory-locking).
78
86
79
87
## Supported platforms
80
88
81
-
- pago is used by the developer on Linux, NetBSD, and rarely) OpenBSD.
89
+
- pago is used by the developer on Linux, NetBSD, and (rarely) OpenBSD.
82
90
- pago is automatically tested on FreeBSD and macOS.
83
91
- pago does not build on Windows.
84
92
@@ -96,6 +104,45 @@ pago init
96
104
97
105
This will create a new password store, prompt you for a master password, and commit the recipients file to Git.
98
106
107
+
### Using SSH keys
108
+
109
+
To use pago with an SSH key as an identity, follow these steps.
110
+
Back up your `identities` file and install age for the command line before proceeding.
111
+
112
+
Note that the SSH key must not be encrypted, i.e., must not have a password.
113
+
If necessary, remove the password with `ssh-keygen`.
114
+
pago encrypts `identities` with a password using age encryption.
115
+
116
+
You may wish to work with secrets in memory or on an encrypted disk.
117
+
On Linux with glibc, you normally have `/dev/shm/` available as temporary in-memory storage.
118
+
119
+
1. Add your SSH _public_ key to `.age-recipients`.
0 commit comments