Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Unreleased

### Fixes

- Fixed a bug on ARM-based macOS systems that prevented Sentry CLI from respecting self-signed certificates trusted in the macOS keychain ([#3057](https://github.com/getsentry/sentry-cli/issues/3057)).

## 3.0.1

### Performance Improvements
Expand Down
8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ clap = { version = "4.1.6", default-features = false, features = [
] }
clap_complete = "4.4.3"
console = "0.15.5"
curl = { version = "0.4.46", features = ["static-curl", "static-ssl"] }
curl = { version = "0.4.46" }
dirs = "4.0.0"
dotenvy = "0.15.7"
elementtree = "1.2.3"
Expand Down Expand Up @@ -127,6 +127,12 @@ openssl-probe = "0.1.5"
[target."cfg(windows)".dependencies]
windows-sys = { version = "0.59.0", features = ["Win32_Storage_FileSystem"] }

# Use static curl/SSL on all platforms except ARM-based macOS.
# We link dynamically on ARM macOS; that way we can support self-signed certificates
# trusted in the macOS keychain.
[target."cfg(not(all(target_os = \"macos\", target_arch = \"aarch64\")))".dependencies]
curl = { version = "0.4.46", features = ["static-curl", "static-ssl"] }

# We optimize the release build for size.
[profile.release]
opt-level = 2 # I obtained the smallest binary size with opt-level 2 on my system.
Expand Down