Skip to content

Introduce apple unit tests with a dynamic root cert #128

@paolodamico

Description

@paolodamico

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions