Skip to content

Modernize Encryption Service #7

Description

@dillonhuston

The EncryptionService and KeyHandler currently mix file I/O operations with business logic. This makes them difficult to test and violates the single responsibility principle.

Refactor EncryptionService into a dedicated service

Extract file i/o operations into a FileHandler service, the encryption service should only handle encryption

Implement Pydantic models for request/response validation

Replace manual error handling with custom exceptions and a global handler.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions