https://github.com/parallaxsecond/parsec-client-rust
Parsec Rust Client
https://github.com/parallaxsecond/parsec-client-rust
cryptography-library hardware-abstraction rust-library
Last synced: about 1 year ago
JSON representation
Parsec Rust Client
- Host: GitHub
- URL: https://github.com/parallaxsecond/parsec-client-rust
- Owner: parallaxsecond
- License: apache-2.0
- Created: 2020-03-18T15:27:52.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2023-11-20T13:59:47.000Z (over 2 years ago)
- Last Synced: 2025-04-14T09:53:05.627Z (about 1 year ago)
- Topics: cryptography-library, hardware-abstraction, rust-library
- Language: Rust
- Size: 207 KB
- Stars: 11
- Watchers: 6
- Forks: 20
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Parsec Rust Client
This repository contains a Rust client for consuming the API provided by the [Parsec service](https://github.com/parallaxsecond/parsec).
The low-level functionality that this library uses for IPC is implemented in the [interface crate](https://github.com/parallaxsecond/parsec-interface-rs).
When using the JWT-SVID authentication method, the client will expect the `SPIFFE_ENDPOINT_SOCKET` environment variable to contain the path of the Workload API endpoint.
You will need to compile the crate with the `spiffe-auth` feature activated.
See the [SPIFFE Workload Endpoint](https://github.com/spiffe/spiffe/blob/master/standards/SPIFFE_Workload_Endpoint.md#4-locating-the-endpoint) for more information.
## Locating the Parsec endpoint
The Rust client follows the [service discovery](https://parallaxsecond.github.io/parsec-book/parsec_client/api_overview.html#service-discovery) policy
to find the Parsec endpoint. For example if the socket is at `/tmp/parsec.sock`:
```
export PARSEC_SERVICE_ENDPOINT="unix:/tmp/parsec.sock"
```
## License
The software is provided under Apache-2.0. Contributions to this project are accepted under the same license.
## Contributing
Please check the [**Contribution Guidelines**](https://parallaxsecond.github.io/parsec-book/contributing/index.html)
to know more about the contribution process.
*Copyright 2020 Contributors to the Parsec project.*