radicle-heartwood-lfs/radicle-node
cloudhead 989edacd56
Include new `rad/root` in signed refs
We ensure that a `rad/root` ref is included in the signed refs file
under `rad/sigrefs` for all remotes. This prevents a certain kind of
"grafting" attack where signed refs can be copied between repositories,
by having the peer sign over the identity root together with the data refs.

When verifying signed refs, we ensure that the ref is present and points
to an identity branch root that matches the repository identity containing
the signed refs.

Alternatives: lots of alternatives were considered, but this one doesn't
introduce any changes to the signing. The `rad/id/root` name was
considered but is invalid due to `rad/id`.
2024-10-21 16:32:49 +02:00
..
src Include new `rad/root` in signed refs 2024-10-21 16:32:49 +02:00
Cargo.toml Update `radicle-node` crate to 0.10.0 2024-09-03 12:37:47 +02:00
build.rs Update radicle crates to 0.9.0 2024-03-26 11:56:27 +01:00