Skip to content

Vendor OpenSSL for Staged git2#396

Merged
wesbillman merged 2 commits intomainfrom
fix-staged-vendored-openssl
Mar 17, 2026
Merged

Vendor OpenSSL for Staged git2#396
wesbillman merged 2 commits intomainfrom
fix-staged-vendored-openssl

Conversation

@wesbillman
Copy link
Collaborator

Summary

  • enable vendored OpenSSL for the shared git2 dependency used by Staged and Differ
  • update the affected Cargo lockfiles for the vendored OpenSSL path

Problem

The Staged release binary was loading Homebrew OpenSSL at runtime from /opt/homebrew/opt/openssl@3/... via git2/libgit2-sys. That made the signed app fail to launch with a dyld error about libssl.3.dylib and mismatched Team IDs.

Verification

  • cargo check -p git-diff
  • cd apps/staged/src-tauri && cargo check
  • cd apps/staged/src-tauri && cargo build
  • otool -L apps/staged/src-tauri/target/debug/Staged no longer shows any /opt/homebrew OpenSSL dylibs
  • push hooks passed: crates-fmt, crates-lint, crates-test, differ-ci, staged-ci

@wesbillman wesbillman requested review from baxen and matt2e as code owners March 17, 2026 00:43
@wesbillman wesbillman merged commit 08f3146 into main Mar 17, 2026
6 checks passed
@wesbillman wesbillman deleted the fix-staged-vendored-openssl branch March 17, 2026 00:48
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