cp-demo
cp-demo copied to clipboard
Fix certificate generation
Description
Fix certificate generation reliability issues by:
- Adding
xargsto handle MacOSwccommand whitespace output - Aligning return codes with shell conventions (0=success)
- Renaming
check_num_certstocheck_truststore_validfor clarity
Prevents unnecessary certificate regeneration on MacOS while maintaining Linux compatibility.
Author Validation
- [x] Run cp-demo successfully on MacOS 14.7.1
- [x] Verified certificate validation works correctly
- [x] Confirmed no unnecessary regeneration occurs
- [x] Tested backward compatibility on Linux
Reviewer Tasks
- [ ] Run cp-demo to verify:
- Certificate validation works
- No unnecessary regeneration
- Security features function correctly
:tada: All Contributor License Agreements have been signed. Ready to merge.
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.