mirror of
https://github.com/fenleon/open-madrid.git
synced 2026-10-22 16:12:35 +00:00
Clean-room transcription of the OpenBubbles ADI white-box (unstripped Linux .so), byte-exact against gdb-oracle vectors: - ClearAdiOtp/ClearAdiTables: gen_otp (IOS) / gen_otp_ios (Mac) OTP ciphers, gen_code 2FA (SHA-1 over the 60-byte secret), 28-byte X-Apple-I-MD frame - ClearAdiProvision: init_session, encrypt/encsec, spim_map_signature, decryptPtm - ClearAdiFraming: asm-pinned Spim/Cpim/Ptm framing + ProvisionedData (0x78) - ClearAnisetteProvider: GSA lookup/start/finish provisioning flow, anisette header map, state persistence seam - .rodata tables embedded as base64 source (ClearAdiTablesData) — no Apple-derived binaries in the repo; raw bins stay untracked for dev cross-checks - docs: spec rev 27 (OTP derivation + framing facts); unpinned wire details TODO(capture) 192 tests green (:registration:test).