mirror of
https://github.com/qtmleap/revkit.git
synced 2026-09-16 00:01:50 +02:00
- crypto.py: add DH key operations (generate_dh_keypair, compute_dh_shared_secret) and derive_full_key_chain orchestrator that runs Phase 3 KDF → 48B key → Phase 2 DH in sequence; add SessionKeys dataclass for typed output - constants.py: add IOS_DH_P, IOS_DH_G (Netflix 1024-bit group), IOS_APPBOOT_ENDPOINT - cbor_encoder.py: add build_appboot_request high-level builder that wires entity_auth_data + key 33.6 scheme_data + header - cbor_decoder.py: add parse_appboot_response to extract server_scheme_data (key 33.6), server_nonce (key 33.9), scheme_id, and cookies from appboot response - ios_client.py: new iOSMslClient class with perform_appboot() end-to-end orchestrator and build_encrypted_msl_request(); TODO comments mark Frida-capture-required values - verify_full_key_chain.py: extend with DH round-trip tests using raws/msl_keys.json vectors (4 new assertions, 12 total PASS) - __init__.py: export iOSMslClient, iOSAppbootParams, iOSSessionState, SessionKeys Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>