How to use rostopic on SROS2 protected topics
May I know if it's possible to get the info related to an SROS2 protected topic?
For instance, if I use ros2 topic list
, I can only see the available topics. Is it possible for me to list the topics protected by SROS in case that I have the security enclave files?
I have the same question, would be nice to have some answer from the SROS or ROS CLI Team, if this is even possible or considered to work?
My guess why it might not be considered. Disable security for the system while monitoring it. Or other way around enable security only on production level systems where you don't need to do rostopic commands.
You should be able to make yourself an admin enclave with access to all topics and services and pass that enclave to your CLI tools. Example of a policy accessing all topics/services https://github.com/ros-swg/turtlebot3...
Hi @margedas The problem is not the enclave but passing it to CLI, as —ros-args does not work with these cli tools
Oh I see, there use to be an environment variable allowing to override the enclave used
ROS_SECURITY_ENCLAVE_OVERRIDE
: https://github.com/ros2/design/blob/1...@marguedas Thanks that works without a problem :) @tomteng this can be marked as answer to the question