Skip to content

Commit

Permalink
Merge pull request #88 from LedgerHQ/xch/bump-sdk
Browse files Browse the repository at this point in the history
SDK: update with latest patches
  • Loading branch information
xchapron-ledger authored Oct 9, 2023
2 parents 2084d9b + 375118f commit 60e8f1e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +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.6.0] - 2023-09-18
## [3.7.0] - 2023-10-09

### Changed
- Bump SDK versions

## [3.6.0] - 2023-10-03

### Added
- Add `cargo ledger setup` step in full/legacy images so users don't have to do it.
Expand Down
10 changes: 5 additions & 5 deletions lite/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,25 +67,25 @@ ARG GIT_SERVER=https://github.com/LedgerHQ
# Latest Nano S SDK
# Will switch to the unified SDK for next OS release.
ENV NANOS_SDK=/opt/nanos-secure-sdk
RUN git clone --branch v2.1.0-11 --depth 1 "$GIT_SERVER/nanos-secure-sdk.git" "$NANOS_SDK"
RUN git clone --branch v2.1.0-12 --depth 1 "$GIT_SERVER/nanos-secure-sdk.git" "$NANOS_SDK"

# Unified SDK
ENV LEDGER_SECURE_SDK=/opt/ledger-secure-sdk
RUN git clone "$GIT_SERVER/ledger-secure-sdk.git" "$LEDGER_SECURE_SDK"

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

# Latest Nano S+ SDK (OS nanos+_1.1.0 => based on API_LEVEL 1)
ENV NANOSP_SDK=/opt/nanosplus-secure-sdk
RUN git -C "$LEDGER_SECURE_SDK" worktree add "$NANOSP_SDK" v1.8.0
RUN git -C "$LEDGER_SECURE_SDK" worktree add "$NANOSP_SDK" v1.9.0
RUN echo nanos2 > $NANOSP_SDK/.target

# Latest Stax SDK (OS stax_1.3.0-rc4 => based on API_LEVEL 13)
# Latest Stax SDK (OS stax_1.3.0 => based on API_LEVEL 13)
ENV STAX_SDK=/opt/stax-secure-sdk
RUN git -C "$LEDGER_SECURE_SDK" worktree add "$STAX_SDK" v13.0.0
RUN git -C "$LEDGER_SECURE_SDK" worktree add "$STAX_SDK" v13.1.0
RUN echo stax > $STAX_SDK/.target

# Default SDK
Expand Down

0 comments on commit 60e8f1e

Please sign in to comment.