fix(jans-fido2): implement processAaidEntry to store AAID-keyed TOC e… by imran-ishaq · Pull Request #13993 · JanssenProject/jans (original) (raw)

Description

Implements processAaidEntry in TocService to store FIDO UAF authenticator metadata entries (identified by aaid) into tocEntries during MDS TOC parsing. Previously the aaid branch was a no-op TODO debug log, meaning all UAF authenticator entries were silently dropped at startup. The new method mirrors processAaguidEntry — it runs status verification, checks for metadataStatement, and inserts the entry keyed by AAID — making tocEntries consistent across all three identifier types (aaguid, aaid, attestationCertificateKeyIdentifiers).

Target issue

FIDO UAF authenticator entries in the MDS TOC blob carry an aaid field instead of aaguid. The processMetadataEntries method in TocService parsed all three identifier types but only stored entries for aaguid and attestationCertificateKeyIdentifiers. The aaid branch had a TODO comment and did nothing, causing all UAF authenticator metadata to be silently dropped and never available for future lookup. This is step 1 of full AAID support — storing the entries; a follow-up will wire up the downstream lookup path in MdsService and the relevant attestation processors.

closes #issue-number-here

Implementation Details


Test and Document the changes

Please check the below before submitting your PR. The PR will not be merged if there are no commits that start with docs: to indicate documentation changes or if the below checklist is not selected.

Closes #13994,

Summary by CodeRabbit