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

ROS2 bag encryption

asked 2023-04-12 07:18:45 -0500

lfb gravatar image

Hi everyone. I would like to know if there is a way to provide ecnryption to a rosbag file created from a ROS2 node. Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-04-12 12:04:51 -0500

emersonknapp gravatar image

updated 2023-04-12 12:08:10 -0500

No, there is not currently any such capability in rosbag2. However, you can always accomplish any arbitrary thing you want manually. Not sure if you're looking for encryption of entire messages or just output files, but

  • For message encoding - for example create your own "EncryptedMessage.msg" type, performing any operations you want to do, then writing these messages into the bag
  • For file encryption, write the bag file as normal, then encrypt the file with whatever tooling after it is closed
edit flag offensive delete link more

Comments

Thanks @emersonknapp. I'm writing the messages with a node built by following this tutorial

https://docs.ros.org/en/galactic/Tuto...

I guess in case I want to encode the messages I should do it before the serialization process. Thanks again

lfb gravatar image lfb  ( 2023-04-13 03:13:14 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2023-04-12 07:18:45 -0500

Seen: 300 times

Last updated: Apr 12 '23