Skip to content

Replace OpenSSL-usage with pure-Rust implementations in camera_hub and server#73

Draft
jkaczman wants to merge 2 commits intomainfrom
migrate-ssl
Draft

Replace OpenSSL-usage with pure-Rust implementations in camera_hub and server#73
jkaczman wants to merge 2 commits intomainfrom
migrate-ssl

Conversation

@jkaczman
Copy link
Copy Markdown
Collaborator

@jkaczman jkaczman commented Apr 25, 2026

This PR moves away from OpenSSL in camera_hub and server into pure-Rust implementations.

Specifically, the changes are as follows:

[1] Vendored ort-sys and patched its binary download path so automatic ONNX Runtime downloads no longer pull in ureq's OpenSSL-backed native-tls stack. The downloader now uses ureq with rustls

[2] Replaced the server's UnifiedPush send path from web-push to web-push-native pinned to a specific Git commit (currently the latest) as the one published on crates.io is much older. The server now builds the encrypted Web Push request with web-push-native and sends it with reqwest. This removes the old web-push dependency and its OpenSSL-backed transport.

In the deploy tool, we still need to replace ssh2 with russh. However, this does not seem necessary as of today and will require a good chunk of work to complete.

@jkaczman jkaczman changed the title Migrate away from OpenSSL Replace OpenSSL-usage with pure-Rust implementations Apr 25, 2026
@jkaczman jkaczman requested a review from arrdalan April 25, 2026 13:56
@jkaczman jkaczman changed the title Replace OpenSSL-usage with pure-Rust implementations Replace OpenSSL-usage with pure-Rust implementations in camera_hub and server Apr 25, 2026
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.

1 participant