Jon Shallow
c4d0a42f97
doc: Refer to DTLS1.3 and request non-standard TLS library configurations
2024-05-18 13:39:48 +01:00
Jon Shallow
d58bd90238
checks: Check for missing file updates
2024-05-17 15:33:44 +01:00
Jon Shallow
e599e25d6e
oss-fuzz: Fix issue in coap_pdu_parse_opt()
2024-05-09 13:33:06 +01:00
Jon Shallow
dae064c7e8
scan-build: Add scan-build into the workflow testing
2024-05-09 10:57:16 +01:00
Jon Shallow
65f2f408be
Build Tests: Fix Contiki build on macOS
...
Add libtool to the brew setup.
2024-04-25 14:46:07 +01:00
Jon Shallow
e3a662a934
wolfSSL: Set up initial port
...
Includes some porting ideas from qursa-uc3m libcoap-wolfssl work.
Some common ASN1 code moved from coap_gnutls.c to coap_asn1.c to support RPK.
WolfSSL build
$ ./configure --enable-all --enable-dtls13 CFLAGS="-DBUILD_TLS_PSK_WITH_AES_128_CCM -DHAVE_RPK"
Interoperability requirements
DTLS1.3 downgrade requires
https://github.com/eclipse/tinydtls/pull/230
https://github.com/wolfSSL/wolfssl/pull/7367
TLS1.3 downgrade requires
https://github.com/wolfSSL/wolfssl/pull/7367
(D)TLS1.2 use of RPK requires
https://github.com/wolfSSL/wolfssl/pull/7375
MbedTLS using TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256 requires
https://github.com/wolfSSL/wolfssl/pull/7132
GnuTLS using PSK and TLS1.3 requires
https://github.com/wolfSSL/wolfssl/pull/7407
2024-04-16 11:03:24 +01:00
Jon Shallow
04b239f55a
main.yml: Fix node.js 16 warnings
2024-04-03 13:32:15 +01:00
slokhorst
b3ba77d66a
Use grep -E instead of deprecated egrep
2024-01-06 13:23:08 +00:00
Jon Shallow
c162187a6a
get_config.sh: Add in script to easily get current build configuration
2023-12-19 16:41:13 +00:00
Jon Shallow
31db05b7f3
Issue: Update Issue template for clarity over configuration details
2023-11-28 13:45:18 +00:00
Jon Shallow
c01f29f23a
workflows/main.yml: Run the pre-commit checks first
2023-10-13 14:12:33 +01:00
Jon Shallow
9fbce393d9
Windows: Fix workflows OpenSSL install
2023-10-04 22:03:49 +01:00
Jon Shallow
f1f539485b
workflows: Revert #1073 to add OpenSSL dev environment
...
OpenSSL dev environment is no longer included in windows-latest builds.
Disable Windows build OpenSSL 3 deprecation warnings
2023-10-04 22:03:22 +01:00
kkrentz
836ceec436
Contiki-NG: Fix two compilation errors on macOS
...
One compilation error was a redefinition of ntohs in coap_config.h.contiki.
Another compilation error was due to an unused function in coap_time.c.
2023-10-04 22:01:41 +01:00
Jon Shallow
fb4b5f33f2
New Issue: Update / clarify requirements when submitting an Issue
2023-07-03 12:12:19 +01:00
Jon Shallow
9920d3e295
pre-commit: Add in initial support
...
Add in github workflow.
Add in .pre-commit-config.yaml.
Updated man directory using pre-commit.
Others to follow.
2023-07-03 08:57:09 +01:00
Jon Shallow
8d869fff04
RIOT: Update to support latest libcoap code
...
Add in examples and pkg/build information
2023-06-05 12:47:15 +01:00
Jon Shallow
964bd69481
MinGW: Initial compile environment support
2023-04-12 10:06:46 +01:00
Jon Shallow
59e9434518
workflows: Support Windows changed OpenSSL directory
...
No longer need choco to install install OpenSSL as it is in loaded image.
2023-04-07 14:51:11 +01:00
Jon Shallow
1db3683cef
github workflows: Support Ubuntu 22.04 images
...
Fix issues thrown up with ubuntu-latest moving to ubuntu-22.04.
clang 14+ generates dwarf-5 code which valgrind does not currently support
so downgrade to output dwarf-4.
Use ./autogen.sh for tinydtls builds rather than 'autorecond --force --install'
Remove some spurios } in the workflow
2022-11-22 21:30:18 +00:00
Jon Shallow
c56ac32c86
cifuzz.yml: Run when code is pushed to develop or main etc.
...
Matches main.yml on: statement for push.
on: pull_request removed so that it is not run for every PR, just the
develop, main and release branches.
2022-11-22 14:17:25 +00:00
David Korczynski
74f1858cfb
github workflow: add CIFuzz Github action
...
Signed-off-by: David Korczynski <david@adalogics.com >
2022-11-22 08:52:22 +00:00
Jon Shallow
7b39908e82
LwIP: Add in TinyDTLS support
...
The dtls versions of the server and client are built as
server-dtls and client-dtls.
Add in flexible option support for server and client. These are
a subset of the coap-server and coap-client options.
2022-10-29 13:26:43 +01:00
Jon Shallow
bbf098a72a
main.yml: Update actions/checkout to be v3
2022-10-19 17:24:03 +01:00
Jon Shallow
6a633e3d49
CMake: Force all Warnings to Errors when doing github actions
...
Add new option WARNING_TO_ERROR for CMakeLists.txt
Includes cmake builds for Windows and macOS
[Fix coap-client S_ISDIR() duplication bug]
2022-09-30 17:25:00 +02:00
Jon Shallow
df72a53f2d
coap_openssl.c: Support Microsoft VS builds
...
Correct reported errors
Update workflow for ms-build to include OpenSSL.
2022-02-21 12:37:44 +00:00
Jon Shallow
5b32d716fa
github workflow: Support windows-2022
...
The provided host for windows-latest is migrating across from
windows-2019 to windows-2022 on github. This allows things to be built on
a windows-2022 system.
2022-02-09 21:44:37 +00:00
Jon Shallow
9357720646
config.yml: Tidy up / Clarify documentation
2021-06-04 12:02:57 +01:00
Jon Shallow
25f4f24477
Issue Reporting: Add in Issue Templates to get better Issue information
2021-06-04 10:02:11 +01:00
Olaf Bergmann
27c7d2d4b6
[CI] rename stable branch to main
...
This change updates the name of the stable branch in .travis
and .github/main.yml to main.
2021-04-21 17:54:37 +02:00
Jon Shallow
4ac724334f
build: Add in installation check
2021-04-09 18:55:01 +01:00
Jon Shallow
a524b2341c
build: Add in Visual Studio build
...
Update Windows build files to include a build that does not use OpenSSL
(called NoTLS).
Include this build in the github workflow.
2021-03-17 16:55:07 +00:00
Jon Shallow
c8ab318e48
Ubuntu 20.4: Fix builds as Ubuntu 20.4 will be used by github workflows
...
.github/workflows/main.yml:
Build all the cmake TLS variants.
CMakeLists.txt:
Add in missing file.
examples/tiny.c:
include/coap2/encode.h:
Move COAP_PSEUDOFP_ENCODE_8_4 functions from encode.h to tiny.c.
Fix COAP_PSEUDOFP_ENCODE_8_4_DOWN 'ls' ordering complaint.
man/examples-code-check.c:
Fix compile warning, allow 'Unused but set variables' in examples and set
-Werror when compling the examples.
examples/lwip/Makefile:
Remove compilation option -fpack-struct
2021-03-01 15:47:55 +00:00
Jon Shallow
dc6c5e6b00
workflow: Add in distribution and CMake checks
...
.github/workflows/main.yml:
Do a 'make check' for matrix builds.
Move documentation into separate job to reduce matrix build times
Add in CMake job.
Add in distribution job.
Add in tinydtls job.
Add in contiki/lwip job.
scripts/github_dist.sh:
Do the distribution checks using a script.
examples/etsi_iot_01.c:
examples/tiny.c:
Fix include coap.h directory in old examples.
README.md:
Update status badges to get only the branch actions and remove CMake
status badge.
2021-02-24 18:15:25 +00:00
Olaf Bergmann
4185e6215f
[CI] main.yml: Enable building on all relevant events and branches
2021-02-12 13:01:39 +01:00
Olaf Bergmann
961afc742e
[CI] main.yml: Set -Werror in compile matrix
2021-02-12 12:44:50 +01:00
Olaf Bergmann
16ea2dca63
[CI] main.yml: Enable more checks
2021-02-12 12:44:47 +01:00
Olaf Bergmann
391be3176e
[CI] main.yml: Run unit tests with valgrind
2021-02-12 12:40:44 +01:00
Olaf Bergmann
57a5a7e089
[CI] main.yml: basic build steps
2021-02-12 12:09:01 +01:00
Olaf Bergmann
5bcb0a1578
Revert ".github: removed consistently failing github workflow"
...
This reverts commit 610c3f6bf2 .
2021-02-12 12:09:01 +01:00
Olaf Bergmann
610c3f6bf2
.github: removed consistently failing github workflow
...
The github workflow fails very often due to broken setup or timeouts,
therefore it has been disabled for now.
2020-10-20 21:08:47 +02:00
Jon Shallow
ef0903adce
travis: Fix cmake builds
...
Make sure that "apt-get update" is called before "apt-get install".
2020-05-04 10:29:49 +01:00
Carlos Gomes Martinho
7e9a7fb3e6
ci: run github ci on PR
2020-04-24 15:20:28 +02:00
Carlos Gomes Martinho
e191e2d726
build: add cmake support
2020-04-22 17:07:24 +02:00