pub fn require_encryption_key( user_id: &str, ) -> Result<[u8; 32], RequireKeyError>
E2EE precondition. Returns the user’s AES-256 key or a clear error. Callers map Missing to the ENCRYPTION_REQUIRED exit code.
Missing
ENCRYPTION_REQUIRED