Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/LDG-535--nano-app-implement-deploy-method #36

Merged
merged 4 commits into from
Dec 11, 2024

Conversation

keiff3r
Copy link

@keiff3r keiff3r commented Dec 10, 2024

  • Add new instruction INS_DEPLOY_MODULE (0x06) to handle module deployment
  • Create deployModule.c/.h files with handler implementation
  • Add UI flow for displaying module version and transaction details
  • Add new error code ERROR_INVALID_SOURCE_LENGTH
  • Implement Python test client for deployModule instruction
  • Add test case for module deployment flow
  • Update handler.c to support new instruction

The implementation allows users to deploy modules by processing the version
and source data in chunks, with appropriate UI confirmation steps.

- Add new instruction INS_DEPLOY_MODULE (0x06) to handle module deployment
- Create deployModule.c/.h files with handler implementation
- Add UI flow for displaying module version and transaction details
- Add new error code ERROR_INVALID_SOURCE_LENGTH
- Implement Python test client for deployModule instruction
- Add test case for module deployment flow
- Update handler.c to support new instruction

The implementation allows users to deploy modules by processing the version
and source data in chunks, with appropriate UI confirmation steps.
Comment on lines +22 to +25
// typedef struct {
// uint8_t version[32];
// uint8_t sourceLength[32];
// } deployModuleBlob_t;

Check notice

Code scanning / CodeQL

Commented-out code Note

This comment appears to contain commented-out code.
- Add @contextmanager decorator to deploy_module method
- Rename test_credential_deployment to test_deploy_module
- Update test to use deploy_module instead of credential_deployment
- Remove unused snapshot images

Aligns test naming and implementation with actual functionality being tested.
- Remove @contextmanager decorator from credential_deployment_part_1 method
- Fix test flow for credential deployment process

Removes incorrectly added context manager decorator that was not needed for
this specific credential deployment method.
@keiff3r keiff3r marked this pull request as ready for review December 11, 2024 09:06
@keiff3r keiff3r requested a review from a team December 11, 2024 09:06
@n4l5u0r n4l5u0r merged commit f3e8cf9 into main Dec 11, 2024
29 of 30 checks passed
@n4l5u0r n4l5u0r deleted the feat/LDG-535--nano-app-implement-deploy-method branch December 11, 2024 09:10
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.

2 participants