Skip to content

Add zenoh_security_tools (backport #595)#610

Closed
mergify[bot] wants to merge 1 commit intohumblefrom
mergify/bp/humble/pr-595
Closed

Add zenoh_security_tools (backport #595)#610
mergify[bot] wants to merge 1 commit intohumblefrom
mergify/bp/humble/pr-595

Conversation

@mergify
Copy link

@mergify mergify bot commented Apr 20, 2025

Builds off #592 to also inject security certificates generated by sros2 into the session and router configs. Takes logic from #412 and adds it to the config files instead.

See README.md for complete instructions on running a talker-listener demo with access control, authentication and encryption.


This is an automatic backport of pull request #595 done by [Mergify](https://mergify.com).

* Added zenoh_security_configuration_tools package written in cpp

Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>

* Added domain id

Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>

* Update policy_parser to use nlohmann_json.hpp

Since we have the dependency now via #583, this is a potential
improvement to the current string concatenation.

Signed-off-by: Michael Carroll <mjcarroll@intrinsic.ai>

* Further json changes

Signed-off-by: Michael Carroll <mjcarroll@intrinsic.ai>

* Refactor package to zenoh_security_tools

Signed-off-by: Yadunund <yadunund@gmail.com>

* Inject certificates if enclaves provided

Signed-off-by: Yadunund <yadunund@gmail.com>

* Replace existing endpoints with tls instead of hardcoded changes

Signed-off-by: Yadunund <yadunund@gmail.com>

* Update README.md

Signed-off-by: Yadunund <yadunund@gmail.com>

* Also generate router config with security

Signed-off-by: Yadunund <yadunund@gmail.com>

* Drop CLI11 dependency

Signed-off-by: Yadunund <yadunund@gmail.com>

---------

Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
Signed-off-by: Michael Carroll <mjcarroll@intrinsic.ai>
Signed-off-by: Yadunund <yadunund@gmail.com>
Co-authored-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
Co-authored-by: Michael Carroll <mjcarroll@intrinsic.ai>
(cherry picked from commit 1dca3c3)
@mergify mergify bot mentioned this pull request Apr 20, 2025
@Yadunund
Copy link
Member

This cannot be backported #609 (comment)

@Yadunund Yadunund closed this Apr 20, 2025
@Yadunund Yadunund deleted the mergify/bp/humble/pr-595 branch April 20, 2025 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant