svrb

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package svrb reports the local evidence boundary for Signal SVRB.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(r CompatibilityReport) error

Validate checks that SVRB rows do not overclaim live-service behavior.

Types

type CompatibilityReport

type CompatibilityReport struct {
	UpstreamTag      string `json:"upstream_tag"`
	ParameterRefresh string `json:"parameter_refresh"`
	Rows             []Row  `json:"rows"`
}

CompatibilityReport summarizes SVRB coverage.

func Report

func Report() (CompatibilityReport, error)

Report returns the conservative SVRB compatibility report.

type Row

type Row struct {
	Domain                  string `json:"domain"`
	Status                  Status `json:"status"`
	ParameterRefresh        string `json:"parameter_refresh"`
	Descriptor              string `json:"descriptor"`
	DescriptorSHA256        string `json:"descriptor_sha256"`
	Reason                  string `json:"reason"`
	NextUpstreamInput       string `json:"next_upstream_input"`
	LiveServiceClaim        bool   `json:"live_service_claim"`
	OfficialAppInteropClaim bool   `json:"official_app_interop_claim"`
}

Row describes one SVRB report row.

type Status

type Status string

Status classifies SVRB evidence strength.

const (
	StatusStructuralOnly Status = "structural-only"
)

Report status values.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL