about summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-10-05T07·59+0300
committerflokli <flokli@flokli.de>2023-10-05T09·52+0000
commit1f03a520a9d0d7d49de59f8a7b8dc314281642fa (patch)
tree895b4f0c132896b0abfa10945cdf49a38d7f4aa0 /nix
parent7706a8f224d6277b7c4f32ffaf869dc7f28e643d (diff)
feat(tvix/store): add validation for references r/6706
This validates the size of reference digests in the PathInfo message,
as well as inside the narinfo submessage. If narinfo is set, they need
to parse to StorePath, and have the same digest there as in the PathInfo
message.

`proto::tests::pathinfo::validate_references` needed to be updated,
because we actually did not populate the proper references before.

Change-Id: I9545b2487aab9fe0d229c26aceba5ddc5e6daafd
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9545
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: edef <edef@edef.eu>
Tested-by: BuildkiteCI
Diffstat (limited to 'nix')
0 files changed, 0 insertions, 0 deletions