Skip to content

Add support for unrecognized_fields inside Metadata #1852

@MVrachev

Description

@MVrachev

Description of issue or feature request:

The Document formats section of the specification says the following:

All of the formats described below include the ability to add more attribute-value fields
to objects for backward-compatible format changes.
Implementers who encounter undefined attribute-value pairs in the format must include
the data when calculating hashes or verifying signatures and
must preserve the data when re-serializing.

I initially thought it's applicable only to the SIGNED fields as undefined attribute-value pairs in the format must include the data when calculating hashes or verifying signatures.
This doesn't mean that the sentence before that excludes Metadata as a possible place for additional fields.
The other maintainers agreed with me and we are going to add support for unrecognized_fields inside Metadata.

For context read:

Metadata

Metadata

Assignees

Labels

1.0.0 blockersTo be addressed before 1.0.0 release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions