Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove cacert.pem installation on Windows #236

Open
wants to merge 4 commits into
base: compare-file-hashes
Choose a base branch
from

Conversation

pjcdawkins
Copy link
Contributor

This is #201 but rebased on (targeting) #94

Manual testing on Windows 11 Home (VM) shows it works ok.

Though I'm not sure the details of the original problem that led to the file being added.

- Move 'init' responsibility to the legacy package
- Remove unnecessary Debug on wrapper
- Remove --phar-path option, but preserve {ENV_PREFIX}PHAR_PATH variable
- Remove unnecessary global vars
- Add a test
- Check the files on each run
- Try to avoid partial writes
- Move temporary directory from /tmp to the home directory
@pjcdawkins
Copy link
Contributor Author

It's possible someone had a broken system cert file (e.g. in /usr/ssl/certs/ca-bundle.crt), which the composer/ca-bundle package found and then used in preference over its fallback. So embedding our own solved that. I'm not sure if it should be more correct to bundle ours, or to respect the system's.

@pjcdawkins pjcdawkins force-pushed the compare-file-hashes branch 2 times, most recently from f1d100d to 1d74939 Compare January 20, 2025 16: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