Skip to content

Commit

Permalink
Version 5.3.2 ALPHA release
Browse files Browse the repository at this point in the history
- Bumped version to 5.3.2
- Updated version references in firmware, middleware and unit tests
- Updated CHANGELOG
  • Loading branch information
amendelzon committed Dec 3, 2024
1 parent f45141f commit b64978f
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 8 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion firmware/src/ledger/ui/src/defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions firmware/src/ledger/ui/test/onboard/test_onboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion firmware/src/powhsm/src/defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions middleware/ledger/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion middleware/tests/ledger/test_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion middleware/tests/ledger/test_protocol_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b64978f

Please sign in to comment.