ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

invalid choice: 'create_enclave'

asked 2021-03-04 07:31:47 -0600

quinz gravatar image

I'm using foxy release of ros2 installed from the debian package here: https://docs.ros.org/en/foxy/Installa...

I tried to run some simple tests by following the examples here https://github.com/ros2/sros2/blob/ma...

But I end up having an error saying 'create_enclave' is an invalid option. I thought it's a thing that was introduced in foxy so I'm a bit confused. Maybe there's something wrong with my installation but not sure what.

$ ros2 security create_enclave
usage: ros2 security [-h] Call `ros2 security <command> -h` for more detailed usage. ...
ros2 security: error: argument Call `ros2 security <command> -h` for more detailed usage.: invalid choice: 'create_enclave' (choose from 'create_key', 'create_keystore', 'create_permission', 'generate_artifacts', 'generate_policy', 'list_keys')

I installed the ros-foxy-ros-base package and apt claims its the latest version:

$ sudo apt install ros-foxy-ros-base
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ros-foxy-ros-base is already the newest version (0.9.2-1focal.20210226.000028).
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-05-20 22:45:23 -0600

updated 2021-05-20 22:46:00 -0600

In foxy version.
Change command from create_enclave into create_key.
It work for me.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2021-03-04 07:31:47 -0600

Seen: 745 times

Last updated: May 20 '21