-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make device attestation data parser future proof (#11946)
* Make device attestation data parser future proof DeviceAttestationDeconstructor was too stringent in expecting no unknown tags at all, preventing future tags from breaking backward compatibility when they are benign if ignored. - Fix DeviceAttestationDeconstructor to skip unexpected tags - Simplify logic for ensuring in-order tags - Fix a corner case of the vendor-specific data iterator not caught before - Clean-up extraction of profileNum in CHIP tags Fixes #11247 * Restyled by clang-format * Update src/lib/core/CHIPTLVTags.h * Update src/credentials/DeviceAttestationVendorReserved.h Co-authored-by: Boris Zbarsky <[email protected]> * Add mandatory existence of timestamp Co-authored-by: Restyled.io <[email protected]> Co-authored-by: Boris Zbarsky <[email protected]>
- Loading branch information
Showing
4 changed files
with
134 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters