ros2-security

Solid

SROS2: ros2 security CLI, PKI keystore, enclaves, access-control XML, DDS Security.

AI & Automation 16 stars 2 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 78/100

Stars 20%
41
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
76
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# ROS 2 Security (SROS2) Instructions (Ubuntu 24.04 LTS & ROS 2 Jazzy) ## 1. Architecture SROS2 applies OMG DDS-Security (Fast DDS, Cyclone DDS) for node authentication (X.509 PKI), access control (Governance/Permissions XML), and topic/service encryption (AES-GCM-GMAC 128/256). ## 2. Documentation Entry Points - Concepts: `https://docs.ros.org/en/jazzy/Concepts/Intermediate/About-Security.html` - Tutorials (setup + access control): `https://docs.ros.org/en/jazzy/Tutorials/Advanced/Security/Introducing-ros2-security.html` Verify `ros2 security` subcommands and the env vars `ROS_SECURITY_ENABLE` / `ROS_SECURITY_STRATEGY` / `ROS_SECURITY_KEYSTORE` there before use. ## 3. Key Concepts & Workflows ### A. SROS2 CLI Commands ```bash # 1. Create root keystore ros2 security create_keystore ~/my_keystore # 2. Create security enclave for node ros2 security create_enclave ~/my_keystore /talker_listener/talker # 3. Launch node inside enclave export ROS_SECURITY_ENABLE=true export ROS_SECURITY_STRATEGY=Enforce export ROS_SECURITY_KEYSTORE=~/my_keystore ros2 run demo_nodes_cpp talker --ros-args --enclave /talker_listener/talker ``` ### B. High-Level Access Control Policy (`policy.xml`) ```xml <policy version="0.2.0"> <enclaves> <enclave path="/talker_listener/talker"> <profiles> <profile node="talker" ns="/"> <topics publish="ALLOW"> <topic>chatter</topic> </topics> </profile> </profiles> </enclave> </enclav...

Details

Author
Leehyunbin0131
Repository
Leehyunbin0131/claude-ros2-skills
Created
4 days ago
Last Updated
today
Language
Python
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

robotics-security

Security hardening and best practices for robotic systems, covering SROS2 DDS security, network segmentation, secrets management, secure boot, and the physical-cyber safety intersection. Use this skill when securing ROS2 communications, configuring DDS encryption and access control, hardening robot onboard computers, managing certificates and credentials, setting up network segmentation for robot fleets, or addressing the unique security challenges where cyber vulnerabilities become physical safety risks. Trigger whenever the user mentions SROS2, DDS security, robot security, robot hardening, ROS2 encryption, ROS2 access control, robot network security, secure robot deployment, robot certificates, keystore generation, robot firewall, e-stop security, safety controller isolation, or IEC 62443 for robotics.

324 Updated 5 days ago
arpitg1304
AI & Automation Solid

ros2-core

ROS 2 Jazzy core: rclcpp/rclpy, TF2 transforms, odometry/EKF fusion, node parameters, launch, QoS.

16 Updated today
Leehyunbin0131
AI & Automation Solid

ros2-development

Comprehensive best practices, design patterns, and common pitfalls for ROS2 (Robot Operating System 2) development. Use this skill when building ROS2 nodes, packages, launch files, components, or debugging ROS2 systems. Trigger whenever the user mentions ROS2, colcon, rclpy, rclcpp, DDS, QoS, lifecycle nodes, managed nodes, ROS2 launch, ROS2 parameters, ROS2 actions, nav2, MoveIt2, micro-ROS, or any ROS2-era robotics middleware. Also trigger for ROS2 workspace setup, DDS tuning, intra-process communication, ROS2 security, or deploying ROS2 in production. Also trigger for colcon build issues, ament_cmake, ament_python, CMakeLists.txt for ROS2, package.xml dependencies, rosdep, workspace overlays, custom message generation, or ROS2 build troubleshooting. Covers Humble, Iron, Jazzy, and Rolling distributions.

324 Updated 5 days ago
arpitg1304