Task: Create ores.security module

Table of Contents

This page documents a task in the Security module story. It captures the goal, current status, acceptance, and any notes or results.

Goal

Extract the shared security primitives that ores.iam and ores.connections both need into a dedicated ores.security component.

Status

Field Value
State DONE
Parent story Security module
Now Completed 2026-01-13.
Waiting on None.
Next None.
Last touched 2026-01-13

Acceptance

  • password_manager renamed to password_hasher; encryption_service to encryption.
  • RAII for OpenSSL EVP_CIPHER_CTX via std::unique_ptr + EVP_CIPHER_CTX_free deleter.
  • ores.iam, ores.connections, ores.cli link against the new library.
  • Build green; tests pass.

Plan

Captured during execution; cleared into the parent story on close.

Notes

Moves the OpenSSL-handling rules into one place so future audits look at one component, not three.

Result

Component in place; downstream components linked through it.

Emacs 29.1 (Org mode 9.6.6)