-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Closed
Copy link
Milestone
Description
RFC Reference: rfc16-geolocation-verification.md — LocationOffset struct, Offset signing
Tracking issue: #2893
Goal
Create the shared Go package that all three Phase 1 binaries depend on: LocationOffset type definitions, Ed25519 offset signing/verification, and UDP offset transport.
Scope
- New package
controlplane/telemetry/internal/geoprobe/ offset.go:LocationOffsetstruct (matching RFC definition — signature, pubkey, measurement slot, lat/lng, RTT fields, references chain), serialization/deserializationsigner.go: Ed25519 offset signing (wrapping existingsolana.PrivateKeypatterns frominternal/state/signer.go), signature verificationtransport.go: UDP send/receive helpers for LocationOffset datagrams- Unit tests for signing round-trip, serialization round-trip, verification of invalid signatures
Files to create
controlplane/telemetry/internal/geoprobe/offset.gocontrolplane/telemetry/internal/geoprobe/signer.gocontrolplane/telemetry/internal/geoprobe/transport.gocontrolplane/telemetry/internal/geoprobe/offset_test.gocontrolplane/telemetry/internal/geoprobe/signer_test.go
Estimated scope
Small–Medium (~200–300 lines)
Dependencies
None — this is the foundation issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels