Skip to main content

ADMISSION_NOTICE_V1

Constant ADMISSION_NOTICE_V1 

Source
pub const ADMISSION_NOTICE_V1: &str = "Before you join this Stratum node, please note three things. \
First, the operator of this node can read the data in your pod while it is stored on the node. \
Second, backups of this node hold your pod data, encrypted to recipients the operator chose; \
whoever holds the key for one of those recipients can read it. \
Third, once the node is served on its public origin, Cloudflare terminates TLS for it and \
can read your pod traffic in transit. \
By signing your admission request you confirm that you have read this notice.";
Expand description

The admission notice, version 1: what a tenant is told before joining.

A prospective tenant reads this text and signs its SHA-256 (admission_notice_v1_sha256) into the AdmissionClaim, so the node can show which text the tenant accepted. The text is pure ASCII with no trailing newline, so a client that receives it as a JSON string and hashes its UTF-8 bytes gets the same digest. It never changes: different wording would be a new constant with a new version.