@@ -148,6 +148,7 @@ The password database is created and is active now. You can start adding entries
148
148
Password (enter to generate new):
149
149
Generating password ...done
150
150
Notes: Website uses Nginx auth
151
+ Do you want to add custom fields [y/N]:
151
152
Created new entry with id: 1
152
153
153
154
You can now list the entry with one of the list options.
@@ -163,6 +164,36 @@ You can now list the entry with one of the list options.
163
164
Modified: 2021-21-09 23:12:35
164
165
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
165
166
167
+ ## Add an entry with custom fields
168
+
169
+ From version 0.3 onwards, custom fields are supported.
170
+
171
+ $ varuh -A
172
+ Title: Github token
173
+ URL: https://github.com/mydev/myproject
174
+ Username: mydev
175
+ Password (enter to generate new): ghp_ipQrStuVwxYz1a2b3cdEF10ghI689kLaMnOp
176
+ Notes: Never Expires
177
+ Do you want to add custom fields [y/N]: y
178
+ Field Name: Domain
179
+ Value for Domain: github.com
180
+ Field Name: Type
181
+ Value for Type: Auth Token
182
+ Field Name:
183
+ Created new entry with id: 6
184
+
185
+ $ varuh -l 6
186
+ ID: 6
187
+ Title: Github token
188
+ User: mydev
189
+ URL: https://github.com/mydev/myproject
190
+ Password: ghp_ipQrStuVwxYz1a2b3cdEF10ghI689kLaMnOp
191
+ Notes: Never Expires
192
+ Domain: github.com
193
+ Type: Auth Token
194
+ Modified: 2021-21-13 00:07:18
195
+
196
+
166
197
For more on listing see the [ Listing and Searching] ( #listing-and-searching ) section below.
167
198
168
199
## Edit an entry
@@ -178,6 +209,7 @@ For more on listing see the [Listing and Searching](#listing-and-searching) sect
178
209
New Password ([y/Y] to generate new, enter will keep old one):
179
210
Current Notes: Website uses Nginx auth
180
211
New Notes: Website uses Apache
212
+ Do you want to add custom fields [y/N]:
181
213
Updated entry.
182
214
183
215
$ varuh -l 1 -s
@@ -191,14 +223,50 @@ For more on listing see the [Listing and Searching](#listing-and-searching) sect
191
223
Modified: 2021-21-09 23:15:29
192
224
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
193
225
226
+ ## Edit an entry with custom fields
227
+
228
+ When you edit an entry with custom fields, you get the option to change the name of the fields or delete the fields entirely.
229
+
230
+ $ varuh -E 6
231
+ Current Title: Github token
232
+ New Title:
233
+ Current URL: https://github.com/mydev/myproject
234
+ New URL:
235
+ Current Username: mydev
236
+ New Username:
237
+ Current Password: ghp_ipQrStuVwxYz1a2b3cdEF10ghI689kLaMnOp
238
+ New Password ([y/Y] to generate new, enter will keep old one):
239
+ Current Notes: Never Expires
240
+ New Notes:
241
+ Editing/deleting custom fields
242
+ Field Name: Domain
243
+ New Field Name (Enter to keep, "x" to delete): x
244
+ Field Name: Type
245
+ New Field Name (Enter to keep, "x" to delete): Token Type
246
+ Field Value: Auth Token
247
+ New Field Value (Enter to keep):
248
+ Do you want to add custom fields [y/N]:
249
+ Created 1 custom entries for entry: 21.
250
+ Updated entry.
251
+
252
+ $ varuh -l 6 -s
253
+ ID: 6
254
+ Title: Github token
255
+ User: mydev
256
+ URL: https://github.com/mydev/myproject
257
+ Password: ghp_ipQrStuVwxYz1a2b3cdEF10ghI689kLaMnOp
258
+ Notes: Never Expires
259
+ Token Type: Auth Token
260
+ Modified: 2021-21-13 00:16:41
261
+
194
262
(* -s* turns on visible passwords)
195
263
196
264
## Clone an entry
197
265
198
266
To clone (copy) an entry,
199
267
200
268
$ $ varuh -C 1
201
- Cloned to new entry, id: 2
269
+ Cloned to new entry, id: 3
202
270
203
271
## Remove an entry
204
272
@@ -207,8 +275,8 @@ To clone (copy) an entry,
207
275
208
276
It is an error if the id does not exist.
209
277
210
- $ varuh -R 3
211
- No entry with id 3 was found
278
+ $ varuh -R 4
279
+ No entry with id 4 was found
212
280
213
281
## Switch to a new database
214
282
@@ -260,7 +328,7 @@ Manually decrypt the database using `-d` option.
260
328
261
329
Now the database is active again and you can see the listings.
262
330
263
- $ varuh -l 2
331
+ $ varuh -l 3
264
332
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
265
333
ID: 2
266
334
Title: My Blog Login
0 commit comments