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

Temporarily fix Android Keystore attestation tests #244

Merged
merged 1 commit into from
Feb 2, 2025

Conversation

MasterKale
Copy link
Collaborator

A cert expires February 2nd (today-ish) in the Android Keystore attestation test. This PR fixes that by mocking the cert chain validation, similar to how it's been handled in the SafetyNet tests for the same reason.

I'm crunched for time so I'm going this route because I couldn't quickly get this solved with freezegun or time-machine.

Fixes #243.

@MasterKale MasterKale merged commit 5712a0c into master Feb 2, 2025
5 checks passed
@MasterKale MasterKale deleted the fix/243-expiring-safety-net-test branch February 2, 2025 05:28
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.

test_verify_attestation_android_key_hardware_authority fails after 2025-02-02
1 participant