Skip to content

Commit 32d10d4

Browse files
atlas-formclaude
andcommitted
refactor: simplify SealedBlock API and remove state management
- Remove incorrect seal_external method - Rename seal_from_upload to set_uri for clarity - Fix set_uri logic to properly handle external storage - Rename recipient_public_key to spki_der throughout - Add comprehensive module documentation for storage patterns - Remove obsolete state and upload modules - Delete all test functions for clean redesign - Establish clear separation: library handles encryption only, users handle file operations 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 1626a2b commit 32d10d4

File tree

10 files changed

+469
-2228
lines changed

10 files changed

+469
-2228
lines changed

crates/capsula-core/src/aad/mod.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -431,13 +431,6 @@ mod tests {
431431
},
432432
},
433433
content_type: crate::types::ContentType::Json,
434-
state: crate::state::CapsuleState::Pending {
435-
placeholder_uri: "test://placeholder".to_string(),
436-
ciphertext_data: vec![1, 2, 3, 4],
437-
content_hash: "test-hash".to_string(),
438-
ciphertext_len: 4,
439-
created_at: "2023-10-01T00:00:00Z".to_string(),
440-
},
441434
},
442435
origin_text: None,
443436
})

0 commit comments

Comments
 (0)