Skip to main content

verify_os_owned_service_key_enrollment

Function verify_os_owned_service_key_enrollment 

Source
pub fn verify_os_owned_service_key_enrollment(
    attestation_json: &[u8],
) -> Result<VerifiedServiceKeyEnrollment>
Expand description

Verify a hyprstream.service-key-enrollment.v1 attestation against this node’s OS-owned deployment trust chain (hyprstream#1562 H3).

The root, authority log, and checkpoint are read through the same trusted-artifact seam the process bootstrap uses (root-owned, symlink-free, not group/world-writable), so the attestation is authenticated by the ceremony chain — never by pinned key material. Every failure mode of verify_service_key_enrollment applies; an unreadable or untrusted chain artifact is equally fatal.