Skip to content

list applications installed on device - #7

Merged
yogh333 merged 6 commits into
ledger-community:mainfrom
yogh333:feat/listDeviceApps
Nov 10, 2025
Merged

list applications installed on device#7
yogh333 merged 6 commits into
ledger-community:mainfrom
yogh333:feat/listDeviceApps

Conversation

@yogh333

@yogh333 yogh333 commented Aug 29, 2023

Copy link
Copy Markdown
Contributor

list application installed on device using unsecure instructions (requires user's consent).

@ryankurte

Copy link
Copy Markdown
Collaborator

ooh neat! is there any reason not to make this another default method on Device with associated APDU objects?

@yogh333

yogh333 commented Aug 30, 2023

Copy link
Copy Markdown
Contributor Author

You are right, pushed my PR too soon, will do the job

@yogh333

yogh333 commented Sep 1, 2023

Copy link
Copy Markdown
Contributor Author

Done !

@yogh333 yogh333 changed the title list application installed on device list applications installed on device Nov 7, 2025
@yogh333
yogh333 force-pushed the feat/listDeviceApps branch from f8cd06f to 816e357 Compare November 7, 2025 11:03
@yogh333
yogh333 force-pushed the feat/listDeviceApps branch from 2bc20b7 to d9034e5 Compare November 7, 2025 11:35
@yogh333
yogh333 requested review from Copilot and ryankurte November 7, 2025 11:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds functionality to list installed applications on Ledger devices by introducing new APDU commands (AppListStartReq and AppListNextReq) and a high-level app_list method on the Device trait. The implementation also includes a CLI command to display the list of installed apps and refactors the Filters enum to use derive macros for the Default implementation.

  • New APDU commands for listing apps with pagination support
  • High-level app_list() method on Device trait
  • CLI command ListApp to display installed applications

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
proto/src/apdus/mod.rs Exports new app_list module and its types
proto/src/apdus/app_list.rs Defines app list APDU commands and app data decoding
lib/src/device.rs Implements app_list method on Device trait
lib/src/lib.rs Refactors Filters enum to use derive Default
lib/src/transport/usb.rs Simplifies error handling with ? operator
cli/src/main.rs Adds ListApp command and unused AppInfo struct

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread proto/src/apdus/app_list.rs Outdated
Comment thread proto/src/apdus/app_list.rs Outdated
Comment thread proto/src/apdus/app_list.rs Outdated
Comment thread proto/src/apdus/app_list.rs
Comment thread proto/src/apdus/app_list.rs
Comment thread proto/src/apdus/app_list.rs
Comment thread lib/src/device.rs Outdated
Comment thread lib/src/device.rs Outdated
Comment thread cli/src/main.rs Outdated
Comment thread proto/src/apdus/app_list.rs
@yogh333
yogh333 merged commit 43c998a into ledger-community:main Nov 10, 2025
4 checks passed
@yogh333
yogh333 deleted the feat/listDeviceApps branch November 10, 2025 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants