Skip to content

feat: add a Haiku system OpenSSL build feature - #8831

Open
trufae wants to merge 1 commit into
chatmail:mainfrom
trufae:haiku-system-openssl
Open

trufae wants to merge 1 commit into
chatmail:mainfrom
trufae:haiku-system-openssl

Conversation

@trufae

@trufae trufae commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Haiku provides OpenSSL 3 through HaikuPorts, but it does not provide a compatible system SQLCipher. The existing vendored feature couples bundled SQLCipher to vendored OpenSSL, so disabling it to use the platform TLS library also removes the bundled encrypted database implementation.

Add a Haiku-specific feature that enables rusqlite bundled-sqlcipher without enabling vendored OpenSSL. Native Haiku builds can now link the system OpenSSL while preserving SQLCipher-backed database encryption.

Haiku provides OpenSSL 3 through HaikuPorts, but it does not provide a compatible system SQLCipher. The existing vendored feature couples bundled SQLCipher to vendored OpenSSL, so disabling it to use the platform TLS library also removes the bundled encrypted database implementation.

Add a Haiku-specific feature that enables rusqlite bundled-sqlcipher without enabling vendored OpenSSL. Native Haiku builds can now link the system OpenSSL while preserving SQLCipher-backed database encryption.
@trufae

trufae commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor Author

@link2xt

link2xt commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator

Does it work to compile with --no-default-features --features 'rusqlite/bundled-sqlcipher' instead? Adding a feature called "haiku" just for this looks strange, especially since haiku can compile with vendored OpenSSL too.

@trufae

trufae commented Oct 16, 2026

Copy link
Copy Markdown
Contributor Author

yeah thats kind of a hack, i also dislike the "haiku" feature flag.. actually is sqlcipher really used at all? i thought that was deprecated a while back

@link2xt

link2xt commented Oct 18, 2026

Copy link
Copy Markdown
Collaborator

SQLCipher is deprecated, but still used on Ubuntu Touch because old devices do not have full disk encryption. Once it is not used by DeltaTouch the plan is to remove it. This is why #8742 is not finished and merged.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants