Expand description
This crate provides the OPRF key generation functionality for TACEO:OPRF.
It implements a service that listens for OPRF key generation events of the OprfKeyRegistry
and participates in the distributed key generation protocol to generate and register OPRF keys.
The generated keys are stored securely using the provided SecretManagerService.
From there, they can be fetched by the OPRF nodes that handle OPRF requests.
For details on the OPRF protocol, see the design document.
Modules§
- config
- Configuration types for a TACEO:OPRF key-gen instance.
- metrics
- Metrics definitions for the OPRF service.
- secret_
manager - Secret manager interface for OPRF nodes.
Structs§
- KeyGen
Tasks - The tasks spawned by the key-gen library. Should call
KeyGenTasks::joinwhen shutting down for graceful shutdown. - Started
Services - A struct that keeps track of the health of all async services started by the service.
Enums§
- Environment
- The environment the service is running in.
Functions§
- start
- Starts the OPRF key generation service and spawns all required background tasks.
Additionally, returns an
axum::Routerexposing basic service endpoints.