5# OCT-LINT: disable=tests_exist reason="Covered by oc_chat/tests/registry/test_auth_*.py"
6"""
7Registry actor-auth public surface.
8
9Purpose
10-------
11Expose the M11.5 actor-auth helpers from one stable package import.
12
13Responsibilities
14----------------
15- Re-export signing and verification helpers.
16- Re-export secret-file helpers used by CLI and doctor flows.
17- Re-export role, rotation, handover, and auth-event primitives.
18
19Diagnostics
20-----------
21Domain: OC_CHAT.MAIN
22Levels:
23 L2 - lifecycle events
24 L3 - semantic details
25 L4 - deep tracing
26
27Contracts
28---------
29- Secret material remains inside explicit secret-store/signing APIs.
30- Registry writes still go through ``Registry.execute_domain_command``.
31
32Dependencies
33------------
34- oc_chat.registry.auth.signing (not imported; loaded by name on first access to re-export HmacProof, sign_command and verify_hmac)
35- oc_chat.registry.auth.secrets_store (not imported; loaded by name on first access to re-export SecretBlock, fingerprint_secret, load_secrets and write_secrets)
36- oc_chat.registry.auth.bootstrap (not imported; loaded by name on first access to re-export bootstrap_machine and export_bundle)
37- oc_chat.registry.auth.roles (not imported; loaded by name on first access to re-export RoleGuard)
38- oc_chat.registry.auth.rotation (not imported; loaded by name on first access to re-export rotate_secret and finalize_rotation)
39- oc_chat.registry.auth.handover (not imported; loaded by name on first access to re-export initiate_handover and accept_handover)
40- oc_chat.registry.auth.events_writer (not imported; loaded by name on first access to re-export AuthEventsWriter)
41- oc_diagnostics (structured debug logging via _dbg)