Skip to content

Commit

Permalink
4.0.2 release (#150)
Browse files Browse the repository at this point in the history
- Bump version to 4.0.2
- Update CHANGELOG
  • Loading branch information
amendelzon committed Aug 1, 2023
1 parent c19e14b commit 23f933a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [4.0.2] - 01/08/2023

### Fixes

- Fixed failing middleware docker image build

## [4.0.1] - 14/06/2023

### Features/enhancements
Expand Down
2 changes: 1 addition & 1 deletion ledger/src/signer/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 0x04
#define VERSION_MINOR 0x00
#define VERSION_PATCH 0x01
#define VERSION_PATCH 0x02

#endif // __DEFS_H
2 changes: 1 addition & 1 deletion ledger/src/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 0x04
#define VERSION_MINOR 0x00
#define VERSION_PATCH 0x01
#define VERSION_PATCH 0x02

#endif // __DEFS_H
4 changes: 2 additions & 2 deletions ledger/src/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\x04\x00\x01");
ASSERT_APDU("\x80\x01\x04\x00\x02");

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

int main() {
Expand Down
4 changes: 2 additions & 2 deletions middleware/ledger/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@

class HSM2ProtocolLedger(HSM2Protocol):
# Current manager supported versions for HSM UI and HSM SIGNER (<=)
UI_VERSION = HSM2FirmwareVersion(4, 0, 1)
APP_VERSION = HSM2FirmwareVersion(4, 0, 1)
UI_VERSION = HSM2FirmwareVersion(4, 0, 2)
APP_VERSION = HSM2FirmwareVersion(4, 0, 2)

# Amount of time to wait to make sure the app is opened
OPEN_APP_WAIT = 1 # second
Expand Down

0 comments on commit 23f933a

Please sign in to comment.