Skip to content

Implement Play Integrity token exchange. #3613

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

Merged
merged 3 commits into from
Apr 4, 2022
Merged

Conversation

rosalyntan
Copy link
Member

@rosalyntan rosalyntan commented Apr 1, 2022

Add Play Integrity token exchange logic.

This implements half of the Play Integrity App Check flow -- logic to obtain the challenge nonce and the Play Integrity attestation will be added in a follow-up PR.

@rosalyntan rosalyntan marked this pull request as ready for review April 2, 2022 00:33
@rosalyntan rosalyntan changed the title Implement Play Integrity exchange. Implement Play Integrity token exchange. Apr 2, 2022
@rosalyntan rosalyntan merged commit 295c8f5 into play-integrity Apr 4, 2022
@rosalyntan rosalyntan deleted the rosalyntan.pia branch April 4, 2022 18:42
rosalyntan added a commit that referenced this pull request Apr 19, 2022
* Initial App Check <> Play Integrity commit (#3607)

* Initial commit of App Check Play Integrity files.

* Added skeleton code for PlayIntegrityAppCheckProviderFactory and PlayIntegrityAppCheckProvider.

* Set version in gradle.properties to 16.0.0-beta01 for now.

* Updated wrong gradle.properties file in last commit.

* Implement Play Integrity token exchange. (#3613)

* Implement Play Integrity exchange.

* Update and add unit tests.

* Add @nonnull annotation.

* Implement Play Integrity attestation flow. (#3618)

* Add method to call the `GeneratePlayIntegrityChallenge` endpoint to `NetworkClient`.

* Implement Play Integrity attestation flow.

* Add project number to IntegrityTokenRequest.

* Fix `PlayIntegrityAppCheckProviderTest`s.

* Add unit tests.

* Address review comments.

* Update test app. (#3655)

* Update version in `gradle.properties`.

* Fix tests broken after merge.

* Address review comments.

* Address review comment.
@firebase firebase locked and limited conversation to collaborators May 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants