feat(tvix/store): Add a signing PathInfoService

- Add a new PathInfoService implementation that wraps transparently
around another except that it dynamically signs all the incoming
path-infos with the provided signer.

- Add a ServiceBuilder for this PathInfoService that provides a
SigningPathInfoService with a keyfile signer

Change-Id: I845ddfdf01d14c503c796b2b80c720dab98be091
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12032
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: sinavir <tvix@sinavir.fr>
Tested-by: BuildkiteCI
This commit is contained in:
sinavir 2024-07-22 15:09:10 +02:00 committed by clbot
parent e4378f0143
commit 9f36632509
6 changed files with 225 additions and 0 deletions

2
tvix/Cargo.lock generated
View file

@ -4696,6 +4696,8 @@ dependencies = [
"clap",
"count-write",
"data-encoding",
"ed25519",
"ed25519-dalek",
"futures",
"hyper-util",
"lazy_static",