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.2.2 release #265

Merged
merged 1 commit into from
Jan 20, 2025
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
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## [5.2.2] - 20/01/2025

### Features/enhancements

- Implemented OSSF scorecard on CI

### Fixes

- Fixed middleware docker image build
- Fixed minor scorecard findings
- Bumped debian, aflplusplus docker images
- Bumpled GH actions codeql, upload-artifact

## [5.2.1] - 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 0x02
#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\x02\x01");
ASSERT_APDU("\x80\x01\x05\x02\x02");

G_device_onboarded = false;
assert(5 == is_onboarded());
ASSERT_APDU("\x80\x00\x05\x02\x01");
ASSERT_APDU("\x80\x00\x05\x02\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 0x02
#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 @@ -37,8 +37,8 @@

class HSM2ProtocolLedger(HSM2Protocol):
# Current manager supported versions for HSM UI and HSM SIGNER (<=)
UI_VERSION = HSM2FirmwareVersion(5, 2, 1)
APP_VERSION = HSM2FirmwareVersion(5, 2, 1)
UI_VERSION = HSM2FirmwareVersion(5, 2, 2)
APP_VERSION = HSM2FirmwareVersion(5, 2, 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, 2, 1))
self.dongle.get_version = Mock(return_value=HSM2FirmwareVersion(5, 2, 2))
self.dongle.get_signer_parameters = Mock(return_value=Mock(
min_required_difficulty=123))
self.protocol = HSM2ProtocolLedger(self.pin, self.dongle)
Expand Down
Loading