mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-24 21:40:48 +02:00
fix(updater): stop overriding SSL_CERT_FILE and SSL_CERT_DIR on Linux (#3615)
check() set both variables to Debian paths when they were unset. On distros with a different layout, such as ALT Linux, the paths do not exist, and rustls-native-certs then loads roots only from them, so every TLS client created afterwards in the app got an empty root store. reqwest with rustls already finds the system store through rustls-platform-verifier and openssl-probe, so the override is not needed. Closes #3598
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"updater": patch:bug
|
||||
"updater-js": patch:bug
|
||||
---
|
||||
|
||||
On Linux, `check()` no longer sets `SSL_CERT_FILE` and `SSL_CERT_DIR` to Debian paths. The override pointed rustls to files that do not exist on distros with a different layout, such as ALT Linux, and left every TLS client in the app without root certificates.
|
||||
Reference in New Issue
Block a user