Files
pruefwerk/compliance-core/src/lib.rs
T
Sharang ParnerkarandClaude Opus 5 00bae6ec82
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 6m12s
refactor(security): move SecretBox into compliance-core (#260)
The dashboard seals its session records with the same scheme, so the crypto
moves to `compliance_core::secret_box` behind a `secrets` feature. The agent's
`secrets` module keeps the startup sealing pass and re-exports the type.
`from_key` takes raw key bytes, and `has_key` replaces the private field check.
The agent no longer depends on aes-gcm directly.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-09-21 18:11:13 +02:00

28 lines
646 B
Rust

pub mod config;
pub mod control_check;
pub mod db;
pub mod error;
pub mod exec_policy;
pub mod models;
pub mod net_guard;
pub mod scan_matrix;
#[cfg(feature = "telemetry")]
pub mod telemetry;
pub mod tenant;
pub mod traits;
#[cfg(feature = "axum")]
pub mod auth;
#[cfg(feature = "secrets")]
pub mod secret_box;
#[cfg(feature = "axum")]
pub mod shutdown;
#[cfg(feature = "axum")]
pub mod tenant_ctx;
pub use config::{AgentConfig, AppEnv, DashboardConfig, Features, PlcRuntimeConfig};
pub use error::CoreError;
pub use exec_policy::ExecPolicy;
pub use net_guard::{NetGuard, NetGuardError};
pub use tenant::{OrgRole, TenantContext, TenantStatus};