Skip to content

Commit

Permalink
Merge pull request #151 from LedgerHQ/bump/speculos
Browse files Browse the repository at this point in the history
[update] Speculos and SDK versions bump
  • Loading branch information
tdejoigny-ledger authored Nov 28, 2024
2 parents 51bf848 + a97c0b1 commit 493c1c1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.42.0] - 2024-11-28

### Changed
- Bump Speculos version
- Bump all devices SDK versions

## [3.41.0] - 2024-11-12

### Changed
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN apk add $(echo -n "$PYTHON_BUILD_DEPS" | tr , ' ')
RUN apk add imagemagick grep

# Install test tools (Ragger framework, Speculos emulator, Ledgerblue...)
RUN pip3 install --no-cache-dir "ragger[tests,all_backends]==1.24.0" "speculos==0.11.0"
RUN pip3 install --no-cache-dir "ragger[tests,all_backends]==1.24.0" "speculos==0.12.0"

# Add the enforcer script
ADD ./dev-tools/enforcer.sh /opt/enforcer.sh
18 changes: 9 additions & 9 deletions lite/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,27 +73,27 @@ RUN git clone "$GIT_SERVER/ledger-secure-sdk.git" "$LEDGER_SECURE_SDK"

# Latest Nano S SDK (OS nanos_2.1.0 => based on API_LEVEL LNS)
ENV NANOS_SDK=/opt/nanos-secure-sdk
RUN git -C "$LEDGER_SECURE_SDK" worktree add "$NANOS_SDK" lns-2.1.0-v22.1
RUN git -C "$LEDGER_SECURE_SDK" worktree add "$NANOS_SDK" lns-2.1.0-v22.2
RUN echo nanos > $NANOS_SDK/.target

# Latest Nano X SDK (OS nanox_2.2.4 => based on API_LEVEL 5)
# Latest Nano X SDK (OS nanox_2.4.0 => based on API_LEVEL 22)
ENV NANOX_SDK=/opt/nanox-secure-sdk
RUN git -C "$LEDGER_SECURE_SDK" worktree add "$NANOX_SDK" v5.13.1
RUN git -C "$LEDGER_SECURE_SDK" worktree add "$NANOX_SDK" v22.0.0
RUN echo nanox > $NANOX_SDK/.target

# Latest Nano S+ SDK (OS nanos+_1.1.2 => based on API_LEVEL 5)
# Latest Nano S+ SDK (OS nanos+_1.3.0 => based on API_LEVEL 22)
ENV NANOSP_SDK=/opt/nanosplus-secure-sdk
RUN git -C "$LEDGER_SECURE_SDK" worktree add "$NANOSP_SDK" v5.13.1
RUN git -C "$LEDGER_SECURE_SDK" worktree add "$NANOSP_SDK" v22.0.0
RUN echo nanos2 > $NANOSP_SDK/.target

# Latest Stax SDK (OS stax_1.5.0 => based on API_LEVEL 21)
# Latest Stax SDK (OS stax_1.6.0 => based on API_LEVEL 22)
ENV STAX_SDK=/opt/stax-secure-sdk
RUN git -C "$LEDGER_SECURE_SDK" worktree add "$STAX_SDK" v21.3.7
RUN git -C "$LEDGER_SECURE_SDK" worktree add "$STAX_SDK" v22.0.0
RUN echo stax > $STAX_SDK/.target

# Latest Flex SDK (OS flex_1.1.1 => based on API_LEVEL 21)
# Latest Flex SDK (OS flex_1.2.0 => based on API_LEVEL 22)
ENV FLEX_SDK=/opt/flex-secure-sdk
RUN git -C "$LEDGER_SECURE_SDK" worktree add "$FLEX_SDK" v21.3.7
RUN git -C "$LEDGER_SECURE_SDK" worktree add "$FLEX_SDK" v22.0.0
RUN echo flex > $FLEX_SDK/.target

# Default SDK
Expand Down

0 comments on commit 493c1c1

Please sign in to comment.