diff --git a/CHANGELOG.md b/CHANGELOG.md index 32e2bdcc..a74724b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## [5.3.2 ALPHA] - 04/12/2024 + +### Features/enhancements + +- SGX distribution: installing powHSM as a system service + +### Fixes + +- Fixed code coverage report + ## [5.3.1 ALPHA] - 14/11/2024 ### Fixes diff --git a/firmware/src/ledger/ui/src/defs.h b/firmware/src/ledger/ui/src/defs.h index b4577ec9..9f7ab309 100644 --- a/firmware/src/ledger/ui/src/defs.h +++ b/firmware/src/ledger/ui/src/defs.h @@ -31,6 +31,6 @@ // Version and patchlevel #define VERSION_MAJOR 0x05 #define VERSION_MINOR 0x03 -#define VERSION_PATCH 0x01 +#define VERSION_PATCH 0x02 #endif // __DEFS_H diff --git a/firmware/src/ledger/ui/test/onboard/test_onboard.c b/firmware/src/ledger/ui/test/onboard/test_onboard.c index 933e13b2..bcc8e555 100644 --- a/firmware/src/ledger/ui/test/onboard/test_onboard.c +++ b/firmware/src/ledger/ui/test/onboard/test_onboard.c @@ -313,11 +313,11 @@ void test_is_onboarded() { G_device_onboarded = true; assert(5 == is_onboarded()); - ASSERT_APDU("\x80\x01\x05\x03\x01"); + ASSERT_APDU("\x80\x01\x05\x03\x02"); G_device_onboarded = false; assert(5 == is_onboarded()); - ASSERT_APDU("\x80\x00\x05\x03\x01"); + ASSERT_APDU("\x80\x00\x05\x03\x02"); } int main() { diff --git a/firmware/src/powhsm/src/defs.h b/firmware/src/powhsm/src/defs.h index ac150a22..9465f26a 100644 --- a/firmware/src/powhsm/src/defs.h +++ b/firmware/src/powhsm/src/defs.h @@ -30,6 +30,6 @@ // Version and patchlevel #define VERSION_MAJOR 0x05 #define VERSION_MINOR 0x03 -#define VERSION_PATCH 0x01 +#define VERSION_PATCH 0x02 #endif // __DEFS_H diff --git a/middleware/ledger/protocol.py b/middleware/ledger/protocol.py index 3b683345..4141cda5 100644 --- a/middleware/ledger/protocol.py +++ b/middleware/ledger/protocol.py @@ -38,8 +38,8 @@ class HSM2ProtocolLedger(HSM2Protocol): # Current manager supported versions for HSM UI and HSM SIGNER (<=) - UI_VERSION = HSM2FirmwareVersion(5, 3, 1) - APP_VERSION = HSM2FirmwareVersion(5, 3, 1) + UI_VERSION = HSM2FirmwareVersion(5, 3, 2) + APP_VERSION = HSM2FirmwareVersion(5, 3, 2) # Amount of time to wait to make sure the app is opened OPEN_APP_WAIT = 1 # second diff --git a/middleware/tests/ledger/test_protocol.py b/middleware/tests/ledger/test_protocol.py index 25a076e2..08079d58 100644 --- a/middleware/tests/ledger/test_protocol.py +++ b/middleware/tests/ledger/test_protocol.py @@ -49,7 +49,7 @@ def setUp(self): self.dongle.disconnect = Mock() self.dongle.is_onboarded = Mock(return_value=True) self.dongle.get_current_mode = Mock(return_value=HSM2Dongle.MODE.SIGNER) - self.dongle.get_version = Mock(return_value=HSM2FirmwareVersion(5, 3, 1)) + self.dongle.get_version = Mock(return_value=HSM2FirmwareVersion(5, 3, 2)) self.dongle.get_signer_parameters = Mock(return_value=Mock( min_required_difficulty=123)) self.protocol = HSM2ProtocolLedger(self.pin, self.dongle) diff --git a/middleware/tests/ledger/test_protocol_v1.py b/middleware/tests/ledger/test_protocol_v1.py index 91978469..b0a4d0d1 100644 --- a/middleware/tests/ledger/test_protocol_v1.py +++ b/middleware/tests/ledger/test_protocol_v1.py @@ -47,7 +47,7 @@ def setUp(self): self.dongle.disconnect = Mock() self.dongle.is_onboarded = Mock(return_value=True) self.dongle.get_current_mode = Mock(return_value=HSM2Dongle.MODE.SIGNER) - self.dongle.get_version = Mock(return_value=HSM2FirmwareVersion(5, 3, 1)) + self.dongle.get_version = Mock(return_value=HSM2FirmwareVersion(5, 3, 2)) self.dongle.get_signer_parameters = Mock(return_value=Mock( min_required_difficulty=123)) self.protocol = HSM1ProtocolLedger(self.pin, self.dongle)