Currently the unit tests for Apple attestation verification rely on real attestations from the staging app. This is quite fragile and more now because the certificates for the attestations last only for a couple of days (previously it was at least a few months).
Instead of relying on this, we should introduce a helper that generates mock attestation/assertions using a random root CA. This way unit tests can continue to verify all the expected logic.
Currently the unit tests for Apple attestation verification rely on real attestations from the staging app. This is quite fragile and more now because the certificates for the attestations last only for a couple of days (previously it was at least a few months).
Instead of relying on this, we should introduce a helper that generates mock attestation/assertions using a random root CA. This way unit tests can continue to verify all the expected logic.