microsoft / VerifiableCredentials-Verification-SDK-Typescript

An SDK to help Relying Parties manages their Decentralized Identities and Verifiable Credentials.
MIT License
53 stars 14 forks source link

IdToken Validation #129

Closed mauesrog closed 3 years ago

mauesrog commented 3 years ago

Problem: IdToken impersonation is possible due to no enforcement being performed on input IdToken attestations configuration endpoints.

Solution: Make sure the object key in the input attestation for an IdToken matches the expected configuration endpoint in the rules. Additionally, perf improvements due to no longer having to cycle through all IdTokens.

Validation: Unit tests.

Type of change:

Risk: