Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

Handle unrecognized fields #392

@cthulhu-rider

Description

@cthulhu-rider

Unrecognized fields can be detected during unmarshaling of binary protobuf messages. These fields can carry sensitive data, so it seems that software should process them in a special way, such as denial of service or redirection to other parties.

Since almost all messages are signed/verified, unrecognized fields force verification failure even in case of correct signing. In this scenario sender will receive INCORRECT_SIGNATURE response status which is definitely unexpected.

I propose to think about possible reactions of applications on unrecognized fields and provide some functionality to catch/process them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I1High impactS1Highly significantU4Nothing urgentdiscussionOpen discussion of some problem

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions