cadrumo.adapters.persistence.storage.custody.sentinel module

Creation and strict storage of the current capsule DEK proof.

create_profile_custody_sentinel(*, envelope, dek)[source]

Encrypt the immutable DEK proof that every wrapper must authenticate.

Return type:

ProfileCustodySentinelRecord

Parameters:
write_profile_custody_sentinel(path, record)[source]

Write a validated sentinel once into an exclusively created staging path.

Return type:

None

Parameters: