Skip to content

open62541: allow overriding encryption providers and disable warnings as errors#687

Closed
JohannesKauffmann wants to merge 2 commits into
openembedded:masterfrom
JohannesKauffmann:fix/open62541
Closed

open62541: allow overriding encryption providers and disable warnings as errors#687
JohannesKauffmann wants to merge 2 commits into
openembedded:masterfrom
JohannesKauffmann:fix/open62541

Conversation

@JohannesKauffmann

Copy link
Copy Markdown
Contributor

No description provided.

Without "encryption" PACKAGECONFIG, the option UA_ENABLE_ENCRYPTION=OFF
is passed, which disables encryption support altogether and makes it
impossible to override the encryption provider. Since no encryption
support is already the default, we don't have to specify anthing to
disable encryption.

Additionally, explicitly specify MbedTLS as the encryption provider;
this is the preferred way to enable any one of the three supported
providers (LibreSSL, OpenSSL or MbedTLS). The current method prints a
deprecation warning:

    CMake Deprecation Warning at CMakeLists.txt:200 (message):
      Set UA_ENABLE_ENCRYPTION to the desired encryption library.

Signed-off-by: Johannes Kauffmann <johanneskauffmann@hotmail.com>
When using OpenSSL as the encryption provider, the package does not
build without deprecation warnings, thus breaking the build. Disable
warnings as errors to unbreak the build.

Signed-off-by: Johannes Kauffmann <johanneskauffmann@hotmail.com>
@kraj

kraj commented May 13, 2023

Copy link
Copy Markdown
Contributor

applied with bd7cd3b

@kraj kraj closed this May 13, 2023
pberginkonsult pushed a commit to pberginkonsult/meta-openembedded that referenced this pull request May 22, 2023
Changelog:
==========
Correct timeout in call to poll.poll (openembedded#687)
Revert "Revert "Fix error with select when python process exceeds 1024 open file descriptors"" (openembedded#686)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
@JohannesKauffmann JohannesKauffmann deleted the fix/open62541 branch May 31, 2023 12:49
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Apr 2, 2026
Changelog:
============
- Git PR openembedded#673: Fix warning for non clang builds on linux
- Git Issue openembedded#675: std::chrono conversion does not compile with libc++
- Git PR openembedded#679: Fix double colon in url generator
- Git PR openembedded#680: Added missing space after "found" in maximum_validator
- Git PR openembedded#685: optimize semantic_tag::noesc write_string
- Git PR openembedded#687: jmespath: allow rhs_expression in a keyvalue - expression
- Git PR openembedded#688,openembedded#689: jmespath: where possible without losing information,
- store the result of ceil and floor as basic_json integer values
- rather than double values.
- Added toon-format extension

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Jun 18, 2026
Changelog:
============
- Support free threaded Python. openembedded#654, openembedded#686
- Dropped support for Python 3.9. openembedded#656
- Fix missing error checks in C code. openembedded#665, openembedded#666, openembedded#667, openembedded#672
- Fix strict_map_key option didn't work for object_pairs_hook. openembedded#673
- Increase DEFAULT_RECURSE_LIMIT of Unpacker to 1024. openembedded#676
- Fix memory leak when Unpacker returns error for invalid input. openembedded#671
- Fix Packer.pack_ext_type() ignored autoreset option. openembedded#663
- Fix Timestamp.from_datetime() returning wrong value for pre-epoch datetimes. openembedded#662
- Fix use-after-free in unpackb() and Unpacker.unpack() for non-contiguous input. openembedded#677
- Fix possible memory leak when calling Unpacker.__init__() several times. openembedded#687

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Jun 18, 2026
Changelog:
============
- Support free threaded Python. openembedded#654, openembedded#686
- Dropped support for Python 3.9. openembedded#656
- Fix missing error checks in C code. openembedded#665, openembedded#666, openembedded#667, openembedded#672
- Fix strict_map_key option didn't work for object_pairs_hook. openembedded#673
- Increase DEFAULT_RECURSE_LIMIT of Unpacker to 1024. openembedded#676
- Fix memory leak when Unpacker returns error for invalid input. openembedded#671
- Fix Packer.pack_ext_type() ignored autoreset option. openembedded#663
- Fix Timestamp.from_datetime() returning wrong value for pre-epoch datetimes. openembedded#662
- Fix use-after-free in unpackb() and Unpacker.unpack() for non-contiguous input. openembedded#677
- Fix possible memory leak when calling Unpacker.__init__() several times. openembedded#687

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Jun 18, 2026
Changelog:
============
- Support free threaded Python. openembedded#654, openembedded#686
- Dropped support for Python 3.9. openembedded#656
- Fix missing error checks in C code. openembedded#665, openembedded#666, openembedded#667, openembedded#672
- Fix strict_map_key option didn't work for object_pairs_hook. openembedded#673
- Increase DEFAULT_RECURSE_LIMIT of Unpacker to 1024. openembedded#676
- Fix memory leak when Unpacker returns error for invalid input. openembedded#671
- Fix Packer.pack_ext_type() ignored autoreset option. openembedded#663
- Fix Timestamp.from_datetime() returning wrong value for pre-epoch datetimes. openembedded#662
- Fix use-after-free in unpackb() and Unpacker.unpack() for non-contiguous input. openembedded#677
- Fix possible memory leak when calling Unpacker.__init__() several times. openembedded#687

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Jun 21, 2026
Changelog:
============
- Support free threaded Python. openembedded#654, openembedded#686
- Dropped support for Python 3.9. openembedded#656
- Fix missing error checks in C code. openembedded#665, openembedded#666, openembedded#667, openembedded#672
- Fix strict_map_key option didn't work for object_pairs_hook. openembedded#673
- Increase DEFAULT_RECURSE_LIMIT of Unpacker to 1024. openembedded#676
- Fix memory leak when Unpacker returns error for invalid input. openembedded#671
- Fix Packer.pack_ext_type() ignored autoreset option. openembedded#663
- Fix Timestamp.from_datetime() returning wrong value for pre-epoch datetimes. openembedded#662
- Fix use-after-free in unpackb() and Unpacker.unpack() for non-contiguous input. openembedded#677
- Fix possible memory leak when calling Unpacker.__init__() several times. openembedded#687

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
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.

2 participants