-
Notifications
You must be signed in to change notification settings - Fork 53
Closed
Description
Security demos work on Ubuntu Bionic but fail on Focal.
This ticket is to aggregate findings about what need to change ahead of Foxy release.
Current state:
Code to test talker listener
docker run -it --rm osrf/ros2:nightly
source /opt/ros/foxy/setup.bash
mkdir ~/sros2_demo
cd ~/sros2_demo
export ROS_SECURITY_ROOT_DIRECTORY=~/sros2_demo/demo_keys
export ROS_SECURITY_ENABLE=true
export ROS_SECURITY_STRATEGY=Enforce
ros2 security create_keystore demo_keys
ros2 security create_key demo_keys /talker
ros2 security create_key demo_keys /listener
ros2 launch demo_nodes_cpp talker_listener.launch.xml
- FastRTPS fails: Likely due to a lack of support of OpenSSL 1.1.1d, asked at Question: does Fast-RTPS support OpenSSL 1.1.1d ? [8117] eProsima/Fast-DDS#1087
- FastRTPS own Security examples without any ROS or sros2 involved already fail
Error message
[talker-1] 2020-03-23 15:26:26.045 [SECURITY_AUTHENTICATION Error] OpenSSL library cannot set peer (/home/jenkins-agent/workspace/packaging_linux/ws/src/eProsima/Fast-RTPS/src/cpp/security/authentication/PKIDH.cpp:1041) -> Function on_process_handshake
- CycloneDDS fails:
maybe openSSL support ?
- not sure how to do standalone security testing for Cyclone
Works as of eclipse-cyclonedds/cyclonedds#446
- RTI Connext: works: connext ships it's own (EOL...) OpenSSL 1.0.2 (support hypothesis of OpenSSL version being the culprit)
OpenSSL version:
If it was an openSSL version support issue, rolling distributions like Windows and Macos should have allowed us to catch it earlier..
Windows is using 1.0.2u apparently, https://github.com/ros2/ci/blob/3ec2369bd0ddc04e80b9fadab272abcd46e08b64/windows_docker_resources/Dockerfile.msvc2019#L20 so it's normal it didnt catch any error
on MacOS there seem to be tests failing for a long time, need to track down if it worked with openssl 1.1.1 at some point
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels