Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
582ff2d
1st version of ragger tests
cedelavergne-ledger Aug 25, 2023
f475876
Adapt tree like boilerplate example
cedelavergne-ledger Aug 30, 2023
369d0fc
Update ragger tests and png after adapting the tree
cedelavergne-ledger Aug 30, 2023
d84e0cb
Remove zxlib, to be replaced by a clean submodule
cedelavergne-ledger Sep 5, 2023
ed9dddd
Add zxlib submodule
cedelavergne-ledger Sep 5, 2023
1b414e2
Adapt the application to the new version of zxlib (19.8.2)
cedelavergne-ledger Sep 12, 2023
5485575
Cleanup useless files
cedelavergne-ledger Sep 6, 2023
31e96c0
Port and adapt workflows from boilerplate template
cedelavergne-ledger Sep 1, 2023
ec83bb9
Update app version to 0.12.0
cedelavergne-ledger Sep 20, 2023
7e11a46
Fix Linters and CI outputs
cedelavergne-ledger Sep 6, 2023
e6ee953
Add Stax support
cedelavergne-ledger Sep 6, 2023
9031087
Update documentation
cedelavergne-ledger Sep 6, 2023
1c1bef1
Merge pull request #24 from LedgerHQ/FAT_porting-flow
cedelavergne-ledger Sep 20, 2023
e27d80f
Remove useless path from check
cedelavergne-ledger Oct 20, 2023
94a933c
Update Stax icons
cedelavergne-ledger Oct 20, 2023
804249d
Update Stax ragger png
cedelavergne-ledger Oct 20, 2023
f2317ac
Fix error handling
cedelavergne-ledger Oct 23, 2023
21560d9
Fix reject error cases
cedelavergne-ledger Oct 23, 2023
5e135da
Merge pull request #25 from LedgerHQ/cev/BC2A-1150_FAT-porting-2
cedelavergne-ledger Oct 23, 2023
4dad981
Revert "Fix reject error cases"
cedelavergne-ledger Oct 25, 2023
e15d24b
Update text search for ragger, with regex
cedelavergne-ledger Oct 25, 2023
d63e9a4
Update png accordingly
cedelavergne-ledger Oct 25, 2023
431495b
Merge pull request #26 from LedgerHQ/cev/BC2A-1150_FAT-porting-3
cedelavergne-ledger Oct 25, 2023
8b5ab5e
[auto]: add PR template
sgliner-ledger Nov 29, 2023
cc2333e
[auto] Add manifest
sgliner-ledger Mar 12, 2024
bccd8a6
Update ledger_app.toml
tdejoigny-ledger Mar 12, 2024
64dc30e
Update ledger_app.toml
tdejoigny-ledger Mar 12, 2024
5ac1290
Merge pull request #27 from LedgerHQ/tdj/fix_app_manifest
tdejoigny-ledger Mar 12, 2024
28a4625
Replace zxlib submodule with files
relatko Dec 31, 2023
168e450
Add rlp unit test to cmocka
relatko Jan 3, 2024
5a68a63
Add ledger_app.toml
relatko Jan 3, 2024
1e42ba2
Replace deprecated makefile parameter
relatko Jan 3, 2024
084c5df
Signing refactor to introduce message signing
relatko Jan 3, 2024
832fcb7
Add metadata parsing support
relatko Jan 3, 2024
b3becc4
Add script parser
relatko Jan 3, 2024
db8cd3b
Clang-format
relatko Jan 3, 2024
6792fbb
Failure to upload code coverage -> no CI failure
relatko Jan 3, 2024
94384f1
Add message signing (may not work yet)
relatko Jan 3, 2024
fa8537b
Merge with latest zxlib version
relatko Jan 4, 2024
3bc0b7f
Message signing with tests
relatko Jan 4, 2024
a1d429c
Merkle tree generator
relatko Jan 4, 2024
08f0934
Transaction signingusing merkle trees
relatko Jan 4, 2024
fe34ab8
Add tests merkle proof errors
relatko Jan 5, 2024
02f3c15
Arbitrary transaction signing
relatko Jan 5, 2024
b211994
Add manifest testcase generation
relatko Feb 8, 2024
eb4b8d2
Manifest speculos tests
relatko Feb 8, 2024
9ad215b
Improve logging
relatko Feb 26, 2024
0c32835
Remove script parsing code
relatko Feb 26, 2024
4b03837
Remove optional array
relatko Feb 26, 2024
cc09ce8
Arbitrary message signing simplification
relatko Mar 7, 2024
b9baf62
Support for reverted type value JSON order
relatko Mar 7, 2024
b4ccf3b
New manifest, including necessary testing changes
relatko Mar 8, 2024
454596a
String and enum types in metadata parsing
relatko Mar 15, 2024
48afd22
App supports string and enum types
relatko Mar 15, 2024
363cf7c
Process manifest with new types
relatko Mar 18, 2024
75f6857
Fix snapshots to latest containers
relatko Mar 21, 2024
0572431
Javascript layer
relatko Mar 24, 2024
dbc0511
NanoS/X/S+ show address from menu
relatko Apr 12, 2024
268bec7
STAX menu review address feature
relatko Apr 15, 2024
704dbc8
Bump version + fix related snapshots
relatko Apr 15, 2024
4e86887
Update APDU documentation
relatko Apr 17, 2024
4e5ab83
Remove duplicate (and unused) base58.* files
relatko Apr 17, 2024
eafad1c
Adjust max displayed value string on stax
relatko Apr 17, 2024
362fe04
Update manifest
relatko Apr 18, 2024
3e341c6
Shorten tx names and labels that were too long
relatko Apr 19, 2024
feebb05
Audit findings
relatko Jun 4, 2024
4025531
Remove unused old file
relatko Jun 5, 2024
0f7d03a
Improve docs
relatko Jun 5, 2024
2bf13a8
Audit related minor code improvements
relatko Jun 5, 2024
e10d732
Fix crypto call reurn value checks
relatko Jun 6, 2024
0c12067
Merge pull request #3 from vacuumlabs/audit_findings
relatko Jun 12, 2024
24ba23a
Merge pull request #28 from vacuumlabs/merging-with-onflow-latest-dev…
tdejoigny-ledger Jun 26, 2024
b51a0fc
New zxlib, no adjusmens
relatko Aug 6, 2024
8eacb32
Update zxlib
relatko Aug 6, 2024
7eac5da
Update build to reflect PRODUCTION_BUILD option
relatko Aug 6, 2024
888a39a
Update snapshots
relatko Sep 6, 2024
ccaf8b7
Update zxlib and fix typos
relatko Sep 23, 2024
3c37d15
Python client refactor
relatko Sep 27, 2024
c209e9f
Flex icon
relatko Oct 28, 2024
cea0852
generate new meta data
tarakby Oct 31, 2024
5c2691c
update app metadata root hash
tarakby Oct 31, 2024
0f0d970
fix python tests (but SCO.17 manifest)
tarakby Oct 31, 2024
e21052f
update png files
tarakby Oct 31, 2024
98c6be0
fix sco.17 manifest test
tarakby Oct 31, 2024
3b4a57b
new PNGs
tarakby Nov 1, 2024
0d2462a
fix c lint
tarakby Nov 1, 2024
df1302d
fix js tests
tarakby Nov 2, 2024
f5a3a2e
fix pylint errors
tarakby Nov 2, 2024
60ceb73
more pylint fixes
tarakby Nov 2, 2024
b775eab
add logs
tarakby Dec 3, 2024
2aea834
update node registration name to fix display
tarakby Dec 9, 2024
4b81321
revert logs
tarakby Dec 9, 2024
a90c920
Update snapshots with latest ledger-dev-tools
Dec 30, 2024
9cc3f06
WIP Update zxlib
Dec 30, 2024
ed4f518
Show address from menu in STAX and FLEX
Dec 31, 2024
8c4c061
Remove outdated menu entries, improve menu test
Dec 31, 2024
8b23857
remove all snapshots for a clean rebase
tarakby Jan 2, 2025
f248d0e
merge zxlib-update branch
tarakby Jan 2, 2025
8f15208
generate new PNGs and update truncated display text
tarakby Jan 2, 2025
46e9a48
fix C linter
tarakby Jan 2, 2025
be540a6
generate new PNGs with newer docker image
tarakby Jan 3, 2025
798bcd5
bump version
tarakby Jan 7, 2025
32723d6
Merge pull request #30 from vacuumlabs/update-zxlib
cedelavergne-ledger Jan 9, 2025
02631fc
Remove Nanos support
cedelavergne-ledger Jan 9, 2025
fb13b0c
Fix Production Build at 1 by default
cedelavergne-ledger Jan 9, 2025
1e64729
Bump version
cedelavergne-ledger Jan 9, 2025
7363d49
Add dynamic check of AppName and AppVersion
cedelavergne-ledger Jan 9, 2025
85f2bf8
Update snapshots
cedelavergne-ledger Jan 9, 2025
56a898d
Merge pull request #31 from LedgerHQ/cev/Flex_porting
cedelavergne-ledger Jan 10, 2025
f201c54
Merge pull request #114 from onflow/tarak/port-ledgerHQ-31
tarakby Jan 14, 2025
59dc006
Merge pull request #112 from onflow/tarak/update-zxlib
tarakby Jan 14, 2025
855c7bd
merge develop branch
tarakby Jan 14, 2025
70f907c
bump version
tarakby Jan 14, 2025
2b14a7b
revert script updates to restrict changes to new node register only
tarakby Jan 29, 2025
ee2a840
Merge pull request #32 from onflow/tarak/develop-pop (B2CA-1682)
fvalette-ledger Feb 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
19 changes: 19 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
BasedOnStyle: Google
IndentWidth: 4
---
Language: Cpp
ColumnLimit: 100
PointerAlignment: Right
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: true
SortIncludes: false
SpaceAfterCStyleCast: true
AllowShortCaseLabelsOnASingleLine: false
AllowAllArgumentsOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Never
AllowShortFunctionsOnASingleLine: None
BinPackArguments: false
BinPackParameters: false
---
2,569 changes: 2,569 additions & 0 deletions .doxygen/Doxyfile

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Checklist
<!-- Put an `x` in each box when you have completed the items. -->
- [ ] App update process has been followed <!-- See comment below -->
- [ ] Target branch is `develop` <!-- unless you have a very good reason -->
- [ ] Application version has been bumped <!-- required if your changes are to be deployed -->

<!-- Make sure you followed the process described in https://developers.ledger.com/docs/embedded-app/maintenance/ before opening your Pull Request.
Don't hesitate to contact us directly on Discord if you have any questions ! https://developers.ledger.com/discord -->
33 changes: 33 additions & 0 deletions .github/workflows/build_and_functional_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build and run functional tests using ragger through reusable workflow

# This workflow will build the app and then run functional tests using the Ragger framework upon Speculos emulation.
# It calls a reusable workflow developed by Ledger's internal developer team to build the application and upload the
# resulting binaries.
# It then calls another reusable workflow to run the Ragger tests on the compiled application binary.
#
# While this workflow is optional, having functional testing on your application is mandatory and this workflow and
# tooling environment is meant to be easy to use and adapt after forking your application

on:
workflow_dispatch:
push:
branches:
- master
- main
- develop
pull_request:

jobs:
build_application:
name: Build application using the reusable workflow
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1
with:
upload_app_binaries_artifact: "compiled_app_binaries"

ragger_tests:
name: Run ragger tests using the reusable workflow
needs: build_application
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_ragger_tests.yml@v1
with:
download_app_binaries_artifact: "compiled_app_binaries"
test_dir: tests
264 changes: 0 additions & 264 deletions .github/workflows/ci-workflow.yml

This file was deleted.

46 changes: 46 additions & 0 deletions .github/workflows/codeql_checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: "CodeQL"

on:
workflow_dispatch:
push:
branches:
- master
- main
- develop
pull_request:
# Excluded path: add the paths you want to ignore instead of deleting the workflow
paths-ignore:
- '.github/workflows/*.yml'
- 'tests/*'

jobs:
analyse:
name: Analyse
strategy:
matrix:
sdk: [ "$NANOS_SDK", "$NANOX_SDK", "$NANOSP_SDK", "$STAX_SDK", "$FLEX_SDK"]
#'cpp' covers C and C++
language: [ 'cpp' ]
runs-on: ubuntu-latest
container:
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-legacy:latest

steps:
- name: Clone
uses: actions/checkout@v3
with:
submodules: recursive

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: security-and-quality

# CodeQL will create the database during the compilation
- name: Build
run: |
make BOLOS_SDK=${{ matrix.sdk }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
Loading
Loading