You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a check for the directory containing the socket. It must be owned
by the parsec user and parsec-clients group and be 750. This check is
disabled for testing.
Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
Copy file name to clipboardExpand all lines: README.md
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,18 @@
7
7
This repository contains a Rust client for consuming the API provided by the [Parsec service](https://github.com/parallaxsecond/parsec).
8
8
The low-level functionality that this library uses for IPC is implemented in the [interface crate](https://github.com/parallaxsecond/parsec-interface-rs).
9
9
10
+
## Filesystem permission check
11
+
12
+
To make sure that the client is communicating with a trusted Parsec service, some permission checks
13
+
are done on the socket location. Please see the
14
+
[Recommendations for Secure Deployment](https://parallaxsecond.github.io/parsec-book/threat_model/secure_deployment.html)
15
+
for more information.
16
+
This feature is activated by default but, knowing the risks, you can remove it with:
17
+
```
18
+
cargo build --features no-fs-permission-check
19
+
```
20
+
It is also desactivated for testing.
21
+
10
22
## License
11
23
12
24
The software is provided under Apache-2.0. Contributions to this project are accepted under the same license.
@@ -18,6 +30,7 @@ This project uses the following third party crates:
0 commit comments