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

Basic envelope api #74

Conversation

robertstypa
Copy link
Collaborator

API to allow reading basic envelope/manifest data without need to parse envelope using SuitEnvelopeTagged class.

Example usage:

from suit_generator import envelope
envelope = SuitEnvelope()
envelope.load('input.suit')
print(envelope.sequence_number)
print(envelope.manifest_version)
print(envelope.digest)
print(envelope.manifest_component_id)

This should simplify implementation - please refer here

Signed-off-by: Robert Stypa [email protected]

@robertstypa robertstypa marked this pull request as ready for review December 18, 2023 12:50
@robertstypa robertstypa requested a review from tomchy as a code owner December 18, 2023 12:50
@NordicBuilder
Copy link
Collaborator

pytest coverage results

Detailed report:

Type Coverage
lines 95.4% (1647 of 1727 lines)
functions no data found
branches no data found

Note: This message is automatically posted and updated by the CI (HCS/test-sdk-dfu/master/582)

@robertstypa robertstypa merged commit 17c21f3 into nrfconnect:main Dec 19, 2023
1 check passed
@robertstypa robertstypa deleted the feature/NCSDK-24671_api_for_common_manifest_data branch February 8, 2024 12: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.

5 participants