Skip to content

Add FXIOS-14901 [Summarizer] Add support for dynamic bundle identifiers#97

Merged
subpath merged 3 commits intomainfrom
feat/add-support-for-dynamic-bundle-id
Feb 16, 2026
Merged

Add FXIOS-14901 [Summarizer] Add support for dynamic bundle identifiers#97
subpath merged 3 commits intomainfrom
feat/add-support-for-dynamic-bundle-id

Conversation

@issammani
Copy link
Collaborator

📜 Tickets

Jira ticket
Github issue

💡 Description

This PR:

  • Adds support for dynamic bundle identifier since we have three flavours of our app Fennec, FirefoxBeta and Firefox.
  • Adds tests.

Right now, we hardcode the bundle identifier via an env that defauts to org.mozilla.ios.Fennec. This means verification will pass on local builds but not on production builds.

challenge: bytes,
attestation_obj: bytes,
use_qa_certificates: bool,
bundle_id: str,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks a lot for PR and for reopening it internally ❤️

As soon as we merge it the requests without bundle_id will start failing. Is it fine on your side? Should me maintain backward compatibility and have a fallback?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes this fine to make it required. We haven't shipped any code yet that is running on user devices that makes requests to MLPA.

key_id_b64: str
challenge_b64: str
attestation_obj_b64: str
bundle_id: str
Copy link
Collaborator

Choose a reason for hiding this comment

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

Question:
Do we have some superset of these bundle_ids or they are can have some unlimited variations?

Because I was thinking if there are 2-3 possible values we could add some validation.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We have the standard ones org.mozilla.ios.Fennec, org.mozilla.ios.FirefoxBeta, org.mozilla.ios.Firefox. But we have some non used ones and we can always have new ones. I am fine of adding these for now as a start and if we ever have new ones we can deploy again.

@@ -0,0 +1,44 @@
import base64
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nitpick:

This could be a file under src/tests/integration/appattest_helpers.py 🙌

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes makes sense. Done in d20a37c

Copy link
Collaborator

@subpath subpath left a comment

Choose a reason for hiding this comment

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

I've realized that we are having outdated swagger documentations, I will update it in the following PRs, so we could see the required fields here: https://firefox-ai.github.io/MLPA/#tag/App-Attest/operation/attest_verify_attest_post

Thanks again : )

@subpath subpath merged commit 2cfbd1c into main Feb 16, 2026
1 check passed
@subpath subpath deleted the feat/add-support-for-dynamic-bundle-id branch February 16, 2026 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.

2 participants

Comments