Benjamin Valentin
765dd68753
makefiles/suit: use OpenSSL to generate key
...
Co-authored-by: Fabian Hüßler <fabian.huessler@ml-pa.com>
2024-09-12 21:54:00 +02:00
Marian Buschsieweke
1fa7db2eda
Merge pull request #20855 from benpicco/coap_block_finish-fix
...
nanocoap: always write at least 1 byte in coap_block2_finish()
2024-09-12 15:01:19 +00:00
Benjamin Valentin
344d4b80bf
sock_dns: add debug output
2024-09-12 11:00:41 +02:00
Benjamin Valentin
bc2ad626f3
dns_msg: rename addrlen -> rdlen
2024-09-12 11:00:41 +02:00
Benjamin Valentin
305b5db4eb
dns_msg: add debug output
2024-09-12 11:00:41 +02:00
Benjamin Valentin
74356c9737
dns_msg: skip RDLENGTH_LENGTH field when skipping record
...
fixes #20355
2024-09-12 11:00:41 +02:00
Benjamin Valentin
99285d3ec5
makefiles/suit: add support for multiple & encrypted signing key
2024-09-11 19:28:39 +02:00
Benjamin Valentin
fbf1cd16a6
makefiles/suit: store public keys
...
This makes it easier to work with encrypted keys and multiple keys.
The firmware binary can contain multiple public keys that are used
to verify the manifest.
The use case is that we want to include the production public key
in the debug build, so we can seamlessly update to the production
version without re-flashing the device.
If the public keys is always generated on the fly, this would still
require the production key password even for the debug build.
Instead if we store the (unencrypted) public key, we can always
include it in the debug build.
2024-09-11 17:57:59 +02:00
benpicco
24ad7e72c8
Merge pull request #20859 from krzysztof-cabaj/nucleo-144-pinout-source
...
boards/nucleo144: add pinout source
2024-09-11 12:36:45 +00:00
benpicco
74ddc4abfb
Merge pull request #20860 from chrysn-pull-requests/update-docker
...
Update docker image (and document the process)
2024-09-11 09:39:38 +00:00
chrysn
e774040df6
doc: Align c2rust installation with docker image setup
2024-09-11 10:26:29 +02:00
chrysn
6dc2037767
makefiles/docker: Update docker image
2024-09-11 10:26:11 +02:00
chrysn
f6477370df
makefiles/doc: Explain where docker image hash values come from
2024-09-11 10:13:36 +02:00
krzysztof-cabaj
b74c4236c8
boards/nucleo144-l4: add pinout source
2024-09-10 17:44:04 +02:00
krzysztof-cabaj
911cc15129
boards/nucleo144-f7: add source to pinouts
2024-09-10 17:30:16 +02:00
Teufelchen
e31e814cff
Merge pull request #20852 from fabian18/nanocoap_sock_get_non
...
sys/net/application_layer/nanocoap: add `nanocoap_sock_get_non()`
2024-09-10 15:06:27 +00:00
Fabian Hüßler
02e513e04b
sys/include/net: better documentation of nanocoap_sock_request_cb
2024-09-10 16:44:19 +02:00
Fabian Hüßler
d3417dad65
tests/net/nanocoap_cli: add get_non command
2024-09-10 16:43:45 +02:00
Fabian Hüßler
95b46ee2a5
sys/net/application_layer/nanocoap: add nanocoap_sock_get_non
2024-09-10 16:43:44 +02:00
krzysztof-cabaj
882af4ea9d
boards/nucleo144-f4: add pinout source
2024-09-10 11:27:49 +02:00
krzysztof-cabaj
841d0a0dfd
boards/nucleo144-f3 add pinout source
2024-09-09 16:09:19 +02:00
krzysztof-cabaj
9ecbeae90e
boards/nucleo144-f2: add pinout source
2024-09-09 14:03:45 +02:00
Dylan Laduranty
82ce32ee10
boards/saml1x: convert bitfields to new masks name
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-09-08 15:17:34 +02:00
Benjamin Valentin
66fe083d9b
nanocoap: always write at least 1 byte in coap_block2_finish()
...
The CoAP block option gets written twice:
First a 'dummy' value is written by `coap_opt_add_block2()`, later this gets
overwritten by the real option value by coap_block2_finish().
The problem arises when the size of the option changes.
If the option ends up smaller than the dummy, we have garbage bytes after the
real option value, corrupting the packet.
To mitigate this, always write at least one option byte (which will be a 0 byte)
to ensure the dummy data is overwritten.
fixes #20686
2024-09-07 16:11:23 +02:00
Armin Wolf
82b07318ec
sys/psa_crypto: Fix missing usage flags when creating new keys
...
The PSA crypto specification states that when creating keys,
the usage flags PSA_KEY_USAGE_SIGN_HASH/PSA_KEY_USAGE_VERIFY_HASH
automatically set the usage flags
PSA_KEY_USAGE_SIGN_MESSAGE/PSA_KEY_USAGE_VERIFY_MESSAGE on the key.
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
2024-09-07 12:12:22 +02:00
Armin Wolf
d0c4e01ca3
sys/psa_crypto: Move PSA status definition to separate file
...
When psa_status_t is defined inside crypto_types.h, then all
users of psa_status_t are forced to pull the full range of PSA
Crypto API type definitions.
This however means that psa_status_t cannot be used when defining
those PSA Crypto API types, since doing so would create a cycle.
Fix this by moving the PSA status definitions into a separate header
file which additionally is compatible with the PSA Status code API.
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
2024-09-07 12:12:19 +02:00
benpicco
ed9faa9f06
Merge pull request #20839 from mguetschow/nrf802154-rssi
...
cpu/nrf52: fix RSSI calculation in nrf802154_radio
2024-09-06 14:23:20 +00:00
benpicco
7dbb298766
Merge pull request #20372 from xnumad/rtr_ltime-test
...
tests/gnrc_ipv6_nib: rtr_ltime test
2024-09-06 11:36:39 +00:00
Dylan Laduranty
821a7e8c9f
Merge pull request #20851 from krzysztof-cabaj/nucleo-g474re-MCU-table
...
boards/nucleo-g474re: add MCU table
2024-09-05 09:38:10 +00:00
krzysztof-cabaj
6b55e1c93b
boards/nucleo-g474re: add MCU table
2024-09-04 17:26:31 +02:00
Dylan Laduranty
fd344836d5
boards/saml21*: convert bitfields to new masks names
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-09-04 11:39:10 +02:00
Dylan Laduranty
fb8473a2ea
cpu/saml21: create compatibility headers for vendor files migration
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-09-04 11:38:07 +02:00
benpicco
73e90c5049
Merge pull request #20371 from xnumad/nib-next-hop-addr
...
gnrc_ipv6_nib: Force unspecified next hop addresses
2024-09-02 12:13:28 +00:00
Dylan Laduranty
3046b07c14
Merge pull request #20848 from krzysztof-cabaj/nucleo-g431rb-MCU-table
...
boards/nucleo-g431rb: add MCU table to documentation
2024-09-02 08:19:07 +00:00
krzysztof-cabaj
8cd4369d00
boards/nucleo-g474re: add details of pinout source
2024-08-31 22:49:34 +02:00
xnumad
8b73628dc8
gnrc_ipv6_nib: refactor
...
Invert condition, add assert
2024-08-31 10:40:17 +02:00
xnumad
560d8c8ee5
gnrc_ipv6_nib: test: Force unspecified next hop addresses
2024-08-31 10:40:17 +02:00
krzysztof-cabaj
488b194714
boards/nucleo-g431rb: add MCU table
2024-08-30 16:24:27 +02:00
benpicco
f2076ad21e
Merge pull request #20846 from fzi-haxel/pr/lvgl-native64
...
pkg/lvgl: Increase default LV_MEM_SIZE for 64 bit and enable tests for native64
2024-08-30 08:47:31 +00:00
krzysztof-cabaj
ef523555f5
boards/nucleo-g431rb: add pinout source details
2024-08-29 21:36:01 +02:00
chrysn
84354ffb80
examples/rust-gcoap: Update external module dependency
...
This updates riot-sys, riot-wrappers and the riot-example-modules in for
this example, as all those are needed for full LED exposure, as well as
coap-message-utils for better error responses. An update to
coap-handler-implementations enables the use of the latest
riot-examples-modules.
2024-08-29 17:38:04 +02:00
Benjamin Valentin
16c447afb1
gcoap: make use of event_callback_post()
2024-08-29 17:35:54 +02:00
Dylan Laduranty
481b5803c6
Merge pull request #20842 from mariemC/fix/rtt_reset_after_hibernation
...
cpu/sam0_common/periph: fix rtt reset after hibernation
2024-08-29 15:26:37 +00:00
Benjamin Valentin
48850e6331
examples/twr_aloha: make use of event_callback_post()
2024-08-29 17:23:30 +02:00
Benjamin Valentin
6177380762
event_periodic_callback: add assertion that event has a handler
2024-08-29 17:20:16 +02:00
Benjamin Valentin
10f28b873e
sys/event_callback: add event_callback_post()
2024-08-29 17:19:43 +02:00
Benjamin Valentin
18e6eaca00
sys/event: add assertion that event has a handler
2024-08-29 17:19:13 +02:00
mariemC
7df7886a69
cpu/sam0_common/periph: fix rtt reset after hibernation
2024-08-29 17:08:54 +02:00
chrysn
d469e6d978
Merge pull request #20844 from chrysn-pull-requests/rust-c2rust-install-temporary
...
doc: Point out common problem installing c2rust
2024-08-29 13:58:50 +00:00
chrysn
9f3bb827f4
examples/rust-gcoap: Update stack size
...
Tests with a particle-xenon show 5KiB free stack now; before, that would
have been an overflow by 3KiB.
2024-08-29 15:07:01 +02:00