Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 5.3.1 ALPHA release (#213) #218

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [5.3.1 ALPHA] - 14/11/2024

### Fixes

- Fixed failing middleware docker image build

## [5.3.0 ALPHA] - 23/10/2024

### Features/enhancements
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 0x00
#define VERSION_PATCH 0x01

#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\x00");
ASSERT_APDU("\x80\x01\x05\x03\x01");

G_device_onboarded = false;
assert(5 == is_onboarded());
ASSERT_APDU("\x80\x00\x05\x03\x00");
ASSERT_APDU("\x80\x00\x05\x03\x01");
}

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 0x00
#define VERSION_PATCH 0x01

#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, 0)
APP_VERSION = HSM2FirmwareVersion(5, 3, 0)
UI_VERSION = HSM2FirmwareVersion(5, 3, 1)
APP_VERSION = HSM2FirmwareVersion(5, 3, 1)

# 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, 0))
self.dongle.get_version = Mock(return_value=HSM2FirmwareVersion(5, 3, 1))
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, 0))
self.dongle.get_version = Mock(return_value=HSM2FirmwareVersion(5, 3, 1))
self.dongle.get_signer_parameters = Mock(return_value=Mock(
min_required_difficulty=123))
self.protocol = HSM1ProtocolLedger(self.pin, self.dongle)
Expand Down
Loading