oc_chat
Loading...
Searching...
No Matches
oc_chat.registry.auth Namespace Reference

Namespaces

namespace  bootstrap
namespace  events_writer
namespace  handover
namespace  roles
namespace  rotation
namespace  secrets_store
namespace  signing

Functions

object __getattr__ (str name)

Variables

dict _EXPORTS

Detailed Description

Registry actor-auth public surface.

Purpose
-------
Expose the M11.5 actor-auth helpers from one stable package import.

Responsibilities
----------------
- Re-export signing and verification helpers.
- Re-export secret-file helpers used by CLI and doctor flows.
- Re-export role, rotation, handover, and auth-event primitives.

Diagnostics
-----------
Domain: OC_CHAT.MAIN
Levels:
    L2 - lifecycle events
    L3 - semantic details
    L4 - deep tracing

Contracts
---------
- Secret material remains inside explicit secret-store/signing APIs.
- Registry writes still go through ``Registry.execute_domain_command``.

Dependencies
------------
- oc_chat.registry.auth.signing (not imported; loaded by name on first access to re-export HmacProof, sign_command and verify_hmac)
- 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)
- oc_chat.registry.auth.bootstrap (not imported; loaded by name on first access to re-export bootstrap_machine and export_bundle)
- oc_chat.registry.auth.roles (not imported; loaded by name on first access to re-export RoleGuard)
- oc_chat.registry.auth.rotation (not imported; loaded by name on first access to re-export rotate_secret and finalize_rotation)
- oc_chat.registry.auth.handover (not imported; loaded by name on first access to re-export initiate_handover and accept_handover)
- oc_chat.registry.auth.events_writer (not imported; loaded by name on first access to re-export AuthEventsWriter)
- oc_diagnostics (structured debug logging via _dbg)

Function Documentation

◆ __getattr__()

object oc_chat.registry.auth.__getattr__ ( str name)

Definition at line 87 of file __init__.py.

Variable Documentation

◆ _EXPORTS

dict oc_chat.registry.auth._EXPORTS
protected
Initial value:
1= {
2 "AuthEventsWriter": ("oc_chat.registry.auth.events_writer", "AuthEventsWriter"),
3 "HmacProof": ("oc_chat.registry.auth.signing", "HmacProof"),
4 "RoleGuard": ("oc_chat.registry.auth.roles", "RoleGuard"),
5 "SecretBlock": ("oc_chat.registry.auth.secrets_store", "SecretBlock"),
6 "accept_handover": ("oc_chat.registry.auth.handover", "accept_handover"),
7 "bootstrap_machine": ("oc_chat.registry.auth.bootstrap", "bootstrap_machine"),
8 "export_bundle": ("oc_chat.registry.auth.bootstrap", "export_bundle"),
9 "finalize_rotation": ("oc_chat.registry.auth.rotation", "finalize_rotation"),
10 "fingerprint_secret": ("oc_chat.registry.auth.secrets_store", "fingerprint_secret"),
11 "initiate_handover": ("oc_chat.registry.auth.handover", "initiate_handover"),
12 "load_secrets": ("oc_chat.registry.auth.secrets_store", "load_secrets"),
13 "rotate_secret": ("oc_chat.registry.auth.rotation", "rotate_secret"),
14 "sign_command": ("oc_chat.registry.auth.signing", "sign_command"),
15 "verify_hmac": ("oc_chat.registry.auth.signing", "verify_hmac"),
16 "write_secrets": ("oc_chat.registry.auth.secrets_store", "write_secrets"),
17}

Definition at line 68 of file __init__.py.