6 Commits
Author SHA1 Message Date
Julius Pfrommer 0a48591990 fix(plugins): Disable the Basic128Rsa15 and Basic256 SecurityPolicy 2024-10-03 13:47:11 +02:00
Julius Pfrommer 6674768d7c Merge remote-tracking branch 'origin/1.2' into merge_12_13_7 2022-11-14 11:51:51 +01:00
Julius Pfrommer 106cd61ad9 fix(plugin): Reject all certificates for empty trust-list 2022-11-14 07:28:49 +01:00
Alexander Bluhm 9da153311d test(core): fix sign-conversion compiler errors 2022-07-13 17:37:03 +02:00
Julius Pfrommer dba1796702 refactor(core): Remove some long deprecated definitions 2021-11-13 20:26:02 +01:00
basyskom-jvoe 4492548ee3 fix(plugin): Improve PEM support for mbedTLS and add tests (#3856)
* Add null terminator before parsing certificates and keys

mbedTLS expects PEM data to be null terminated, the length
parameter must include the null terminator.

By adding the null terminator inside open62541, an application
doesn't have to care what type of certificate or key is used.

* Extend encryption tests

- Add test for security policy Basic256
- Add test with PEM encoded certificate and key

* Fix amalgamation build for ua_pki_default.c

Including securitypolicy_mbedtls_common.h is not possible because
it is added to the amalgamation after ua_pki_default.c
2020-08-27 17:23:47 +02:00