- 08 Mar, 2022 1 commit
-
-
Olaf Bergmann authored
-
- 17 Oct, 2021 3 commits
-
-
obgm authored
If no pretty printing of CBOR structures is enabled but DCAF_DEBUG is set, a hex dump of the CBOR structure is output.
-
obgm authored
Libcoap now calls dcaf_get_server_psk() with the psk_identity for every handshake. Preset keys for devices in the security domain therefore must be searched before the psk_identity is parsed.
-
obgm authored
If DCAF_SERVER_VALIDITY_OPTION is set to 1, no time information is included in the SAM information message for later validty checks. This change fixes the length information in the surrounding CBOR structure.
-
- 06 Oct, 2021 2 commits
-
-
Olaf Bergmann authored
dcaf_set_ticket_grant() now stores the newly created ticket in the internal ticket store and returns the pointer to this ticket or NULL.
-
Olaf Bergmann authored
The new function dcaf_check_ticket() returns true if the specified data object is present in the DCAF ticket store.
-
- 04 Oct, 2021 1 commit
-
-
Olaf Bergmann authored
After coap_pdu_parse() has been moved back into the public API this test case can be used again.
-
- 30 Sep, 2021 5 commits
-
-
Olaf Bergmann authored
-
Olaf Bergmann authored
-
Olaf Bergmann authored
Libcoap version 4.3 hides PDU implementation details from applications. This change uses the new getter functions where provided. An open issue is the removal of coap_pdu_parse() with no adequate replacement.
-
Olaf Bergmann authored
-
Olaf Bergmann authored
-
- 23 Sep, 2021 1 commit
-
-
Olaf Bergmann authored
As some unit tests are currently broken, --disable-tests now is the default. You can switch on unit tests by passing --enable-tests to configure.
-
- 22 Sep, 2021 1 commit
-
-
Olaf Bergmann authored
With option -H, no valid host certificate is required for the AM. This option is intended only for testing.
-
- 13 Sep, 2021 1 commit
-
-
Olaf Bergmann authored
With commit 38d66cc6, num_segments may be uninitialized if no query is written. This change ensures that num_segments is always initialized to 0.
-
- 02 Sep, 2021 1 commit
-
-
Olaf Bergmann authored
When called with COAP_OPTION_URI_QUERY, set_uri_options() creates Uri-Query options only for non-empty query strings.
-
- 01 Sep, 2021 1 commit
-
-
Olaf Bergmann authored
Hugo Damer has pointed out that the assertion in make_ticket_request() fails when buf is not cleared before calling coap_get_resource_uri().
-
- 28 Jul, 2021 4 commits
-
-
Olaf Bergmann authored
-
Olaf Bergmann authored
Fix commit 3459435c that failed to include libdcaf.h in libdcaf_include_HEADERS.
-
Olaf Bergmann authored
-
Olaf Bergmann authored
Received CoAP responses may contain SAM information messages in case the sender is not authorized. Therefore, a response is checked for the Content-Format DCAF_MEDIATYPE_DCAF_CBOR. If no Content-Format is set, the response is treated as non-DCAF message.
-
- 27 Jul, 2021 2 commits
-
-
Olaf Bergmann authored
-
Olaf Bergmann authored
-
- 26 Jul, 2021 1 commit
-
-
Olaf Bergmann authored
-
- 17 Jul, 2021 1 commit
-
-
Olaf Bergmann authored
-
- 15 Jul, 2021 7 commits
-
-
Olaf Bergmann authored
This reverts commit e15d960f.
-
Olaf Bergmann authored
-
Olaf Bergmann authored
Commit 3a3d8331 has used a wrong package name for libyaml-cpp.
-
Olaf Bergmann authored
-
Olaf Bergmann authored
-
Olaf Bergmann authored
The AM configuration file now is parsed asYAML document, using yaml-cpp [1]. The following paths are now searched in order if option '-C' is not given on the command line: 1. $HOME/.amrc 2. $HOME/.local/dcaf/amrc 3. /etc/amrc [1] https://github.com/jbeder/yaml-cpp
-
Olaf Bergmann authored
* Improve reporting which library has been detected. * Call PKG_CHECK_MODULES where a .pc file is known to exist.
-
- 22 Apr, 2021 1 commit
-
-
Olaf Bergmann authored
-
- 16 Apr, 2021 6 commits
-
-
Olaf Bergmann authored
-
Olaf Bergmann authored
-
Olaf Bergmann authored
-
Olaf Bergmann authored
-
Olaf Bergmann authored
The PSK callback for a CoAP server now is setup with coap_context_set_psk2().
-
Olaf Bergmann authored
-
- 18 Mar, 2021 1 commit
-
-
Olaf Bergmann authored
PR 613 [1] changed the name of the message id field in coap_pdu_t to mid and its type to coap_mid_t. This change updates their use in DCAF. [1] https://github.com/obgm/libcoap/pull/613
-