cadrumo.adapters.persistence.storage.custody._kdf_attestation module

Readiness attestation shared by the parent and child KDF processes.

kdf_worker_ready_attestation(*, request_fd, result_fd)[source]

Build a child attestation of the limits it can observe before secrets arrive.

Return type:

bytes

Parameters:
  • request_fd (int)

  • result_fd (int)

expected_kdf_worker_limits(platform)[source]
Return type:

dict[str, int]

Parameters:

platform (str)

parse_ready_attestation(value)[source]
Return type:

dict[str, object]

Parameters:

value (bytes)

validate_ready_attestation_shape(payload, expected_platform)[source]
Return type:

None

Parameters: