3 aescbc, secstore \- secstore commands
56 authenticates to the server
57 using a password and optionally a hardware token,
58 then saves or retrieves a file.
59 This is intended to be a credentials store (public/private keypairs,
60 passwords, and other secrets) for a factotum.
64 stores a file on the secstore.
68 retrieves a file to the local directory;
71 writes it to standard output instead.
74 of . will send to standard output
75 a list of remote files with dates, lengths and SHA1 hashes.
79 removes a file from the secstore.
83 prompts for a password change.
87 produces more verbose output, in particular providing a few
88 bits of feedback to help the user detect mistyping.
92 says that the password should be read from standard input
98 says that the password should be read from NVRAM
105 .BR tcp!$auth!secstore ,
106 or the server specified by option
109 For example, to add a secret to the file read by
114 % cd somewhere-private
115 % auth/secstore -g factotum
117 % echo 'key proto=apop dom=x.com user=ehg !password=hi' >> factotum
118 % auth/secstore -p factotum
120 % cat factotum | 9p write -l factotum/ctl
123 and delete the window.
124 The middle commands fetch the persistent copy of the secrets,
126 and save the updated file back to secstore.
127 The final command loads the new secret into the running factotum.
131 .\" command packages this sequence into a convenient script to simplify editing of
133 .\" stored on a secure store.
134 .\" It copies the named
140 .\" on them. When the editor exits,
142 .\" prompts the user to confirm copying modifed or newly created files back to
148 .\" grabs all the user's files from
152 .\" By default, ipso will edit the
155 .\" one of them is named
157 .\" flush your current keys from factotum and load
158 .\" the new ones from the file.
159 .\" If you supply any of the
166 .\" will just perform the operations you requested, i.e.,
167 .\" edit, flush, and/or load.
175 .\" as the editor insted of
179 .\" option provides a similar service for files encrypted by
184 .\" option, the full rooted pathname of the
186 .\" must be specified and all
188 .\" must be encrypted with the same key.
191 .\" newly created files are ignored.
194 encrypts and decrypts using AES (Rijndael) in cipher
195 block chaining (CBC) mode.
197 .B \*9/src/cmd/secstore
202 There is deliberately no backup of files on the secstore, so
204 (or a disk crash) is irrevocable. You are advised to store
205 important secrets in a second location.
209 .\" secrets will appear as plain text in the editor window,
210 .\" so use the command in private.