-
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
Review toError
and fromError
sensitivity filter, agent service sensitive information removal, PK specific error passthrough, and unknown errors
#564
Comments
Is this being done with your recent changes to js-rpc? Is there a PR for this? |
Yeah, I need to fix it now. There isn't a PR for this yet. |
What still needs to be done here? I see alot of change for this RPC error thing but no spec as to what has been changed, or what the target is. How is RPC errors still receiving so much changes? |
The |
Need to prove all of these cases with tests.
|
toError
and fromError
impementationtoError
and fromError
sensitivity filter, agent service sensitive information removal, PK specific error passthrough, and unknown errors
It was found that the RPCServer was never using the |
Well in terms of filtering, we have to decide whether it is more explicit, in the sense of filtering a specific path in a structure, or filtering based on patterns. A hybrid form is a JSON-path like structure, where you can filter specific or pattern match. An easier way is just a regex applied to the path somehow. The most simplest for now is a specific key path, since we already know what kind of sensitive data we want to filter. |
Specification
The current implementation of
toError
andfromError
is basic and minimally functional. It needs to be reviewed and expanded and tested to handle all kinds of errors.We also need the
sensitive
functionality for the client service. The error stack needs to be stripped from serialised errors.Additional context
ClientService
and js-ws and js-rpc integration #560Tasks
toError
andfromError
The text was updated successfully, but these errors were encountered: