-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
General bugs and sanity testing of secret unix commands #317
Comments
The This probably needs a review later on, but I think is a sufficient solution for the time being, and also perfectly aligns with how Unix commands work. |
I think we don't actually need to follow unix commands on the error reporting style. But we can still re-use our own |
What about providing What is proposed here? Should the |
Specification
I've been going over the new secrets commands to see if they function as expected. I'll be outlining problems I find here. I'm not considering any localpath to vault crossover for now.
General questions
rm: cannot remove 'nodir': No such file or directory
. However what if the error is a missing vault? Should we format that better than we are right now? Keep it more inline with the fs style error formatting?../
in paths that point outside of the root tree for the vault. Writing treats it as in the root directory. But ls will append the../
paths to the file names. The ls behaviour needs to be changed but is the write behaviour allowed?write
expectations
ErrorVaultsVaultUndefined
error. Before providing input.../
paths. - Works but treats it as the root directory. Do we allow this or explicitly not allow the path?rm
isRootDir
error or something, Allow it but special case to delete the vault if empty of recursive set. Or allow but special case to just delete all root contents.ErrorVaultsVaultUndefined
error. - Right now it's giving a EPERM cannot remove vault root error message. (addressed in Polykey#838)edit
TypeError: The "path" argument must be of type string. Received undefined
(addressed in Polykey#838)TypeError: The "path" argument must be of type string. Received undefined
(addressed in Polykey#838)undefined
.cat
ls
I'm not sure we added multiple path support to ls yet.
This still needs work to support multiple paths.
mkdir
Be sure to add onto the lists if you think of any checks to do.
Additional context
Tasks
The text was updated successfully, but these errors were encountered: