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

Reset App Attest key state if attestKey fails #41

Merged
merged 2 commits into from Nov 3, 2023

Conversation

andrewheard
Copy link
Collaborator

Resets the stored key ID if attestKey:clientDataHash:completionHandler: fails due to DCErrorInvalidKey. This should resolve App Check / App Attest failures after app reinstallation, device migration, or restoration of a device from a backup (see docs).

This is a port of firebase/firebase-ios-sdk#11986 to this repo.

@andrewheard andrewheard marked this pull request as ready for review November 2, 2023 19:16
@andrewheard andrewheard merged commit 5746b2d into main Nov 3, 2023
16 checks passed
@andrewheard andrewheard deleted the ah/appattest-invalidkey branch November 3, 2023 14: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.

None yet

2 participants