docs(soc): drop citations of local notes and build ids from SEP comments

This commit is contained in:
Tyler Smith committed 2026-11-11 04:55:31 +00:00
1 parent 4edada7b9b
commit dccd99e520
11 files changed
+14 -17

No files matched your search

+1 -2
View File
@@ -3,7 +3,6 @@
//! The J473AP DT uses `iop-sep,ascwrap-v4` and `iop-nub,sep`, not RTBuddy.
//! `AppleSEPManager::_sendMessageGated` (kernel file 0x2d6ac90) puts the
//! service ID in its payload; ASC endpoint zero carries it unchanged.
//! docs/research/sep.md owns the recovered contract and remaining gates.
//!
//! The emulated SEP boots: SEPROM accepts the delivered container under
//! Stela's own explicit, TSS-free trust policy (recording measured evidence),
@@ -13,7 +12,7 @@
//! (`boot_policy`) and credential manager (`credentials`) services; each
//! answers the requests whose contract is recovered and refuses the rest
//! rather than fake a reply, and the other services are not advertised. See
//! `firmware`/`os`/`control` and docs/research/sep.md.
//! `firmware`/`os`/`control`.
pub mod boot_policy;
pub mod control;
pub mod credentials;
@@ -8,8 +8,7 @@
//! no ACM. The proposed/blessed digest getters +0xec7c/+0xe1b4 select 13/16,
//! and +0xe754/+0xe3c8 the local 11/14; helper +0xe8a8..0xe93c sends 32
//! bytes and copies exactly 48 after the reply header. Commands 5..7, 12 and
//! 15 are the remote nonce's, which stays refused. Source SHA-256 and the
//! Stela policy are in docs/research/sep.md.
//! 15 are the remote nonce's, which stays refused.
//!
//! The native trust policy permits one unauthenticated proposal per nonce
//! at a time, only for these empty bodies. A proposal belongs to
+1 -2
View File
@@ -9,8 +9,7 @@
//! replies 106 (`_bootAction` 0x2d72d68). This records measured evidence; it
//! does not claim Apple's signature was checked by Apple keys. A malformed
//! container, a payload type that disagrees with the request, or a DMA fault
//! refuses without a boot acknowledgement. docs/research/sep.md owns the
//! contract and the trust-policy boundary.
//! refuses without a boot acknowledgement.
use super::super::asc::{Firmware, Message};
use super::{
Entropy, SecurityMode, boot_policy, control, credentials,
+1 -1
View File
@@ -3,7 +3,7 @@
//! Apple's Platform Security "Secure Enclave" describes device-unique UID
//! and shared GID roots that software cannot read. The restore image contains
//! neither. Stela requires explicit persistent provisioning and separates the
//! domains with HMAC-SHA256. docs/research/sep.md defines this Stela policy.
//! domains with HMAC-SHA256, a Stela policy.
//! This primitive grants no Image4 trust, AKS wrapping format or keybag state.
use crate::Result;
use hmac::{Hmac, Mac};
@@ -9,8 +9,8 @@
//! and cannot authorize a key belonging to another machine or policy.
//!
//! Only the standalone class 13 profile with options 1 (libFDR's `rko: 1`) or
//! none (a request without `rko`, as a post-sign-in caller sends it in
//! build-49) and P-256 types 4/5 are admitted. The options value is bound
//! none (a request without `rko`, as a caller sends it after sign-in) and
//! P-256 types 4/5 are admitted. The options value is bound
//! into the scalar and descriptor; its sepOS effect is not interpreted. Credential bags, deletion/revocation, attestation,
//! private export and unsupported key classes remain separate operations.
use super::super::Entropy;
+1 -1
View File
@@ -170,7 +170,7 @@ fn source_shaped_constructor_returns_reopenable_keys_and_advances_to_attestation
}
}
// The build-49 post-sign-in request: {bc: 13, kt: 4, o: "oc"}, no `rko`.
// A request seen after sign-in: {bc: 13, kt: 4, o: "oc"}, no `rko`.
const REFERENCE_CREATE_NO_OPTIONS: &[u8] =
b"\x31\x1b\x30\x07\x0c\x02bc\x02\x01\x0d\x30\x07\x0c\x02kt\x02\x01\x04\x30\x07\x0c\x01o\x0c\x02oc";
+1 -1
View File
@@ -23,7 +23,7 @@
//! the AP's own sends, such as a client's OOL registration; SEP-sent traffic
//! is not gated. Only services with a native implementation are cataloged:
//! a guessed advertisement would make the kernel create a nub it then blocks
//! on. docs/research/sep.md owns the recovered contract.
//! on.
//!
//! Application-service frames wait for the SEP's DMA step, where the service
//! reads its request from, and writes its result to, the OOL buffers its AP
+2 -2
View File
@@ -2,10 +2,10 @@
//! the installed boot bind to, and the Stela-owned signing of the macOS
//! default LocalPolicy.
//!
//! Two distinct trust owners meet here (docs/research/restore-trust.md):
//! Two distinct trust owners meet here:
//!
//! - The **recoveryOS** LocalPolicy is verified by libbootpolicy against
//! Apple's fixed roots, so Stela cannot sign it; the lead's restore client
//! Apple's fixed roots, so Stela cannot sign it; Stela's restore client
//! obtains it through an opt-in Apple TSS request. The SEP's only part is a
//! faithful recoveryOS policy **nonce**: restored drives
//! `bootpolicy_update_recoveryos_policy_nonce_begin`,
+1 -1
View File
@@ -2,7 +2,7 @@
//!
//! `AppleSEPBooter::bootSEP` 0x2d738d4..0x2d74030, `_bootAction`
//! 0x2d72ca8..0x2d7309c and `generateROMNonce` 0x2d74030..0x2d742c4
//! (26A434 kernel file offsets). See docs/research/sep.md.
//! (26A434 kernel file offsets).
//!
//! Stela hands off a running ROM in state 1, with no nonce. BootTz0
//! initializes native private state, inaccessible to AP DMA, and reaches
+2 -2
View File
@@ -2,8 +2,8 @@
//! ([`super::keys`]) and the anti-replay store ([`super::store`]).
//!
//! On an installed machine it is the machine-state partition, after the NOR
//! image (docs/research/installation.md: one small partition holds the NOR,
//! NVRAM and the SEP's anti-replay storage). Its first [`ROOTS_BYTES`] hold the
//! image (one small partition holds the NOR, NVRAM and the SEP's
//! anti-replay storage). Its first [`ROOTS_BYTES`] hold the
//! roots record, the rest the store's two banks ([`super::store::persist`]).
//! An all-zero area is one never used, which the SEP provisions on its first
//! activation, as a new Mac's SEP has fresh state; any other content must
+1 -1
View File
@@ -2,7 +2,7 @@
//! bytes it reads and writes, and how a request it refuses is answered.
//!
//! A refusal carries the service protocol's own failure answer, which the
//! SEP sends (docs/design/runtime.md "Unsupported operations"). Once a
//! SEP sends. Once a
//! request may have taken effect, such as
//! a durable commit whose acknowledgement was lost, a failure answer would
//! be as untrue as a success, so that refusal carries none and the AP