jayduhon / inferno-os

Automatically exported from code.google.com/p/inferno-os
2 stars 0 forks source link

secstore command & library do not implement writing to secstore. #256

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
try the 'r' "op" from secstore(1).
it will error out saying 'r' is not implemented.

Which operating system are you using?
latest inferno-os.

Please provide any additional information below.
i implemented putfile() and encrypt() in secstore(2),
and 'r' in secstore(1).
i also put secstore.dis in the appl/cmd/auth/mkfile.
branch secstoreput has the changes:
http://code.google.com/r/mechiel-inferno-os/source/list?r=secstoreput

i tested storing an retrieving a file sizes, big and small.  secstore(1) could 
write and later retrieve all files.

earlier, i tried p9p secstore.  i was surprised it claimed a file was written 
while the secstored log indicated the file was not (i tried writing a filename 
with a slash in it).  secstored writes an error (an inline message starting 
with an exclamation mark), but the secstore client never reads it.  it seems 
the protocol is that no message is written on success, but only on failure.  
doesn't feel very solid.

Original issue reported on code.google.com by mechiel@ueber.net on 3 Apr 2011 at 12:18

GoogleCodeExporter commented 9 years ago
committed changeset 503:a1b6ba01ded6

Original comment by Charles....@gmail.com on 3 Apr 2011 at 2:03