From c86a90313501f09cf5b383fd44243bcdcda847d9 Mon Sep 17 00:00:00 2001 From: Siddharth Chandrasekaran Date: Sun, 31 Jan 2021 22:02:03 +0100 Subject: [PATCH] Release v1.4.0 Signed-off-by: Siddharth Chandrasekaran --- CHANGELOG | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++ CMakeLists.txt | 2 +- 2 files changed, 55 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 8679245b..290bf52a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,57 @@ +v1.4.0 +------ + +31 January 2021 + +This relase brings in a lot of bug fixes and some minor enhancements. + +Enhancements: +doc: Add Doxygen and breathe to talk with sphinx +LibOSDP: Add osdp.hpp and cpp samples +cp: Add new flag FLAG_SC_DISABLED when master_key == NULL +Add support for adpative MARK bytes on packets +libosdp: consume only processed bytes from rx_buf +test: Get test log level from test context +Add a toplevel cmake offload makefile +PD: Add API osdp_pd_set_capabilities() +PD: Add CAP validation on received commands +PD: Allow only specific commands in plain text when ENFORCE_SECURE +Consume new hexdump API; Modify packet_trace logs +Move src/include/* to src/ for simplicity +PD: Reset SC active status bit when there is a timeout +pyosdp: promote set_loglevel() as osdp class static method +libosdp: Add support for multiple PDs connected in a single channel +Add compile time switch CONFIG_OSDP_SKIP_MARK_BYTE +Allow LibOSDP to export its build rules to other modules +libosdp: Optionally, find and use openssl if available + +Fixes: +pyosdp: cp: change type of master_key to python bytes +cp: Fix master keyset functionality +libosdp: cleanup logs and remove some duplicate code +Fix python warnings -- bugs +Disambiguate logging macro from the loglevel enum entry +CP: Fix some ENFORCE_SECURE holes +Reset seq_number before moving to ONLINE without SC +fix: map the public osdp_cmd_e id codes when sending commands to the OSDP API + function osdp_cp_send_command() +fix in using correct context pointer for PD (pd_ctx instead of cp_ctx) +The PD address 0 is also a valid address! +Fix the check of the checksum of received packets. +Avoid receiving invalid data by flushing rx before each send. +do not flush rx queue when skipping commands. when skipping commands addressed + to other nodes the rx queue should not be flushed. The complete command is + already received and flushing the rx queue only risks removing bytes in the + next command. +PD: Discard SC flag on MAC verification and decryption errors +Fix REPLY_RAW card data length bug - Related-To: #31 +Fix constant time compare in osdp_ct_compare() +pyosdp: fix untested PD capabilities code flow +Fix CONFIG_OSDP_PACKET_TRACE that was flooding logs with osdp_POLL +cp: Fix unexpected reply condition missing break +Fix osdp_event_cardread length bits/bytes mixup + + v1.3.0 ------ diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e7296ee..d5d1c918 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 3.0 FATAL_ERROR) cmake_policy(SET CMP0063 NEW) -project(libosdp VERSION 1.3.0) +project(libosdp VERSION 1.4.0) set(PROJECT_AUTHOR "Siddharth Chandrasekaran") set(PROJECT_AUTHOR_EMAIL "siddharth@embedjournal.com")