You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use original user's home directory for CA certificate storage
When running under sudo, the CA certificate was being stored in root's
home directory but the subprocess (running as original user) couldn't
access it, causing certificate verification errors.
Now GetConfigDir() detects sudo execution and uses the original user's
home directory, ensuring the subprocess can access the CA certificate.
Fixes: curl: (77) error setting certificate verify locations
Co-authored-by: f0ssel <[email protected]>
0 commit comments