Skip to content

Commit

Permalink
Merge pull request #121 from LedgerHQ/lpa/sdk_bump_and_swipe
Browse files Browse the repository at this point in the history
All SDK updated, new Ragger & Speculos version for Flex swipe
  • Loading branch information
lpascal-ledger authored May 15, 2024
2 parents 79bf6a1 + cc85c69 commit b72eadb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 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.23.0] - 2024-05-15

### Changed
- Bump all devices SDK version
- dev-tools: Bump ragger version to 1.19.0 and Speculos to 0.9.1 (enabling Flex swipe)

## [3.22.1] - 2024-05-15

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ ARG PYTHON_BUILD_DEPS=libffi-dev,python3-dev,py3-virtualenv
RUN apk add $(echo -n "$PYTHON_BUILD_DEPS" | tr , ' ')

# Install test tools (Ragger framework, Speculos emulator, Ledgerblue...)
RUN pip3 install --no-cache-dir "ragger[tests,all_backends]==1.18.0" "speculos==0.8.6"
RUN pip3 install --no-cache-dir "ragger[tests,all_backends]==1.19.0" "speculos==0.9.1"
12 changes: 6 additions & 6 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-v20.0
RUN git -C "$LEDGER_SECURE_SDK" worktree add "$NANOS_SDK" lns-2.1.0-v21.0
RUN echo nanos > $NANOS_SDK/.target

# Latest Nano X SDK (OS nanox_2.2.3 => based on API_LEVEL 5)
ENV NANOX_SDK=/opt/nanox-secure-sdk
RUN git -C "$LEDGER_SECURE_SDK" worktree add "$NANOX_SDK" v5.11.1
RUN git -C "$LEDGER_SECURE_SDK" worktree add "$NANOX_SDK" v5.12.0
RUN echo nanox > $NANOX_SDK/.target

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

# Latest Stax SDK (OS stax_1.4.0-rc2 => based on API_LEVEL 15)
ENV STAX_SDK=/opt/stax-secure-sdk
RUN git -C "$LEDGER_SECURE_SDK" worktree add "$STAX_SDK" v15.4.0
RUN git -C "$LEDGER_SECURE_SDK" worktree add "$STAX_SDK" v15.5.0
RUN echo stax > $STAX_SDK/.target

# Latest Flex SDK (OS flex_0.2.0-rc2 => based on API_LEVEL 18)
# Latest Flex SDK (OS flex_1.0.0-rc1 => based on API_LEVEL 19)
ENV FLEX_SDK=/opt/flex-secure-sdk
RUN git -C "$LEDGER_SECURE_SDK" worktree add "$FLEX_SDK" v18.3.0
RUN git -C "$LEDGER_SECURE_SDK" worktree add "$FLEX_SDK" v19.0.0
RUN echo flex > $FLEX_SDK/.target

# Default SDK
Expand Down

0 comments on commit b72eadb

Please sign in to comment.