Conversation
Signed-off-by: ruffsl <roxfoxpox@gmail.com>
cbdfafd to
425b670
Compare
mikaelarguedas
left a comment
There was a problem hiding this comment.
Thanks @ruffsl for opening this.
From memory the symlink approach used failed on Connext (though may have been working in versions>5.2.3) and also on Windows. Happy to test again to see if we can now get rid of file duplication and have nicer namespace layout.
At the moment this PR is invalid as it removes variables used in the lines below (e.g. keystore_ca_cert_path). Also code in for loop looks over-indented so it may fail the linters.
@ruffsl can you please test it locally to make sure that it works at least for the Linux + Fast-RTPS scenario and fix it for that use case?
Once that is working, we'll need to run CI with the following parameters to confirm secure communication still works:
CI parameters:
build: --packages-up-to test_security
test: --packages-select sros2 test_security
Signed-off-by: ruffsl <roxfoxpox@gmail.com>
Signed-off-by: ruffsl <roxfoxpox@gmail.com>
65aeffd now passes sros2 tests locally using Details |
Signed-off-by: ruffsl <roxfoxpox@gmail.com>
bafd31b to
39ab695
Compare
mikaelarguedas
left a comment
There was a problem hiding this comment.
LGTM with green CI
@mjcarroll @jacobperron is it possible to run CI on this please?
CI parameters:
build: --packages-up-to test_security
test: --packages-select sros2 test_security
|
GCC/CLang jobs unstable because of a false positive warning. It comes from cyclonedds' latest commit message being a full copy-paste of a build warning. Unrelated to this PR |
|
haha, yeah, I noticed that in another job earlier. |
Co-Authored-By: Jacob Perron <jacob@openrobotics.org>
jacobperron
left a comment
There was a problem hiding this comment.
LGTM, it looks like the macOS failures are unrelated (already occurring on the nightly job).
This was a previous approach used with Keymint to prevent the keystore from falling out of sync with itself when renewing CA certs, as well as disk size down by avoiding the duplication of CA cert files. I'd like to test this against all RMW/OS combinations in CI to check which may not support symlinks.
Example:
https://github.com/keymint/keymint_tools/blob/9f5bda35dae4ddc927a7f70f2d961451c150f7c0/keymint_tools/build_types/keymint_ros2_dds.py#L167-L172