Skip to content

Modifies Lightweight example to use the PSL - #768

Open
colmenero wants to merge 5 commits into
rticommunity:developfrom
colmenero:feature/TRUST-6303
Open

colmenero wants to merge 5 commits into
rticommunity:developfrom
colmenero:feature/TRUST-6303

Conversation

@colmenero

Copy link
Copy Markdown
Contributor

Summary

  • Re-applies cacbfb9 but on develop, where it actually makes sense.
  • Removes the com.rti.serv.secure.psl_get_configuration property because the PSL_OSSL_get_default_configuration value is not an option any more. Not setting the property implies the default configuration.

krd-rti and others added 2 commits November 18, 2026 17:27
Modifies Lightweight security example to work with PSL

Added content about PSL in README.md and new PSL-related properties in the QoS profile. Note, the changes are optional, since the values of these properties are the default values. Example works without them if the intent is to work with openssl lib.

- Changes for wolfssl are not necessary, since the original example does not support it.
- The example is built dynamically, only. There was no option to build it statically. The decision was made to keep it dynamic without extra changes.
@colmenero
colmenero requested review from angeldlvj and krd-rti and a balanced review from Copilot November 18, 2026 16:33
@colmenero colmenero changed the title Feature/trust 6303 Modifies Lightweight example to use the PSL Nov 18, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The lightweight subscriber’s changed RTPS PSK passphrase no longer matches the publisher’s, preventing decryption and breaking the documented interoperability example.

1 open issue
What changed in this PR

Updates the Connext Secure C++11 lightweight-security example for the newer OpenSSL Platform Support Library (PSL) initialization model.

Changes:

  • Adds explicit OpenSSL PSL library and interface settings.
  • Updates the example pre-shared-key seed and symmetric-cipher property.
  • Documents PSL configuration and library-loading troubleshooting.
File Description
examples/​connext_secure/​lightweight/​c++11/​USER_QOS_PROFILES.xml Updates PSL initialization and lightweight security properties.
examples/​connext_secure/​lightweight/​c++11/​README.md Adds PSL configuration notes and troubleshooting guidance.

Review effort: Balanced

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The troubleshooting instructions point to $NDDSHOME/lib rather than the architecture-specific subdirectory, so following them will not resolve a missing PSL shared library.

No open issues 🎉

1 previously missed issue

In code that hasn't changed since last review

Low severity Use the architecture-specific Connext library directory

examples/​connext_secure/​lightweight/​c++11/​README.md:116

Connext's native shared libraries are under $NDDSHOME/lib/<architecture>, not directly under $NDDSHOME/lib (see the Linux loader setup in examples/connext_dds/custom_transport/c/README.md:80). Since LD_LIBRARY_PATH does not search subdirectories, following this troubleshooting advice will not resolve a missing PSL library. Please point both checks at the architecture-specific directory used to build the example.

1 resolved since last review

Review effort: Balanced

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Human assessment is needed to weigh an unpublished documentation inconsistency that could mislead users troubleshooting the example’s default-configuration behavior.

No open issues 🎉

Review effort: Balanced

@@ -21,6 +21,8 @@
"ca/CaCert.pem",
"-config",
"ca/Ca.cnf",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

3 participants