OpenSSF SLSA v1.0 Build Provenance, in-toto DSSE Envelopes, Sigstore Fulcio/Rekor & Apple Notarization
Publishing a plain SHA256SUMS.txt file on the same web server that hosts a release binary fails whenever a compromised CI runner or storage bucket overwrites both files together. Binding immutable commit digests to isolated build attestations, Merkle transparency logs, and stapled OS notarization tickets closes the farm-to-table gap.
1. OpenSSF SLSA v1.0 Build Track & in-toto Statement v1 Binding
Under Torres-Arias et al. (2019) and OpenSSF SLSA v1.0, an attestation binds output artifact subject digests (sha256) to exact buildDefinition.resolvedDependencies (Git commit SHA-1/SHA-256, toolchain digests) and control-plane runDetails.builder.id:
Statement_v1 = {
"_type": "https://in-toto.io/Statement/v1",
"subject": [{ "name": "Destiny-2.0.0.dmg", "digest": { "sha256": "<hex_64>" } }],
"predicateType": "https://slsa.dev/provenance/v1",
"predicate": { "buildDefinition": {...}, "runDetails": { "builder": { "id": "..." } } }
}2. Dead Simple Signing Envelope (DSSE) Pre-Authentication Encoding
To prevent type-confusion and JSON parser-differential attacks, DSSE signs deterministic ASCII decimal byte-length framing over payloadType and raw payload bytes before ECDSA P-256 or Ed25519 signing:
PAE(type, body) = "DSSEv1" || 0x20 || ASCII_DEC(|type|) || 0x20 || type
|| 0x20 || ASCII_DEC(|body|) || 0x20 || body
sig = Sign(sk_ephemeral, PAE("application/vnd.in-toto+json", raw_statement_bytes))3. Keyless Sigstore Merkle Inclusion Proofs & macOS Gatekeeper Stapling
Sigstore (Newman, Meyers & Torres-Arias, 2022) combines short-lived OIDC-verified Fulcio certificates with RFC 6962 Rekor Merkle tree inclusion proofs (O(log N) audit path verification). On macOS 15+, Apple Developer ID Mach-O code signing (codesign --options runtime --timestamp) paired with offline-verifiable stapled notarization tickets (xcrun stapler validate, e.g., Destiny Team ID J5BH67967P) enforces kernel page-hash integrity (CS_KILL / CS_HARD) on every mapped code page.
4. Enterprise Cloud Binary-Upload Contracts vs Self-Serve Local Security
Compare sales-gated cloud AppSec contracts against Destiny’s self-serve zero-upload CycloneDX 1.6 SBOM auditor, CSP3 header engine, and Apple Silicon studio below.
Document strict SHA-256 CSP, HSTS preload, and zero third-party ad-tracker compliance.
SLSA v1.0, in-toto DSSE, Sigstore & Apple Notarization — FAQ
Direct answers on SLSA Build L2 vs L3 isolation, DSSE pre-authentication encoding, Fulcio/Rekor keyless transparency logs, and engineering scope.
- What threat boundary separates OpenSSF SLSA v1.0 Build Level 2 from Build Level 3?
- SLSA Build L2 requires authenticated provenance generated by a hosted build service rather than a developer laptop, whereas Build L3 additionally requires isolated, ephemeral build environments where user-defined build steps cannot read or exfiltrate the signing key used to attest the provenance statement.
- Why does Dead Simple Signing Envelope (DSSE) sign a length-prefixed PAE byte string instead of canonical JSON?
- JSON canonicalization parsers (such as JCS or XML-DSig) historically suffered duplicate-key, UTF-16 surrogate, and whitespace-normalization discrepancies between signer and verifier. DSSE signs exact raw payload bytes bound unambiguously to payloadType via PAE(type, body) = "DSSEv1 " || LEN(type) || " " || type || " " || LEN(body) || " " || body, eliminating parser-differential signature bypasses.
- How does Sigstore (Newman, Meyers & Torres-Arias, 2022) verify artifacts after short-lived keys expire?
- Fulcio issues an X.509 certificate valid for roughly 10 minutes binding an ephemeral public key to an OIDC workload or maintainer identity, and Rekor records the artifact signature inside an append-only RFC 6962 Merkle transparency log with an integrated timestamp—proving the signature was created while the OIDC identity and certificate were valid even after the ephemeral private key is zeroed.
- Does software provenance or CycloneDX verification constitute legal advice or formal compliance certification?
- No. Cryptographic build provenance, Apple Gatekeeper notarization, and SBOM verification are technical engineering controls; Destiny provides informational engineering software, not legal advice or formal regulatory certification.