Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Replace the initialize_db.sh bash script with a Rust-based implementation #541

@goshawk-3

Description

@goshawk-3

Description

The current database initialization, including schema migrations and importing large key files (e.g., a 1.1 GB SNS PK and a 0.3 GB SKS), is handled via a bash script.

However, much of this logic—especially the large object import—is already implemented more efficiently in the Rust codebase. Maintaining duplicate logic in both Bash and Rust adds complexity and overhead.

This task proposes extending the existing coprocessor/utils binary to handle the full initialization flow, including migrations and key insertion.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions