Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PubSub Encryption support for OpenSSL #5601

Open
2 tasks
HaraldEschbach opened this issue Jan 27, 2023 · 2 comments
Open
2 tasks

PubSub Encryption support for OpenSSL #5601

HaraldEschbach opened this issue Jan 27, 2023 · 2 comments
Labels
Status: Help wanted Looking for support from the community to implement/fix this issue. Also tag with 'help wanted'

Comments

@HaraldEschbach
Copy link

Description

Background Information / Reproduction Steps

We use OPC UA server with PubSub on VxWorks and need to support security for it.
VxWorks is using openSSL to encryption other protocols
Also open62541 has already some support for openSSL but not for PubSub.
It does not realy make sense to use two different libs on an device.

Checklist

Please provide the following information:

  • open62541 Version 1.3:
  • Operating system: VxWorks
@jpfr
Copy link
Member

jpfr commented Jan 27, 2023

Yes. It would be great to have PubSub security also for OpenSSL.
This hinges on these two files:

https://github.com/open62541/open62541/blob/master/plugins/crypto/mbedtls/securitypolicy_pubsub_aes128ctr.c
https://github.com/open62541/open62541/blob/master/plugins/crypto/mbedtls/securitypolicy_pubsub_aes256ctr.c

Porting them to OpenSSL should be straightforward.
Especially since most SecurityPolicy plugins are structurally the same.
Only a few key lengths and/or crypto methods from the underlying library change.

I'd estimate this requires 1-3 days of work to port.

@Muddasir-Shakil
Copy link
Contributor

@jpfr
can you add label here for help wanted and good first issues.?

@jpfr jpfr changed the title PubSub PubSub Encryption support for OpenSSL Jan 30, 2023
@jpfr jpfr added the Status: Help wanted Looking for support from the community to implement/fix this issue. Also tag with 'help wanted' label Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Help wanted Looking for support from the community to implement/fix this issue. Also tag with 'help wanted'
Projects
None yet
Development

No branches or pull requests

3 participants