Re: Feature Proposal: Support selecting the TLS protocol version
Duncan Grisby via omniORB-list <[email protected]> Sun, 21 Jan 2024 14:20:39 +0000
| Newsgroups | gmane.comp.corba.omniorb.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 2024-01-02 at 14:32 +0000, Weweler, Yves-Noel via omniORB-list wrote: > when overriding this in a subclass how would be make it available to > control from Python? > Currently I do not see any class that overrides or uses > set_supported_versions. (Apparat from the context itself) Sorry for the long delay in replying. You are right, you can't override it from Python. It certainly seems like a good idea to make this a configuration option, but it must be done in a way that is binary compatible with existing omniORB versions, meaning that it needs to be done inside the existing set_supported_versions virtual function. There are a few other restrictions: - For ancient historical reasons, omniORB does not use any STL types, so you can't use std::map and std::string. - The OpenSSL functions to set min and max protocol versions were added in OpenSSL 1.1.0, and there are still important systems out there that use 1.0.2, so it needs fallback code to use the old mechanism with SSL_CTX_set_options. - DTLS is for UDP-based communication, that omniORB does not do, so versions pertaining to DTLS are irrelevant. Duncan. -- -- Duncan Grisby -- -- [email protected] -- -- http://www.grisby.org --